Defines whether the control can use Windows themes.
C
BOOL WINAPI SftBox_GetUseThemes(HWND hwndCtl); void WINAPI SftBox_SetUseThemes(HWND hwndCtl, BOOL fSet);
C++
BOOL CSftBox::GetUseThemes() const; void CSftBox::SetUseThemes(BOOL fSet);
hwndCtl
The window handle of the combo box 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.
The setting applies to the entire combo box control, including the static portion, the dropdown portion and the dropdown button. When a combo box control is created, the use of Windows themes is enabled.
If the dropdown portion of a dropdown or dropdown list combo box is currently displayed, SetUseThemes hides it.
See Also C/C++ API | Categories | Notifications