请教关于AfxMessageBox
AfxMessageBox("hello",MB_OK,0);的返回值是什么?
就是要写
if(AfxMessageBox("hello",MB_OK,0)==?)
OnOK();
中的问号怎么写?
msdn中值
Return Value
Zero if there is not enough memory to display the message box; otherwise one of the following values is returned:
- IDABORT The Abort button was selected.
- IDCANCEL The Cancel button was selected.
- IDIGNORE The Ignore button was selected.
- IDNO The No button was selected.
- IDOK The OK button was selected.
- IDRETRY The Retry button was selected.
- IDYES The Yes button was selected.
请高手指示该怎么写?