Visual Basic... Mouse Query

Hello friends,
i was wondering that in VB can we find on which button the mouse is currently pointing to?
for example
if there r three buttons like b1,b2,b3... what i want to do is that when i just place/hover my mouse pointer over any button... will it generate any event so that i can display something on the label when the mouse is placed on the button....:huh:
 
just create an action for the event MouseHover of that button..

Code:
Private Sub Button1_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.MouseHover
        Label1.Text = "Hovering on Button1"
End Sub
 
u shouldn't have copy pasted it.. was just an indication of how to do it... ur form may be diff... so the code will be diff (diff elements).. just choose ur button as the element and the 'MouseHover' as the action in the form code window from the 2 dropdowns at the top.. that should create the subroutine for u...
 
Back
Top