//非模态对话框退出
void CInformation::PostNcDestroy()
{
delete this;
CDialog::PostNcDestroy();
}
void CInformation::OnCancel()
{
DestroyWindow();
}
或者直接调用DestroyWindow
void CInformation::PostNcDestroy()
{
delete this;
CDialog::PostNcDestroy();
}
void CInformation::OnCancel()
{
DestroyWindow();
}
或者直接调用DestroyWindow