⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 subject_21185.htm

📁 一些关于vc的问答
💻 HTM
字号:
<p>
序号:21185 发表者:ubi 发表日期:2002-11-14 15:36:47
<br>主题:MessageBox()函数的返回值?
<br>内容:请问在调用MessageBox("你好", NULL, MB_YESNO)后点击“是”和“否”的返回值是多少?当MB_YESNO换成MB_OK,MB_OKCANCEL ,MB_ABORTRETRYIGNORE,MB_YESNOCANCEL ,MB_RETRYCANCEL等参数后的情况又如何?
<br><a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p>
<hr size=1>
<blockquote><p>
<font color=red>答案被接受</font><br>回复者:CDMA2000 回复日期:2002-11-14 15:44:06
<br>内容:是”和“否”的返回值是IDYES和IDNO!<BR><BR>the return value is one of the following menu-item values returned by the dialog box: <BR><BR>Value&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Meaning <BR>IDABORT&nbsp;&nbsp;&nbsp;&nbsp;Abort button was selected. <BR>IDCANCEL&nbsp;&nbsp; Cancel button was selected. <BR>IDIGNORE&nbsp;&nbsp; Ignore button was selected. <BR>IDNO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; No button was selected. <BR>IDOK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OK button was selected. <BR>IDRETRY&nbsp;&nbsp;&nbsp;&nbsp;Retry button was selected. <BR>IDYES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Yes button was selected. <BR>
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:linney 回复日期:2002-11-14 15:45:25
<br>内容:IDABORT Abort button was selected. <BR>IDCANCEL Cancel button was selected. <BR>IDCONTINUE Continue button was selected. <BR>IDIGNORE Ignore button was selected. <BR>IDNO No button was selected. <BR>IDOK OK button was selected. <BR>IDRETRY Retry button was selected. <BR>IDTRYAGAIN Try Again button was selected. <BR>IDYES Yes button was selected. <BR><BR>具体在msdn中查MessageBox的说明就很清楚了:)<BR>
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:ubi 回复日期:2002-11-14 15:58:37
<br>内容:本人没MSDN,那位共享或是告之哪里有下的,我离卖D版的地方比较远。
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:CDMA2000 回复日期:2002-11-14 16:07:59
<br>内容:那用在线的MSDN啊,在微软的网站上有
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:CDMA2000 回复日期:2002-11-14 16:09:12
<br>内容:http://msdn.microsoft.com/
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:累了倦了 回复日期:2002-11-15 14:44:13
<br>内容:#define IDOK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1<BR>#define IDCANCEL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2<BR>#define IDABORT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3<BR>#define IDRETRY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4<BR>#define IDIGNORE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5<BR>#define IDYES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6<BR>#define IDNO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7<BR>在winuser.h里面,自己看吧
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -