Skip to content

SkinFramework Control

See Also

See Also


Description

Skin Framework control.

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

Object Model

Object Model
Diagram
Diagram
Diagram
Diagram
Diagram
Diagram
Diagram
Diagram
Diagram
Diagram
Diagram
Diagram
Diagram

Remarks

The Skin Framework control allows Windows developers to fully skin their applications, including components such as title bars, scroll bars, buttons, check boxes, and option buttons. Skins can be applied simply by providing one of the supplied .cjstyles or .msstyles skin files, or you can download .msstyles files from the Internet. Since the Skin Framework can load any .msstyles skin file, there are literally thousands of different skins that can be applied to your application.

To apply skins, the ApplyWindow method must be called. ApplyWindow only needs to be called one time in the Load event of the window where a skin will be applied. This tells the Skin Framework which window to apply skins to. The skin will be applied to all child windows as well.

To load the default system appearance skin, call LoadSkin passing in a blank string for both ResourcePath and IniFileName.

There are some situations where a control will not be able to automatically be skinned as the parent control might not support seamless background texturing. In these cases, the EnableThemeDialogTexture method can be used to apply the skin texture to the child control.

The ApplyOptions property is used to specify which parts of the application will be skinned.

Example


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