🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages Started by Rusty Wed, 09 Apr 2003 02:49
Restoring an Application
#17094
Author: Rusty
Date: Wed, 09 Apr 2003 02:49
13 lines
1549 bytes
Greetings:

I was wondering if there was a graceful way to always restore an application
when you had a dialog open AND/OR a form in modal mode?  It's an MDI
application with other non MDI forms which have the fsStayOnTop FormStyle.
I've been using the NormalizeAllTopMosts( ) and RestoreTopMosts( ), but they
don't always seem to work in conjunction with dialogs or modal forms.  Also,
I get different restoring results if I open my modal form from the main menu
via a TAction as opposed to another form's button that's style is
fsStayOnTop.

All the Best,
Rusty
Re: Restoring an Application
#17112
Author: Rusty
Date: Wed, 09 Apr 2003 15:34
28 lines
1947 bytes
In case anyone is interested, if you update all of you MDI windows (in my
case, they are Direct3D windows) and then call Invalidate() and Update() on
your MainForm, it seems to restore stuff properly.

All the Best,
Rusty

"Rusty" <rustyr@redstorm.com> wrote in message
news:3e938a20$1@newsgroups.borland.com...
> Greetings:
>
> I was wondering if there was a graceful way to always restore an
application
> when you had a dialog open AND/OR a form in modal mode?  It's an MDI
> application with other non MDI forms which have the fsStayOnTop FormStyle.
> I've been using the NormalizeAllTopMosts( ) and RestoreTopMosts( ), but
they
> don't always seem to work in conjunction with dialogs or modal forms.
Also,
> I get different restoring results if I open my modal form from the main
menu
> via a TAction as opposed to another form's button that's style is
> fsStayOnTop.
>
> All the Best,
> Rusty
>
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads