Microsoft DirectX 8.1 (C++)

_IMSVidCtlEvents Interface

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The _IMSVidCtlEvents interface is an outgoing connection-point interface used by the Video Control. To receive events from the Video Control, implement this interface in your application. Then call the IConnectionPoint::Advise method to establish a connection.

_IMSVidCtlEvents is a dispinterface, invoked through IDispatch. It supports the following methods.

Method Description
Click Called when a user clicks anywhere on the Video Control�s rectangle.
DblClick Called when a user double-clicks on the Video Control�s rectangle.
Error Called when an error occurs in the control or the underlying filter graph. Currently no errors are defined for this event.
KeyDown Called when the user presses a key.
KeyPress Called when the user presses and releases a key.
KeyUp Called when the user releases a key.
MouseDown Called when the user presses the left mouse key down while the mouse pointer is over the Video Control.
MouseMove Called when the user moves the mouse pointer over the Video Control.
MouseUp Called when the user releases the left mouse button while the mouse pointer is over the Video Control.
StateChange Called when the state of the Video Control changes.