Where to call RestoreDesktop?
- From: "Tom de Neef" <tdeneef@xxxxxxxx>
- Date: Tue, 29 Nov 2005 10:19:29 +0100
I want to save the state of the application's desktop to the registry on
exit and reload on startup.
In mainForm.Onclose I cycle through the application's forms and store size,
location and visibility.
But where should I put the reverse procedure?
It must be executed at a time when all forms are created, just before they
are displayed.
That could be in each form's loaded method, but isn't there an event that
signals that the application is ready to go 'live'.
Tom
.
- Follow-Ups:
- Re: Where to call RestoreDesktop?
- From: J French
- Re: Where to call RestoreDesktop?
- From: Maarten Wiltink
- Re: Where to call RestoreDesktop?
- Prev by Date: Re: Help - What is this code used for ?
- Next by Date: Re: Where to call RestoreDesktop?
- Previous by thread: Help - What is this code used for ?
- Next by thread: Re: Where to call RestoreDesktop?
- Index(es):
Relevant Pages
|
|