Partager via


SendKeyboardEvents

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This property specifies whether the Windows Media Player control sends keyboard events. This property is read/write.

Compatibility: Windows Media Player

Syntax

MediaPlayer.SendKeyboardEvents [ = bKeyboardEvents ]

Parameters

  • bKeyboardEvents
    Boolean value specifying whether keyboard events are enabled. If true, the Windows Media Player control sends keyboard events. The default value is false.

Remarks

The Windows Media Player control fires keyboard events only when the value of this property is true and the Windows Media Player control has focus.

Enable keyboard events only if you need to use them, because they incur a slight loss in performance.

Requirements

Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Windows Media Player Properties
KeyDown
KeyPress
KeyUp

Concepts

Compatibility Modes
Capturing Keyboard and Mouse Events