Where to call RestoreDesktop?



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


.



Relevant Pages

  • Re: Where to call RestoreDesktop?
    ... >> I want to save the state of the application's desktop to the registry ... >> on exit and reload on startup. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Where to call RestoreDesktop?
    ... >exit and reload on startup. ... >In mainForm.Onclose I cycle through the application's forms and store size, ... Personally I think I would use the Loaded method in each Form ...
    (comp.lang.pascal.delphi.misc)
  • Re: Startup Form Option
    ... The problem with the sample database is that the option ... >goes into the startup settings and changes the form startup. ... > Exit Sub ...
    (microsoft.public.access.formscoding)
  • Re: init.d startup script does not exit
    ... I have a script that launches a program. ... However, if I exit the shell, it kills ... during startup, but it keeps on going during startup and never starts ...
    (Debian-User)
  • Re: I want my computer to work faster on XP
    ... There are a lot of startup utilities that allow the average user to disable those startup programs. ... Also if you wait till SP3, you can slipstream the SP into your CD (google slipstream) and the hard drive space you'll save could be huge. ... If you have to reload, I'd give it a few days and do SP3. ...
    (microsoft.public.windowsxp.general)