18,357
社区成员
发帖
与我相关
我的任务
分享void CMonitorView::OnSize(UINT nType, int cx, int cy)
{
CFormView::OnSize(nType, cx, cy);
// TODO: Add your message handler code here
m_iClientW = cx ; m_iClientH = cy ;
m_wndTree.MoveWindow(0,0,100,100);
m_1.MoveWindow(100,0,200,100);
}void CMonitorView::OnSize(UINT nType, int cx, int cy)
{
CFormView::OnSize(nType, cx, cy);
// TODO: Add your message handler code here
m_iClientW = cx ; m_iClientH = cy ;
if (!m_wndTree.GetSafeHwnd())//
{
return;
}
m_wndTree.MoveWindow(0,0,100,100);
m_1.MoveWindow(100,0,200,100);
}