Maximizing the Frame Window
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I managed to maximize it in the CApp InitInstance() by passing SW_SHOWMAXIMIZED instead of SW_SHOW BUT... the window is shown normal first for a second then go maximixed. I want it to be shown maximized from the very begining. So... in the PreCreateWindow() of the frame window I add the following line cs.style |= WS_MAXIMIZE; but didn't work.. the question is why didn't it work and how to make it work?