Article View: borland.public.cppbuilder.nativeapi
Article #2167Re: Foreground another application
From: Bob Gonder
Date: Wed, 18 Apr 2007 21:51
Date: Wed, 18 Apr 2007 21:51
16 lines
1684 bytes
1684 bytes
Andreas Osswald wrote: >Is doesn't work! > >the function IsIconic returns always zero whether the application is >minimized or not. > >After I use the ShowWindow function I can't re minimize the application. I just rechecked my console app that uses that code. I use EnumWindows(EnumProc,0); to get a list of hwnds that the user can select. I then run that handle through the code I gave, and even restored minimized windows can be minimized again. If that code isn't working for you then either the hwnds aren't the proper ones, or VCL is otherwise screwing with you.
Technical Details
Message-ID:
<e54d23pmm418olec34u991an9h4k4adoop@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.albasani.net!feeder06.uucp-net.de!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mailReferences:
<4625ec79$1@newsgroups.borland.com> <sm8c235a13e21geu4lp54r7rorcgee163e@4ax.com> <4626496a@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,25ea57fd64e945c2 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Foreground another application Date: Wed, 18 Apr 2007 14:51:56 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <e54d23pmm418olec34u991an9h4k4adoop@4ax.com> References: <4625ec79$1@newsgroups.borland.com> <sm8c235a13e21geu4lp54r7rorcgee163e@4ax.com> <4626496a@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 69.69.80.210 X-Trace: newsgroups.borland.com 1176933113 69.69.80.210 (18 Apr 2007 14:51:53 -0800) Lines: 18 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.albasani.net!feeder06.uucp-net.de!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail