天天看點

非模态對話框退出

//非模态對話框退出

void CInformation::PostNcDestroy()

{

 delete this;

 CDialog::PostNcDestroy();

}

void CInformation::OnCancel()

 DestroyWindow();

或者直接調用DestroyWindow

繼續閱讀