天天看点

非模态对话框退出

//非模态对话框退出

void CInformation::PostNcDestroy()

{

 delete this;

 CDialog::PostNcDestroy();

}

void CInformation::OnCancel()

 DestroyWindow();

或者直接调用DestroyWindow

继续阅读