Article View: borland.public.cppbuilder.nativeapi
Article #6168Re: How to bring a non VCL Window to the front
From: Steve Aletto
Date: Tue, 07 Jun 2005 14:28
Date: Tue, 07 Jun 2005 14:28
17 lines
1382 bytes
1382 bytes
>I am trying to bring a non VCL app window to the front of all >other windows > using the following code, however it doesn't seem to work. Any > ideas on how > this might be achieved ?? > > > HWND handle=FindWindow(NULL,"App Name"); > > ShowWindow(handle,SW_SHOW); BringWindowToTop could help. Alternatively, have a look at SetWindowPos. HTH, Steve.
Technical Details
Message-ID:
<42a5aebb$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42a5aa95@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 Reply-To: "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com> From: "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <42a5aa95@newsgroups.borland.com> Subject: Re: How to bring a non VCL Window to the front Date: Tue, 7 Jun 2005 16:28:34 +0200 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 81.208.124.114 Message-ID: <42a5aebb$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1118154427 81.208.124.114 (7 Jun 2005 07:27:07 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail