Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: ChannelURL
*Next Topic: ClientID

ClickToPlay Property

Sets or retrieves a value specifying whether the user can toggle playback by clicking the video image.

Syntax

MediaPlayer.ClickToPlay [ = bClick ]

Possible Values

bClick Boolean value specifying whether the user can toggle playback by clicking the video image. If true, playback toggling is enabled.
This property is read/write with a default value of true.

Remarks

If the value of this property is true, clicking anywhere in the image display window toggles playback. (When a clip is playing, clicking the image pauses playback. When a clip is paused, clicking the image starts playback again.)

See Also

Capturing Keyboard and Mouse Events


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