//取消菜单栏
this->SetMenu(NULL);
在CView中的OnCreate()中也去掉边框
//去掉边框风格及其他样式
long Style;
SetWindowLong(this->m_hWnd,GWL_EXSTYLE,0);
方法二:使用CWnd成员函数ModifyStyle实现
//
ModifyStyle(WS_CAPTION,
//
ModifyStyle(0,
以上代码,放置在CMainFrame的OnCreate函数的尾部即可~~
联系客服