Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: DVD
*Next Topic: Enabled

EnableContextMenu Property

Sets or retrieves a value specifying whether the context menu appears when the user clicks the right mouse button.

Syntax

MediaPlayer.EnableContextMenu [ = bContextMenu ]

Possible Values

bContextMenu Boolean value specifying whether the context menu is enabled. If true, the context menu is enabled.
This property is read/write with a default value of true.

Remarks

If the value of this property is true, right-clicking the mouse anywhere on the Microsoft® Windows Media™ Player control opens the context (shortcut) menu.

The context menu contains options usually available to the user as buttons (Play/Pause, Stop, Properties, and so on). If any of these buttons are disabled, the function associated with that button is also disabled on the context menu.

See Also

Customizing the User Interface, Capturing Keyboard and Mouse Events


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