Values for the iUseThemes field on SFTMASK_CONTROL, defining whether Windows themes are used (see Using Themes).
| SFTMASK_THEME_NO (0) | Themes are not used. The control is rendered using the built-in style. Default. |
| SFTMASK_THEME_YES (1) | The control adapts to the current Windows theme. |
| SFTMASK_THEME_YES_BGCOLOR (2) | The control adapts to the current Windows theme, but an application-defined background color (colorBg) is honored. |
| SFTMASK_THEME_YES_VB6 (3) | The control adapts to the current Windows theme using VB6 style processing. |
| SFTMASK_THEME_YES_VB6_BGCOLOR (4) | The control adapts to the current Windows theme using VB6 style processing and an application-defined background color is honored. |
Themes are suppressed automatically while dark mode or high contrast rendering is active.
See Also Using Themes | Dark Mode | High Contrast | SFTMASK_CONTROL