Article View: borland.public.cppbuilder.nativeapi
Article #6171Re: How to bring a non VCL Window to the front
From: JD
Date: Tue, 07 Jun 2005 16:22
Date: Tue, 07 Jun 2005 16:22
13 lines
1297 bytes
1297 bytes
"JD" <nospam@nospam.com> wrote: > > > ::SetForegroundWindow( handle ); That assumes that the window is not minimized. If it is minimized, there is no way to know reliably if it is unless the window's exStyle has had the WS_APP_WINDOW applied to it. If you blindly restore the window (using SendMessage) and it's not minimized, you'll disable the biMinimize button. ~ JD
Technical Details
Message-ID:
<42a5c9a9$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42a5aa95@newsgroups.borland.com> <42a5c8a8$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,78e53b02905d25e1 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "JD" <nospam@nospam.com> Sender: "JD" <nospam@nospam.com> Reply-To: "JD" <nospam@nospam.com> Subject: Re: How to bring a non VCL Window to the front Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 64.12.116.131 X-Forwarded-For: 172.165.216.249 References: <42a5aa95@newsgroups.borland.com> <42a5c8a8$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <42a5c9a9$1@newsgroups.borland.com> Date: 7 Jun 2005 09:22:01 -0700 X-Trace: newsgroups.borland.com 1118161321 207.105.83.66 (7 Jun 2005 09:22:01 -0700) Lines: 14 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail