Skip to content

SkinSchema Object

Description

A resource object to be used by the SetWindowTheme method for setting the theme/skin of individual objects (buttons, frames, checkboxes, etc.).

For a list of all members defined in this module, see SkinSchema Members.

Remarks

The SetWindowTheme method allows you to individually skin different objects within the same form with different skins. For example, you can have a form skin using the Office 2007 Black skin and have the buttons on that form use the Windows XP skin.

To do this, use CreateSchema to create a SkinSchema resource and then use SetWindowTheme to apply the skin resource to an object such as a button.

CreateSchema is used to create a SkinSchema resource so that the resource can be shared among other objects. Simply remember the reference to the resource created and apply it to each object that it is needed. You can use any number of different skins in an application.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.