2009-12-29 ダイアログを閉じるとき、終了しますか?判定させる VC MFC OnClose()で if( IDOK == MessageBox("本当に終了しますか?","確認",MB_OKCANCEL) ){ CDialog::OnClose(); }