Windows Media Player SDK banner art
PreviousNext

Image Source for Disabled Trackbar

You must define the source of the image you want to display when a trackbar is disabled, using the bitmap type you want to draw the image from. The image you display will usually be inside the Super file. 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 and left coordinates (in pixels) of the image you want to use inside the bitmap type you are drawing from.

For example, to use an image from the Super bitmap that has a top and left position of 50,60 pixels, use:

Super @ 50,60

You must define an image location for a disabled trackbar image. If you do not want to display a new image, you can define the Background image as your Disabled image with an offset of 0,0 and you must still enter:

Super @ 50,60

where 50,60 is the location of the button you are working with in the Super file (in this case, the same location as the button on the Background bitmap). However, it is highly recommended that you display a Disabled image for all trackbars to give your user feedback, since trackbars will not be useable under certain conditions, such as Seek trackbars being disabled by an empty playlist. If they know a button is disabled, they won't keep trying to click on it or think your skin is broken!

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.