GetThemeSysBool function
Retrieves the Boolean value of a system metric.
Syntax
BOOL GetThemeSysBool(
_In_ HTHEME hTheme,
_In_ int iBoolID
);
Parameters
- hTheme [in]
-
Type: HTHEME
Handle to theme data.
- iBoolID [in]
-
Type: int
Value of type int that specifies the system Boolean metric desired. May be the following value.
Value Meaning - TMT_FLATMENUS
Describes how menus are drawn. If TRUE, menus are drawn without shadows. If FALSE, menus have shadows underneath them.
Return value
Type: BOOL
Value of desired system metric.
Remarks
If the theme data handle is not a NULL handle, this function returns the desired BOOL from the SysMetrics section of the visual style. If the theme data handle is NULL, this function returns the value of the specified system Boolean.
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
Send comments about this topic to Microsoft
Build date: 10/27/2012