determine what control on form the mouse is over - like hitTestInf

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

What is the way to determine what control the mouse is over on a form? Like
if the mouse is over a button you could note this in the form's MouseMove
Event

'--pseudocode here
console.Writeline(mouse.HitestInfo.ToString)

Does a winform have anything like the Datagridview.HitTestInfo thing? How
can I tell in code what the mouse is passing over on a form?

Thanks,
Rich
 
Back
Top