MFC中去掉CMainFrame蓝色边框的一种方法

  void   CMainFrame::OnNcCalcSize(BOOL   bCalcValidRects,   NCCALCSIZE_PARAMS   FAR*   lpncsp)     
  {   
    
    
  void   CMainFrame::OnNcCalcSize(BOOL   bCalcValidRects,   NCCALCSIZE_PARAMS   FAR*   lpncsp)     
  {   
    
  CFrameWnd::OnNcCalcSize(bCalcValidRects,   lpncsp);   
  lpncsp->rgrc[0].bottom+=4;   
  lpncsp->rgrc[0].left-=4;   
  lpncsp->rgrc[0].right+=4;   
    
  }   

转帖: http://hackdiy.com/I-20381266.html

你可能感兴趣的:(MFC中去掉CMainFrame蓝色边框的一种方法)