The WM_SHOWWINDOW message is not sent under the following circumstances: * When a top-level, overlapped window is created with the WS_MAXIMIZE or WS_MINIMIZE style. * When the SW_SHOWNORMAL flag is specified in the call to the ShowWindow function.
CMainFrame::OnShowWindow
m_pMainWnd->ShowWindow(SW_SHOWMAXIMIZED);
WM_SIZE
CMainFrame::OnSize
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)