avisnet's blog

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  34 随笔 :: 0 文章 :: 7 评论 :: 0 引用

公告

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);
}

posted on 2006-10-09 14:34 avisnet 阅读(45) 评论(0) 编辑 收藏