Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

To receive mouse movement and mouse click events, set the SendMouseMoveEventsand SendMouseClickEventsproperties to true.

Mouse events include the following:

  • MouseDown. Occurs when the user presses the mouse button.

  • MouseUp. Occurs when the user releases the mouse button.

  • MouseMove. Occurs when the user moves the mouse pointer.

  • Click. Occurs when the user clicks the mouse button while the pointer is over the Windows Media Player control.

  • DblClick. Occurs when the user double-clicks the mouse button while the pointer is over the Windows Media Player control.

To receive keyboard events, set the SendKeyboardEventsproperty to true.

Keyboard events include the following:

  • KeyDown. Occurs when the user presses a key.

  • KeyUp. Occurs when the user releases a key.

  • KeyPress. Occurs when the user presses and releases a key.

See Also