在运行期间选择按钮 [英] Selection for Push button during runtime

查看:70
本文介绍了在运行期间选择按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有3个按钮.在运行时,根据某些条件,我必须在3个按钮中为每个按钮进行选择.

我尝试了setfocus()(例如m_btnDone.setfocus())函数,但没有帮助我.


请帮我解决这个问题.

Hi, I have 3 push buttons. During runtime, based on some condition, I have to make the selection for each button among 3 buttons.

I tried with setfocus() (say m_btnDone.setfocus()) function but it didn''t help me.


Pls help me with this.

推荐答案

如果您的按钮位于对话框中(如我想的那样),请阅读以下文章:
如何在对话框中设置焦点" [ ^ ].
:-)
If your buttons are (as I suppose) inside a dialog then please read the following article:
"How to set focus in a dialog box"[^].
:-)


这篇关于在运行期间选择按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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