void CParentDialog::OnMove(int x, int y) { CDialogEx::OnMove(x, y); CRect rt; GetClientRect(&rt); ClientToScreen(&rt); if(::IsWindow (m_pModelles->m_hWnd )) { m_pModelles->SetWindowPos(NULL,rt.left+214,rt.bottom-220,(rt.right- 10)-(rt.left+214,222,SWP_SHOWWINDOW|SWP_NOOWNERZORDER|SWP_NOACTIVATE); } }
OnSize()
OnMove()
WM_SIZE
WM_MOVE
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)