BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
if( !CFrameWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
//cs.style &= ~WS_MAXIMIZEBOX;
cs.style &= ~FWS_ADDTOTITLE; return TRUE;
}在这个函数里可以更改窗口的类型!try it
{
if( !CFrameWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
//cs.style &= ~WS_MAXIMIZEBOX;
cs.style &= ~FWS_ADDTOTITLE; return TRUE;
}在这个函数里可以更改窗口的类型!try it
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货