【问题标题】:Why do I have these errors on the OK Button if the code is correct? [closed]如果代码正确,为什么我在 OK 按钮上会出现这些错误? [关闭]
【发布时间】:2023-03-16 23:12:01
【问题描述】:

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

The Error

【问题讨论】:

  • 请用文字替换所有图片见How to Ask
  • 名称为OnOK,大写字母“K”。投票结束是错字。

标签: c++ visual-studio mfc


【解决方案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.

【讨论】:

    猜你喜欢
    • 2020-11-26
    • 1970-01-01
    • 2011-11-29
    • 1970-01-01
    • 2019-09-17
    • 1970-01-01
    • 1970-01-01
    • 2018-02-23
    • 1970-01-01
    相关资源
    最近更新 更多