Title is No Title

not very good here!

导航

how to delte minimize and max button in right upper!

BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{  
 cs.style &= ~(WS_MINIMIZEBOX|WS_MAXIMIZEBOX);
 //cs.style|=WS_MAXIMIZEBOX;
 if( !CFrameWnd::PreCreateWindow(cs) )
  return FALSE;
 // TODO: Modify the Window class or styles here by modifying
 //  the CREATESTRUCT cs
   
 return TRUE;
}

posted on 2004-03-29 16:52  abraham  阅读(538)  评论(1)    收藏  举报