如果代码正确,为啥我在 OK 按钮上会出现这些错误? [关闭]

Posted

技术标签:

【中文标题】如果代码正确,为啥我在 OK 按钮上会出现这些错误? [关闭]【英文标题】:Why do I have these errors on the OK Button if the code is correct? [closed]如果代码正确,为什么我在 OK 按钮上会出现这些错误? [关闭] 【发布时间】:2019-04-20 10:36:55 【问题描述】:

我已准备好测试对话框,但照片中出现错误。为什么?

The Error

【问题讨论】:

请用文字替换所有图片见How to Ask 名称为OnOK,大写字母“K”。投票结束是错字。 【参考方案1】:

也许是OnOK 而不是OnOk

CDialog::OnOK   Override to perform the OK button action in a modal dialog box. The default closes the dialog box and DoModal returns IDOK.

【讨论】:

以上是关于如果代码正确,为啥我在 OK 按钮上会出现这些错误? [关闭]的主要内容,如果未能解决你的问题,请参考以下文章