I am trying to maintain a state System::Windows::Forms::Formwhen my application shuts down. I can record the state of the window, the position and state of the window without any problems, but if the window was maximized when it was closed, the member ::Sizerecords the maximum size of the window.
Is there a way to record a non-maximized size, or do I need to intercept the on-maximize event and record it manually?
source
share