🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #17112

Re: Restoring an Application

#17112
From: 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
>
>
Technical Details
Message-ID: <3e943d78$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3e938a20$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,c45efbd15f8e5f91
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-09 08:35:02 PST
Reply-To: "Rusty" <rustyr@redstorm.com>
From: "Rusty" <rustyr@redstorm.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3e938a20$1@newsgroups.borland.com>
Subject: Re: Restoring an Application
Date: Wed, 9 Apr 2003 11:34:17 -0400
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 208.221.166.2
Message-ID: <3e943d78$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1049902456 208.221.166.2 (9 Apr 2003 08:34:16 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail