WinForms PictureBox with tooltips?

  • Thread starter Thread starter Jon
  • Start date Start date
J

Jon

Hello all,

I have a little c# app that draws rectangle onto an image loaded into
a PictureBox, this all works fine. However, I'd like to make it such
that a tooltip will appear when I hover over one of the newly drawn
rectangles. Any suggestions on how I could do this?

Regards.
 
I think you are going to have to pretty much do it manually... i.e. keep
track of your rectangle coordinates, then during the MouseHover event of the
control, when the x/y coordinates are within one of your rectangles, shot the
tooltip.

David

======================================
David McCarter [Microsoft MVP]
www.dotNetTips.com
David McCarter''''s .NET Coding Standards available at:
http://codingstandards.notlong.com
 
Back
Top