Share via


_IMSVidCtlEvents::MouseMove Method

This topic applies to Windows XP or later.
The MouseMove method is called when the user moves the mouse pointer over the Video Control.

Syntax

void MouseMove(
    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 the Remarks for the KeyUp event.

  • 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.

The dispatch identifier (dispid) of this method is DISPID_MOUSEMOVE.

Requirements

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

_IMSVidCtlEvents Interface
_IMSVidCtlEvents::MouseDown

Send comments about this topic to Microsoft

Build date: 12/4/2008