I'm putting together a rather complicated GUI. Basically, I want to respond to mouse move events if the left mouse button is depressed. Thus, I want to capture mouse down and mouse up.
What I'd lilke to do is capture the event when it happens on the menu, or any component in the menu. I have coded:
Private Sub cBoggleGUI_MouseDown(sender As Object, e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseDown
If e.Button = MouseButtons.Left Then
LeftMouseDown = True
This works for all mouse down events that cooure on the menu, but it does not handle any mouse downs the occure on components on the menu.
Is there a way to define an event that handles the menu, and all components? Or do I need to program a mouse down for all of the components. (yuc)