CDialog::Create(lpszTemplateName, pParentWnd)
调用
CHJDlg::OnInitDialog()

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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-05
  • 2021-10-02
  • 2021-12-01
  • 2021-11-06
  • 2022-12-23
  • 2021-06-19
猜你喜欢
  • 2021-08-05
  • 2021-07-31
  • 2021-06-08
  • 2022-02-28
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案