初始化->窗体位置
BOOL CMyDlg::OnInitDialog()
{
CDialog::OnInitDialog();
SetWindowPos(NULL,850,10,0,0,SWP_NOSIZE); //窗体位置!
return TRUE;
}
初始化->窗体大小!
响应WM_SIZE~`
void CMyDlg::OnSize(UINT nType, int cx, int cy)
{
CDialog::OnSize(nType, cx, cy);
// TODO: Add your message handler code here
MoveWindow(0,0,38,38);//窗体大小
}