Expand Minimize

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.

ValueMeaning
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

Uxtheme.h

Library

UxTheme.lib

DLL

UxTheme.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft