I have an SDI application, where the view class is derieved from CFormView. On startup, I maximize the window, but when I open a file (CWinApp::OnFileOpen), the window returns to the size specified in the resource file. I would like for the window to remain the same size as before the File Open (Maximized or not). Any ideas?
This code is in the InitInstance() function of the CWinApp derived class to maximize the window:
Thanks for your help!