Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This topic applies to Windows XP or later.
The MouseDown method is called when the user presses a mouse key down while the mouse pointer is over the Video Control.
Syntax
void MouseDown(
short Button,
short Shift,
OLE_XPOS_PIXELS x,
OLE_YPOS_PIXELS y
);
Parameters
Button
Specifies the mouse button. See Remarks.Shift
Specifies the shift state. For possible values, see _IMSVidCtlEvents::KeyUp.x
Specifies the x position.y
Specifies the y position.
Return value
This method does not return a value.
Remarks
The Button parameter may have one of the following values:
Value | Meaning |
---|---|
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.
Requirements
Header |
Msvidctl.h |
IDL |
Msvidctl.idl |
See also
Send comments about this topic to Microsoft
Build date: 10/27/2012