Partager via


Normal Tertiary Image Source

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The PlayPauseStop button function requires that you define the location of the normal image for the tertiary state of the button. This will be the image users see after they have pushed the PlayPauseStop button to begin streaming a live broadcast.

To define this image, you must enter the image type followed by a space and the @ symbol and another space. You must then enter two positive integers that define the top-left coordinates (in pixels) of the image you want to use inside the bitmap type you are drawing from.

For example, to define the normal image for a tertiary image source, if your image is inside the Pushed bitmap, type:

Pushed @ 286,0

Tertiary states cannot have a Disabled image. Tertiary images are assumed to be the same width and height as the primary and secondary images.

Buttons