在CDialog中覆盖OnOK [英] Overriding OnOK in CDialog

查看:78
本文介绍了在CDialog中覆盖OnOK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当您拥有IDOK的按钮ID 时,文档会说CDialog :: OnOK会被覆盖。但是看看各种按钮的特性,我看不到id属性。最接近的是(姓名)。我是否必须将IDOK放入(名称)编辑框?

The docs say that CDialog::OnOK be overidden when you have a button id of IDOK. But looking at the properies of various buttons I cannot see a id property. The closest thing is (Name). Do I have to put IDOK in the (Name) edit box?

http://www.ransen .com Cad和图形软件

http://www.ransen.com Cad and Graphics software

推荐答案

ID 属性和 CDialog 是特定于C ++中的MFC项目。你在使用这种项目吗?

The ID property and CDialog are specific to MFC projects made in C++. Are you working with this kind of project?


这篇关于在CDialog中覆盖OnOK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆