|Microsoft DirectX 9.0|
This topic applies to Windows XP only.
The MouseDown event is called by the MSVidCtl object when the user presses the left mouse key down while the mouse pointer is over the Video Control.
object_MouseDown( Button As Integer, Shift As Integer, x As Single, y As Single)
Specifies the mouse button that was pressed.
Specifies whether the shift key was pressed.
Specifies the x-position in pixels within the Video Control rectangle at the time the mouse button was pressed.
Specifies the y-position in pixels within the Video Control rectangle at the time the mouse button was pressed.
See the KeyDown event for possible values for Shift. The following table lists the possible values for Button:
|1||The left button was pressed.|
|2||The right button was pressed.|
|4||The middle button was pressed.|
|8||The X button 1 was pressed.|
|10||The X button 2 was pressed.|