Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 12 total
Thread DBSys
Sun, May 14 2006 1:48 PMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

I've been setting some filters recently which take a bit of time to run, so in the meantime I alt-tab to something else. When I toggle back, even if the filter has run, the Set A Filter form is still there, and clicking on any button on the form has no effect.


Roy Lambert
Mon, May 15 2006 5:11 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< I've been setting some filters recently which take a bit of time to run,
so in the meantime I alt-tab to something else. When I toggle back, even if
the filter has run, the Set A Filter form is still there, and clicking on
any button on the form has no effect. >>

I know, I've had it happen to me before also, and I'm not sure what causes
it yet.

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, May 15 2006 9:32 PMPermanent Link

Sanford Aranoff


Roy Lambert wrote:

> I've been setting some filters recently which take a bit of time to run, so in the meantime I alt-tab to something else. When I toggle back, even if the filter has run, the Set A Filter form is still there, and clicking on any button on the form has no effect.
>
> Roy Lambert

This may be due to the Z order bug which Microsoft introduced in XP. Open a form. Do something that takes time, with a small window over the main form. Alt tab to another app. Alt tab back. You will not be at the smal window, but the form. Alt Tab again to get to
where you were.

I.e., the bug is that you may have to hit AltTab twice in order to get back to where you were.

I hate this bug, and have written a lot of code to work around it, with some partial success.

Mon, May 15 2006 10:38 PMPermanent Link

"Surjanto"
Tim,

I guest this is what you want, haven't got time to tried it yet

procedure DisableProcessWindowsGhosting;
var  DisableProcessWindowsGhostingProc: procedure;
begin
 DisableProcessWindowsGhostingProc :=
GetProcAddress(GetModuleHandle('user32.dll'),
'DisableProcessWindowsGhosting');
 if Assigned(DisableProcessWindowsGhostingProc) then
   DisableProcessWindowsGhostingProc;
end;

Regards,


Surjanto

Mon, May 15 2006 11:55 PMPermanent Link

Jeff Cook
"Surjanto" <surjanto_kNOSPAM@yahoo.com> wrote on Tue, 16 May 2006 09:36:10 +0700

Surjanto


That's the code that I use too and as far as I know it works.

What follows is the comment that came with the code.

Cheers

Jeff

(* This procedure supposedly stops XP from  doing this:-

http://qc.borland.com/wc/qcmain.aspx?d=3730

ShowModal does not always work as expected under Windows XP
===========================================================

I have seen many reports on the newsgroups of problems with modal forms and popup
boxes related to changes Microsoft made to the way in which modal forms work under
Windows XP.

The most common manifestation is user prompts and message boxes popping up under
the current form. Sometimes the z-order of multiple modal forms get mixed up and
an inactive form ends up above an active one.

I have not been able to determine steps that will reproduce all these anomalies
reliably, since many of them only occur when the user switches between applications
and they almost never occur when the program is run from within the IDE.

*)


--
Jeff Cook
Aspect Systems Ltd
Phone: +64-9-424 5388
Skype: jeffcooknz
www.aspect.co.nz



Tue, May 16 2006 4:18 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Jeff,

<< That's the code that I use too and as far as I know it works.

What follows is the comment that came with the code. >>

Thanks guys, I'll get this in the next build.

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, May 16 2006 9:39 PMPermanent Link

Sanford Aranoff


Jeff Cook wrote:

> "Surjanto" <surjanto_kNOSPAM@yahoo.com> wrote on Tue, 16 May 2006 09:36:10 +0700
>
> Surjanto
>
> That's the code that I use too and as far as I know it works.
>
> What follows is the comment that came with the code.
>
> Cheers
>
> Jeff
>
> (* This procedure supposedly stops XP from  doing this:-
>
> http://qc.borland.com/wc/qcmain.aspx?d=3730
>
> ShowModal does not always work as expected under Windows XP
> ===========================================================
>
> I have seen many reports on the newsgroups of problems with modal forms and popup
> boxes related to changes Microsoft made to the way in which modal forms work under
> Windows XP.
>
> The most common manifestation is user prompts and message boxes popping up under
> the current form. Sometimes the z-order of multiple modal forms get mixed up and
> an inactive form ends up above an active one.

This solution does not obviate the need to hit alt tab twice. It deals with "ghosting".

Wed, May 17 2006 4:09 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Sanford,

<< This solution does not obviate the need to hit alt tab twice. It deals
with "ghosting". >>

I thought that the ghosting was the base cause of the filter dialog "hiding"
behind the main form in rare cases.  Did I read that wrong ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, May 17 2006 4:33 PMPermanent Link

Jeff Cook
"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote on Wed, 17 May 2006 16:09:36 -0400

>Sanford,
>
><< This solution does not obviate the need to hit alt tab twice. It deals
>with "ghosting". >>
>
>I thought that the ghosting was the base cause of the filter dialog "hiding"
>behind the main form in rare cases. Did I read that wrong ?
>
>--
>Tim Young
>Elevate Software
>www.elevatesoft.com
>
>
Tim


If you read it wrong, so did I and presumably so did the author of the note and code that fixed the problem :-\   Very strange!

Jeff



--
Jeff Cook
Aspect Systems Ltd
Phone: +64-9-424 5388
Skype: jeffcooknz
www.aspect.co.nz



Thu, May 18 2006 4:41 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Jeff,

<< If you read it wrong, so did I and presumably so did the author of the
note and code that fixed the problem :-\ Very strange! >>

I feel like I'm heading up the "McLaughlin Group" on PBS:

Issue two: Windows ghosting !!!!!

What sayeth you ? Sanford !!!!!!

Smiley

--
Tim Young
Elevate Software
www.elevatesoft.com

Page 1 of 2Next Page »
Jump to Page:  1 2
Image