Retrieving the previous window size after a Form has been maximized
-
Does anyone know where a Form saves its previous window location and size when it is maximized? When the From is subsequently restored from its maximized state to its "normal" state, it must somehow retrieve these numbers, but how? I like to be able to retrieve this information so I can save it. Any clues would be appriciated.
-
Does anyone know where a Form saves its previous window location and size when it is maximized? When the From is subsequently restored from its maximized state to its "normal" state, it must somehow retrieve these numbers, but how? I like to be able to retrieve this information so I can save it. Any clues would be appriciated.
why dont u take the current size of the form before maximizing. u can do the same through wndproc and save it Els
-
why dont u take the current size of the form before maximizing. u can do the same through wndproc and save it Els
I want to store the application window position (including these "pre-maximized settings") ONLY when the application is shutting down so that I can show it the same way the next time the application is started. But you're right, I could store and update the information every time the window is resized or moved except when it is maximized. I was just wondering if the framework of System.Windows.Form does this somehow for me.