CDialog::Create(lpszTemplateName, pParentWnd)
调用
CHJDlg::OnInitDialog()
在Create的时候会调用CDialog::CheckAutoCenter()检查自动居中,
所以要想把对话框移动到你想要的地方(用MoveWindow()),需要
在Create之后调用。
CDialog::Create(lpszTemplateName, pParentWnd)
调用
CHJDlg::OnInitDialog()
在Create的时候会调用CDialog::CheckAutoCenter()检查自动居中,
所以要想把对话框移动到你想要的地方(用MoveWindow()),需要
在Create之后调用。