如果代码正确,为什么我在OK按钮上有这些错误? [关闭]

问题描述 投票:-4回答:1

我已经准备好测试对话框,但是我有照片中的错误。为什么?

The Error

c++ visual-studio mfc
1个回答
0
投票

也许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.
© www.soinside.com 2019 - 2024. All rights reserved.