鼠标悬停时显示tootlip [英] Display tootlip when mouse over
本文介绍了鼠标悬停时显示tootlip的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,我有一个程序(桌面应用程序),当我用鼠标放在当前位置的图像上时显示工具提示。现在它适用于mouseClick,mouseDown和MouseHover,但我需要mouseOver,任何人都可以建议我怎么做?很多。
Hallo, I have a program (desktop application), which display tooltip when I over with mouse on image with current position. Now it works on mouseClick, mouseDown and MouseHover but I need mouseOver, can anyone advice me how to do it? Ty a lot.
private void Form1_MouseDown(object sender, MouseEventArgs e)
{
if (e.X >= 89 && e.X <= 139 && e.Y >= 54 && e.Y <= 122)
{
tootltip.SetToolTip(this, "image");
}
}
推荐答案
点击这个链接直到最后一条评论可能会得到一个回答看最后评论也
http://stackoverflow.com/questions/873175/displaying-tooltip-on-mouse-hover-of-a-text [^]
follow this link till last comment may be you will get an answer see last comment also
http://stackoverflow.com/questions/873175/displaying-tooltip-on-mouse-hover-of-a-text[^]
参考文章:工具提示带图像C#
这篇关于鼠标悬停时显示tootlip的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文