I'm having a minor problem with my program.  If the user has minimized
the main window, and for whatever reason the OS does an automatic
reboot, then when the ini file that is written with all of the forms
settings including the position and size, the top and left variables are
written at -32000.  When the user starts the program after the reboot,
the form is position off the desktop.

Prior to writing the form settings in the FormClosing Event, I test if
the form is minimized and if it is, restore the form to normal.  This
event is running as the procedure to write the settings file is begin
executed, but the form never get un-minimized.

Any idea how to make this happen?
-- 
Jeff <n...@n7yg.com>

-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to dotnetdevelopment@googlegroups.com
To unsubscribe from this group, send email to
dotnetdevelopment+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

Reply via email to