Hi all!
When I create custom handlers like:
I need MoveMouse to fire before any other event when the user moves their mouse over Form1.Code:AddHandler Form1.MouseMove, AddressOf MoveMouse
While writing this, I realized I could create yet another custom event handler in Form1's class, but is there any other way to ensure that MoveMouse (regardless of what class it is in) happens before Form1_MouseMove?Code:Private Sub Form1_MouseMove(sender As Object, e As MouseEventArgs) Handles Me.MouseMove MsgBox("Needs to happen second.") End Sub Private Sub MoveMouse(sender As Object, e As MouseEventArgs) MsgBox("Needs to happen first.") End Sub
Thanks-
~Nic




Reply With Quote
