Bagikan melalui


SeekThumb File

[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 SeekThumb file defines the image that indicates the playback location within the media item for a Seek trackbar. You can use one file and define it for use by both SeekThumb and VolumeThumb. Unlike the other art files, the thumb files are defined in the Trackbars section of the skin definition file.

The following image is a typical SeekThumb file.

seekthumb file

These two button files look the same but are slightly different sizes. The left image is the normal view that the user sees, and the right image is the Pushed image the user sees when they tap on the button.

Note

SeekThumb art files created for skins used in Windows Media Player 10 Mobile or later must have the following three images (from left to right): normal, pushed, and disabled.

 

You may want to make certain areas of the thumb images transparent. This will allow you to create thumb images in shapes other than rectangular. Any region of a thumb image that you fill with the color specified by the RGB value 255, 0, 255 will appear transparent in your skin.

Art Files