void CMainFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext)
{
CRect rect;
GetClientRect(&rect);
CSize clientSize = rect.Size();
//然后每个View按比例大小xflag,yflag来分
m_window.CreateView(0,0,RUNTIME_CLASS(CSplitwndView),CSize(clientSize.cx*xflag,clientSize.cy * yflag),pContext); }
/*
CSplitwndView的OnSize(UINT nType, int cx, int cy)
ShowWindow(SW_HIDE);
SetWindowPos(this,0,0,cx,cy-18,SWP_NOZORDER|SWP_NOMOVE);
ShowWindow(SW_SHOW);
*/
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货