Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional 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.
Syntax
object_MouseDown(
Button As Integer,
Shift As Integer,
x As Single,
y As Single)
Parameters
Button
Specifies the mouse button that was pressed.
Shift
Specifies whether the shift key was pressed.
x
Specifies the x-position in pixels within the Video Control rectangle at the time the mouse button was pressed.
y
Specifies the y-position in pixels within the Video Control rectangle at the time the mouse button was pressed.
Remarks
See the KeyDown event for possible values for Shift. The following table lists the possible values for Button:
Value | Meaning |
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. |
See Also