Share via


Pushed Secondary 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.]

Depending on the button function, you may need to define the location of the pushed image for the secondary state of the button. This will be the image users see when they push a PlayPause function button the second time.

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 image type you are drawing from.

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

Pushed @ 248,0

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

Buttons