突出显示控件的帮助 [英] Highlight help for controls

查看:64
本文介绍了突出显示控件的帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我正在Visual C ++中制作一个具有多个控件的GUI.我希望每当我将鼠标光标悬停在任何控件上(以了解控件的功能)时,都应突出显示一些帮助文本,以使其易于使用. br/> 有人可以帮忙吗?

Timkee

Hi I am making a GUI in Visual C++ in which there are multiple controls.I want some help text to be highlighted whenever I keep my mouse cursor on any control (to give an idea what the control does),to make it user friendly.
Can anyone help please?

Timkee

推荐答案

将工具提示项从工具箱中拖到窗体上.
每个控件将在Tooltip1属性上具有一个ToolTip.设置要显示的文本.

然后,您还可以根据需要动态更改代码中的工具提示消息.
Drag a Tooltip item from the toolbox onto the Form.

Each control will then have a ToolTip on Tooltip1 property. Set the text to display there.

You can also then dynamically change the tooltip message in code if you want.


这篇关于突出显示控件的帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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