Link to home
Start Free TrialLog in
Avatar of gthomas
gthomas

asked on

Button Save Position

My question:
I'm talking about a button (e.g. btnSavePos : TButton) which should be implemented into a Delphi2.0-application in order to give a chance to the user to save the actual window-position of his application so that it would start next time at the same position and with the same window-size as it has at that very moment. How could I program this button?
I know that this is a combination with any of Windows95-properties but how could I use these in my Delphi-application?

ASKER CERTIFIED SOLUTION
Avatar of richweed
richweed

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gthomas
gthomas

ASKER

Please, Richard, tell me how to save top, left, width and height to the registry or to a configuration file.
TIA