Article View: borland.public.cppbuilder.nativeapi
Article #1328Re: How to bring window (TForm) front
From: Vladimir Stefanovic
Date: Mon, 17 Sep 2007 19:51
Date: Mon, 17 Sep 2007 19:51
18 lines
1427 bytes
1427 bytes
> if ( IsIconic( hAppWnd ) )
> {
> ShowWindow( hAppWnd, SW_RESTORE );
> }
> SetForegroundWindow( hAppWnd );
I hope this works ;)
(saved in my archives anyway, and will test once in real
working software)
But I think that there was some reason why I moved
bring-to-front code to local app side.
--
Best Regards,
Vladimir Stefanovic
Technical Details
Message-ID:
<46eedad2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46eecb19@newsgroups.borland.com> <46eed78e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,67bd98c5f67e7407 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Vladimir Stefanovic" <antivari@sbb.co.yu> Newsgroups: borland.public.cppbuilder.nativeapi References: <46eecb19@newsgroups.borland.com> <46eed78e@newsgroups.borland.com> Subject: Re: How to bring window (TForm) front Date: Mon, 17 Sep 2007 21:51:46 +0200 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: 87.116.181.111 Message-ID: <46eedad2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1190058706 87.116.181.111 (17 Sep 2007 12:51:46 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail