When I rewrote a client-server system, I came across this little pearl:



BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
//
// disable Windows-Style WS_MAXIMIZEBOX
//
unsigned...