🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Restoring an Application

#17094
From: 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
Technical Details
Message-ID: <3e938a20$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!216.166.71.118.MISMATCH!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

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,c45efbd15f8e5f91,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-08 19:52:02 PST
Reply-To: "Rusty" <rustyr@redstorm.com>
From: "Rusty" <rustyr@redstorm.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Restoring an Application
Date: Tue, 8 Apr 2003 22:49:05 -0400
Lines: 15
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: <3e938a20$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1049856544 208.221.166.2 (8 Apr 2003 19:49:04 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!216.166.71.118.MISMATCH!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