Article View: borland.public.cppbuilder.nativeapi
Article #7213Re: Messages, fsStayOnTop and Exception Dialogs
From: Damon Chandler (TeamB)
Date: Thu, 03 Mar 2005 06:46
Date: Thu, 03 Mar 2005 06:46
24 lines
1731 bytes
1731 bytes
Hi Stephen,
Can you provide a bare-bones setup that reproduces this? I can't
seem to reproduce it unless another application has focus at the time
the exception dialog is shown (in which case looking for WA_INACTIVE is
counterintuitive to me).
Cheers,
--
Damon (TeamB)
C++Builder Developer's Journal
http://bcbjournal.org
Stephen Craig wrote:
> Hi
>
> I have forms that I want to stay on top so I have set their form style as
> fsStayOnTop. This works pretty well until an exception is raised. The
> exception message gets hidden behind the form.
> void __fastcall TCalcForm::WMActivate(TMessage &msg)
> {
> int actFlag = msg.WParamLo;
> if (actFlag == WA_INACTIVE) {
Technical Details
Message-ID:
<4226b2d6$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!npeer.de.kpn-eurorings.net!news.n-ix.net!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<42245eab$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b63441b3c04c0faf X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 03 Mar 2005 01:46:49 -0500 From: "Damon Chandler (TeamB)" <editor@_REMOVE_THIS_SPAM_GUARD_bcbjournal.org> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Messages, fsStayOnTop and Exception Dialogs References: <42245eab$1@newsgroups.borland.com> In-Reply-To: <42245eab$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.58.13.185 Message-ID: <4226b2d6$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1109832406 24.58.13.185 (2 Mar 2005 22:46:46 -0800) Lines: 24 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!npeer.de.kpn-eurorings.net!news.n-ix.net!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail