Re: Where to call RestoreDesktop?



"J French" <erewhon@xxxxxxxxxx> wrote in message
news:438c3948.439285487@xxxxxxxxxxxxxxxxxxxxxxx
> On Tue, 29 Nov 2005 10:19:29 +0100, "Tom de Neef" <tdeneef@xxxxxxxx>
> wrote:

>> I want to save the state of the application's desktop to the registry
>> on exit and reload on startup.
[...]
> Probably not a good idea, but you could look at doing something in the
> .DPR just before Application.Run

That's not the right place for this, but it _is_ a very good place for
parsing the command line. (Is that your old-fashioned ways showing,
Jerry? (-: )


> Personally I think I would use the Loaded method in each Form

Groetjes,
Maarten Wiltink


.



Relevant Pages

  • Where to call RestoreDesktop?
    ... exit and reload on startup. ... In mainForm.Onclose I cycle through the application's forms and store size, ...
    (comp.lang.pascal.delphi.misc)
  • Re: Starp up sequence
    ... >> RunServicesOnce ... >> User Profile Startup Folder ... >> the programs specified in the Computer Configuration setting just before ... >> AppInit_DLLs Registry value. ...
    (microsoft.public.windowsxp.customize)
  • NewestShareware.com Issue #89
    ... FileBoss for Windows ... Program Homepage/Download url ... In general users make a program execute at window startup by ... Adding programs to the Registry and WIN.INI file protects the program. ...
    (comp.software.shareware.announce)
  • reply
    ... >tried deleting it from the msconfig Startup tool system, ... neither the listed name or command line name ... First, ME comes with a registry backup application, try ... folder temporarily by using attrib.exe: ...
    (microsoft.public.security.virus)
  • Re: Serialize puzzle
    ... You suggest the registry. ... To reload the documents. ... GetWindowPlacement data as the information about the window. ... >> avoid UpdateData, this is actually not terribly hard (UpdateData often returns completely ...
    (microsoft.public.vc.mfc)