BOOL MCD::DestroyWindow (){MessageBox(" "," ");setopen=false;CDialog::DestroyWindow ();
return false;
}代码如上,关闭对话框后没有消息框弹出。
看上去Destroy消息没有发送过来。你注册了Destroy消息没