Partager via


SendKeyboardEvents

This property specifies whether the Windows Media Player control sends keyboard events.

Compatibility: Windows Media Player

MediaPlayer.SendKeyboardEvents [ = bKeyboardEvents ]

Parameters

  • bKeyboardEvents
    Boolean value specifying whether keyboard events are enabled. If true, the Windows Media Player control sends keyboard events. This property is read/write with a default value of 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

OS Versions: Windows CE 3.0 and later.

See Also

Windows Media Player Properties | Compatibility Modes | Capturing Keyboard and Mouse Events | KeyDown | KeyPress | KeyUp

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.