someTimeOnly
Technical User
I disabled maximizebox and thickframe in SDI app, to keep client area fixed all the time. But that "Double Click" on title bar somehow gets its way around and causes my window to be of smaller (restore) size. Plus afterward that "Double Click" even doesn't maximize it back.
I'm doing
BOOL CMainFrame:reCreateWindow(CREATESTRUCT& cs)
{
if( !CFrameWnd:reCreateWindow(cs) )
return FALSE;
cs.style &= ~WS_MAXIMIZEBOX;
cs.style &= ~WS_THICKFRAME;
...
}