Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: SendErrorEvents
*Next Topic: SendMouseClickEvents

SendKeyboardEvents Property

Sets or retrieves a value specifying whether the Microsoft® Windows Media™ Player control sends keyboard events.

Syntax

MediaPlayer.SendKeyboardEvents [ = bKeyboardEvents ]

Possible Values

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.

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

See Also

KeyDown, KeyPress, KeyUp, Capturing Keyboard and Mouse Events


Top of Page Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.