An SDI program, now I want to make the window size fixed, just like minesweeper
I guess it may be necessary to change the parameters of m_pMainWnd->ShowWindow(SW_SHOW), I don’t know if I am right or not
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT&cs)
{
if( !CFrameWnd::PreCreateWindow(cs))
return FALSE;
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
cs.style&=~WS_THICKFRAME;
return TRUE;
}