摘要:
转自:http://www.cnblogs.com/afarmer/archive/2012/03/31/2427328.html,节选。非模态对话框相对于模态对话框,其创建和销毁过程和模态对话框有一定的区别 。先看一下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 阅读全文