16,471
社区成员
发帖
与我相关
我的任务
分享
// MyDialog.cpp
void CMyDialog::OnSomeAction()
{
// Do something.
int nRet = 5; // Any value will do.
EndDialog(nRet); // This value is returned by DoModal.
// Do something.
return; // Dialog closed and DoModal returns only here.
}