Article View: borland.public.cppbuilder.nativeapi
Article #6408Re: SetForegroundWindow and modal dialogs
From: nicolasr
Date: Fri, 13 May 2005 21:35
Date: Fri, 13 May 2005 21:35
17 lines
1388 bytes
1388 bytes
thanks for the reply. I tried it with BringWindowToTop() and it works well with my modal dialog. But how about MessageBox'es? BringWindowToTop() expects a window handle but I don't know the handles of any MessageBox'es. Any further ideas? thanks, Nick >I use the BringWindowToTop function which work only on popup windows. > In your case, each popup window must have a parent window (the main window > of the application) > > Hope it helps >
Technical Details
Message-ID:
<42851da5@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4283df81@newsgroups.borland.com> <42849ddb@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ea02ac7bb1794a21 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net> Newsgroups: borland.public.cppbuilder.nativeapi References: <4283df81@newsgroups.borland.com> <42849ddb@newsgroups.borland.com> Subject: Re: SetForegroundWindow and modal dialogs Date: Fri, 13 May 2005 23:35:31 +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; Response NNTP-Posting-Host: 84.174.172.200 Message-ID: <42851da5@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1116020133 84.174.172.200 (13 May 2005 14:35:33 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail