|
-
Sep 5th, 2009, 08:04 PM
#1
fire mouse_enter event with mouse already down
hey all...
I need to fire an event when the mouse enters a panel with the mouse button already down. It seems the standard mouse enter, mouse move, etc events don't fire when the mouse is already down. With test code i'm using, all of the events fire when the mouse button is up, none fire when the mouse button is down.
any ideas?
edit...
here is my test code..
vb Code:
Public Class Form1
Private Sub Panel1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Panel1.MouseDown
Debug.Print("MouseDown")
End Sub
Private Sub Panel1_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles Panel1.MouseEnter
Debug.Print("MouseEnter")
End Sub
Private Sub Panel1_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles Panel1.MouseHover
Debug.Print("MouseHover")
End Sub
Private Sub Panel1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Panel1.MouseMove
Debug.Print("MouseMove")
End Sub
End Class
thanks
kevin
Last edited by kebo; Sep 5th, 2009 at 08:12 PM.
Process control doesn't give you good quality, it gives you consistent quality.
Good quality comes from consistently doing the right things.
Vague general questions have vague general answers. A $100 donation is required for me to help you if you PM me asking for help. Instructions for donating to one of our local charities will be provided.
______________________________ Last edited by kebo : Now. Reason: superfluous typo's
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|