想用AfxMessageBox通过不同按扭分别返回0,1,2三个值,不知道怎么做啊
解决方案 »
- 从4秒钟发送5GB数据所引发的对IOCP重叠操作的思索
- 关于指针的一个问题,疑惑
- 怎样使用GID API操作GPS
- LPCSTR 与 CString的关系与区别
- 使用串口的超级大难题,请各位高手赐教
- 我想知道局域网其他机器的信息,请各位大虾帮帮忙!
- 关于派生自CRichEditView类的程序的问题!
- 请教通过WM_CTLCOLOR设定Edit控件时的一个问题
- 数据包的分片与重组
- 请详细解释CalcWindowRect的作用
- 利用VC类通过HTTP协议从ASP网页中取得数据及把数据传到另一网页中
- messagebox("aaa","Erorr",ID_YESNO)中我想默认焦点为NO行不行呀???
int AfxMessageBox( LPCTSTR lpszText, UINT nType = MB_OK, UINT nIDHelp = 0 );int AFXAPI AfxMessageBox( UINT nIDPrompt, UINT nType = MB_OK, UINT nIDHelp = (UINT) -1 );Return ValueZero 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.
If a message box has a Cancel button, the IDCANCEL value will be returned if either the ESC key is pressed or the Cancel button is selected. If the message box has no Cancel button, pressing the ESC key has no effect.
那“IDABORT The Abort button was selected.”这个什么意思呢,难道返回的是“IDABORT”?
不明白
========
对,返回的就是IDABORT
IDCANCEL Cancel button was selected.
IDIGNORE Ignore button was selected.
IDNO No button was selected.
IDOK OK button was selected.
IDRETRY Retry button was selected.
IDYES Yes button was selected