如何在窗口中将鼠标悬停在控件上时显示控件的标签名称? [英] how to display the label name of the control when you hover the mouse over it in an window?

查看:93
本文介绍了如何在窗口中将鼠标悬停在控件上时显示控件的标签名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个Windows应用程序。

IDE:CODEBLOCKS

在代码块中没有鼠标悬停事件来捕获鼠标事件。请帮助我。

谢谢

解决方案

Quote:

在代码块中没有鼠标悬停事件

当然,但 Windows API 确实提供了这项功能。只需看一下文档 [< a href =http://msdn.microsoft.com/en-us/library/windows/desktop/ms645533(v=vs.85).aspx\"target =_ blanktitle =New Window> ^ ]。

I am Developing a windows application.
IDE: CODEBLOCKS
In codeblocks there is no "mouseover event" to capture the mouse event.please help me out.
Thank you

解决方案

Quote:

In codeblocks there is no "mouseover event"

Sure, but Windows API do provide the functionality. Just have a look at the documentation[^].


这篇关于如何在窗口中将鼠标悬停在控件上时显示控件的标签名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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