Article View: borland.public.cppbuilder.nativeapi
Article #6088Re: How to bring a non VCL Window to the front
From: David
Date: Wed, 08 Jun 2005 12:07
Date: Wed, 08 Jun 2005 12:07
28 lines
1657 bytes
1657 bytes
Yes this works along with ShowWindowAsync(Handle,SW_RESTORE) to restore the window if it has already been minimized. regards david "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com> wrote in message news:42a5aebb$1@newsgroups.borland.com... > >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:
<42a6df67$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<42a5aa95@newsgroups.borland.com> <42a5aebb$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: "David" <davids@unite.com.au> Newsgroups: borland.public.cppbuilder.nativeapi References: <42a5aa95@newsgroups.borland.com> <42a5aebb$1@newsgroups.borland.com> Subject: Re: How to bring a non VCL Window to the front Date: Wed, 8 Jun 2005 22:07:20 +1000 Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 211.26.206.233 Message-ID: <42a6df67$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1118232423 211.26.206.233 (8 Jun 2005 05:07:03 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail