如何通过键盘而不是鼠标点击控制VC6 gui中的按钮? [英] How can we control push button in VC6 gui by keyboard instead of mouse click?

查看:91
本文介绍了如何通过键盘而不是鼠标点击控制VC6 gui中的按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





是否有方法或代码允许我在VC6中控制我的对话框(GUI)而不是鼠标



我尝试了什么:



我还没有尝试过任何东西。

Hi

Is there a method or a code that allows me to control my dialog (GUI) in VC6 instead of mouse

What I have tried:

I have not tried anything yet.

推荐答案

它内置于操作系统中。你可以在控件和空格键之间选项卡,当它有焦点时会激活一个按钮。



你真的在使用VC6 AKA Visual Studio 1997吗?社区版免费提供VS 2017(即免费)。
It is built into the operating system. You can tab between the controls and the space bar will activate a button when it has the focus.

Are you really using VC6 AKA Visual Studio 1997? VS 2017 is available for no cost (ie., free) in the Community Edition.


您好,

将热键与按钮操作相关联。

祝你好运
Hi,
Associate an a Hot key to the button action.
Best regards


这篇关于如何通过键盘而不是鼠标点击控制VC6 gui中的按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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