|
-
June 4th, 1999, 07:59 AM
#1
Maximize in CFormView
When you create an SDI project using CFormView as the view class the following behavior occurs: Start the application; maximize the window with the maximize icon in the upper right corner of the frame; open a file. When you do this, the application window resizes to the original size but the resize icon still shows the 'double window' maximize icon. To get the window back to maximum, it is necessary to click that icon twice - once to unmaximize and then once to remaximize. This all happens without any modifications to the wizard generated project. If you modify the call to ShowWindow in the application's InitInstance to SW_SHOWMAXIMIZED, the same behavior occurs. BTW, this behavior does not occur using the normal CView in as SDI application. Please email any ideas/solutions to [email protected] Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|