|Microsoft DirectX 9.0|
This topic applies to Windows XP only.
The MouseDown method is called when the user presses a mouse key down while the mouse pointer is over the Video Control.
void MouseDown( short Button, short Shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y );
Specifies the mouse button. See Remarks.
Specifies the shift state. For possible values, see _IMSVidCtlEvents::KeyUp.
Specifies the x position.
Specifies the y position.
This method does not return a value.
The Button parameter may have one of the following values:
|0x1||The left button is pressed.|
|0x2||The right button is pressed.|
|0x4||The middle button is pressed.|
|0x8||The X button 1 was pressed.|
|0x10||The X button 2 was pressed.|
The dispatch identifier (dispid) of this method is DISPID_MOUSEDOWN.