Problem restoring Form size on launch.



Hi,

I'm saving the bounds of my Form in the Registry in my Form's closing event
and restoring the bounds when my app is launched. Everything works well
except the persisted Height increases by 20 each run of my app. No other
dimensions change. My Form has a main menu and a status bar and both are
part of the Form at design time (I had suspected the Height increase to come
from the Height of one of these controls). Any ideas?

Thanks,
Jack
.



Relevant Pages

  • Re: Mobile Service & Auto Start
    ... The RegRestoreFile API is only supported by the object store-based registry. ... have never needed to write an app like this and I just figured ... So I have an exe that I start 5 min after I push a button. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Ini File vs Registry
    ... How do you manage the settings? ... dollars in hacking the OS to introduce the concept of registry ... Hard to migrate app ... but increasingly desktop developers are fighting it out ...
    (microsoft.public.vc.mfc)
  • Re: VFP Updates?
    ... Account", which is what many users do, e.g. in company networks. ... WinXP limited accounts as well as Vista UAC is quite easy ... considerations for installing and running a VFP app in Vista. ... directory/folder IS), and you don't need to write to registry, I think ...
    (microsoft.public.fox.programmer.exchange)
  • Re: OT - Desktop Linux
    ... I want to delete the file, but let the app using it to continue ... But it keeps it in the main registry instead of creating a per user ... It's next to impossible to shift apps from disk to disk ... drives can be mounted at will at any mount point or even as a ...
    (alt.sports.basketball.nba.la-lakers)
  • Re: How to allow my some of users to access to windows registry
    ... Sorry I meant HKCU. ... customization of the user running the app will be read from the registry. ... Secondly as part of the installer you would set permissions on ...
    (microsoft.public.win2000.advanced_server)