SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines whether the control can use Windows themes.
C
BOOL WINAPI SftTree_GetUseThemes(HWND hwndCtl); void WINAPI SftTree_SetUseThemes(HWND hwndCtl, BOOL fSet); BOOL WINAPI SftTreeSplit_GetUseThemes(HWND hwndCtl); void WINAPI SftTreeSplit_SetUseThemes(HWND hwndCtl, BOOL fSet);
C++
BOOL CSftTree::GetUseThemes() const; void CSftTree::SetUseThemes(BOOL fSet = TRUE); BOOL CSftTreeSplit::GetUseThemes() const; void CSftTreeSplit::SetUseThemes(BOOL fSet = TRUE);
hwndCtl
The window handle of the tree control.
fSet
Set to TRUE to allow the control to use Windows themes, otherwise set to FALSE.
GetUseThemes returns a value indicating whether Windows themes can be used. TRUE is returned if themes can be used, otherwise FALSE is returned.
The GetUseThemes and SetUseThemes functions define whether the control can use Windows themes.
Windows themes are only available on Windows XP and above. Older Windows versions do not support Windows themes and this function has no effect.
See Also C/C++ API | Categories | Notifications