当鼠标悬停时,如何捕获鼠标事件以显示值 [英] How do I catch mouse events to display the value when the mouse over

查看:157
本文介绍了当鼠标悬停时,如何捕获鼠标事件以显示值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用MFC项目,我有一个对话框。在对话框中,我绘制图表以显示图像的直方图。现在我想在鼠标悬停在图表上时显示该值。



这里我的对话框看起来像

请帮助我!

解决方案

请参阅,例如,http://stoned.8m.com/Source/MFC/mousehover.html [ ^ ]。



- SA

I am using MFC project and I have a dialog . In the dialog I draw a chart to display the histogram of an image. Now I would like to display the value when my mouse is over the chart.

Here my dialog look like
Plese help me!

解决方案

Please see, for example, http://stoned.8m.com/Source/MFC/mousehover.html[^].

—SA


这篇关于当鼠标悬停时,如何捕获鼠标事件以显示值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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