FormView 外观

BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
 if (!CFrameWndBase::PreCreateWindow(cs))
  return FALSE;

 cs.dwExStyle &= ~WS_EX_CLIENTEDGE;

 return TRUE;
}

BOOL CMainView::PreCreateWindow(CREATESTRUCT& cs)
{
 cs.style &=  ~WS_BORDER;
 return CFormView::PreCreateWindow(cs);
}

你可能感兴趣的:(FormView 外观)