Reputation: 150
I have a picturebox that has a mousehover event to show a tooltip based on the status of a service. This seems to be working, but it kind of just pops up where the mouse is and sometimes under the mouse, in the middle of the picture, which doesn't look right. I was reading http://msdn.microsoft.com/en-us/library/windows/desktop/aa511495.aspx#infotipsgl and it suggested to have the tooltip moved off to the side. This would be great, but I can't figure out how to move it.
ToolTip on toolTip1 is blank and on the mouseHover event I have tried using
toolTip.SetToolTip(this.pictureBox1, "Message text.");
and
toolTip.Show("Message text.", pictureBox1);
Thanks
Upvotes: 1
Views: 9775