vc 模态和非模态对话框关闭过程.docVIP

  • 7
  • 0
  • 约 8页
  • 2017-05-09 发布于河南
  • 举报
vc 模态和非模态对话框关闭过程

vc 模态和非模态对话框关闭过程 vc 模态和非模态对话框关闭过程2009-09-16 11:52非模态对话框相对于模态对话框,他的创建和销毁过程和模态对话框有一定的区别 先看一下MSDN的原文: When you implement a modeless dialog box, always override the OnCancel member function and call DestroyWindow from within it. Don’t call the base class CDialog::OnCancel, because it calls EndDialog, which will make the dialog box invisible but will not destroy it. You should also override PostNcDestroy for modeless dialog boxes in order to delete this, since modeless dialog box

文档评论(0)

1亿VIP精品文档

相关文档