SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 4.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 8.0 - Tree Control
SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 4.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 8.0 - Tree Control
SftTree/NET 2.0 - Tree Control
Defines whether Windows themes can be used.
Get
| VB.NET | Style = object.UseThemes As SftButtonThemesConstants |
| VB | Style = object.UseThemes As SftButtonThemesConstants |
| C#.NET | SftButtonThemesConstants Style = object.UseThemes; |
| VC++ | enum SftButtonThemesConstants Style = object->UseThemes; enum SftButtonThemesConstants Style = object->GetUseThemes(); |
| C | HRESULT object->get_UseThemes(enum SftButtonThemesConstants* Style); |
Put
| VB.NET | object.UseThemes = Style As SftButtonThemesConstants |
| VB | object.UseThemes = Style As SftButtonThemesConstants |
| C#.NET | SftButtonThemesConstants object.UseThemes = Style; |
| VC++ | enum SftButtonThemesConstants object->UseThemes = Style; void object->PutUseThemes(enum SftButtonThemesConstants Style); |
| C | HRESULT object->put_UseThemes(enum SftButtonThemesConstants Style); |
object
Style
Defines whether Windows themes can be used.
| Name | Value | Description |
|---|---|---|
| themesSftButtonNo | 0 | Windows themes are never used. |
| themesSftButtonYes | 1 | Windows themes are used if available. |
| themesSftButtonYesExcludeText | 2 | Windows themes are used if available. The button's caption (Text) is rendered using the defined colors and themes are ignored. Themes are only used for the button background. |
The UseThemes property defines whether Windows themes can be used.
See Also SftButton Object | Object Hierarchy
