Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
This section lists the methods (also known as event handlers) that applications must implement to handle events from the video control and its associated objects. When an event occurs, the object calls the event handler in your application, if the handler is implemented. No event handler is required to be implemented, although some provide the only way to achieve desired functionality.
Event | Description |
Click | Called by the MSVidCtl object when a user clicks anywhere on the video rectangle. |
DblClick | Called by the MSVidCtl object when a user double-clicks on the video rectangle. |
Error | Called by the MSVidCtl object when an error occurs in the Video Control or in the underlying filter graph. Currently, no errors are defined for this event. |
KeyDown | Called by the MSVidCtl object when the user presses a key. |
KeyPress | Called by the MSVidCtl object when the user presses and releases a key. |
KeyUp | Called by the MSVidCtl object when the user releases a key. |
MouseDown | Called by the MSVidCtl object when the user presses the left mouse key down while the mouse pointer is over the Video Control. |
MouseMove | Called by the MSVidCtl object when the user moves the mouse pointer over the Video Control. |
MouseUp | Called by the MSVidCtl object when the user releases the left mouse button while the mouse pointer is over the Video Control. |
OverlayUnavailable | Called by the Video Mixing Renderer when the hardware overlay surface is unavailable. |
StateChange (MSVidCtl) | Called by the Video Control when the state of the control changes. |
StateChange (IMSVidDevice) | Called by a device object when the state of the device changes. |
TuneChanged | Called by the currently active tuner device when it cannot tune to the requested channel or frequency. |