Windows XP Media Center Edition SDK Using the Skin Definition File 

banner art
Previous Next

Using the Skin Definition File

The skin definition file (.wms file) in Party Mode.wmz controls the layout and subviews of the Party Mode skin. It contains most of the script functions called by the Party Mode buttons (also known as button definitions). Because many of these script functions are unique to Party Mode, it is recommended that you modify a copy of Party Mode.wmz the first time you create a custom skin, to ensure proper construction of your skin.

Button Definitions

This section describes the button definitions that call custom Party Mode functions.

The following button definition draws the cascading visualization selection menu at point 85, 65 (the upper-left corner of the skin) and specifies the selected visualization collection and visualization.

  

The following button definition maps the display of the marquee text to the button btnToggleMarq.

  

The following button definition is used by Party Mode to draw the Edit Marquee dialog box.

  

The following button definition is used by Party Mode to quit.

  

See Also

Previous Next

© 2005 Microsoft Corporation. All rights reserved.