Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

UseThemes

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);

Parameters

hwndCtl

The window handle of the tree control.

fSet

Set to TRUE to allow the control to use Windows themes, otherwise set to FALSE.

Returns

GetUseThemes returns a value indicating whether Windows themes can be used. TRUE is returned if themes can be used, otherwise FALSE is returned.

Comments

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