ReactOS 0.4.16-dev-338-g34e76ad
stylemap.c File Reference
#include "uxthemep.h"
Include dependency graph for stylemap.c:

Go to the source code of this file.

Classes

struct  _MSSTYLES_PROPERTY_MAP
 
struct  _MSSTYLES_ENUM_MAP
 
struct  _MSSTYLES_CLASS_MAP
 
struct  _MSSTYLES_CLASS_NAME
 

Typedefs

typedef struct _MSSTYLES_PROPERTY_MAP MSSTYLES_PROPERTY_MAP
 
typedef struct _MSSTYLES_PROPERTY_MAPPMSSTYLES_PROPERTY_MAP
 
typedef struct _MSSTYLES_ENUM_MAP MSSTYLES_ENUM_MAP
 
typedef struct _MSSTYLES_ENUM_MAPPMSSTYLES_ENUM_MAP
 
typedef struct _MSSTYLES_CLASS_MAP MSSTYLES_CLASS_MAP
 
typedef struct _MSSTYLES_CLASS_MAPPMSSTYLES_CLASS_MAP
 
typedef struct _MSSTYLES_CLASS_NAME MSSTYLES_CLASS_NAME
 
typedef struct _MSSTYLES_CLASS_NAMEPMSSTYLES_CLASS_NAME
 

Functions

BOOL MSSTYLES_LookupPartState (LPCWSTR pszClass, LPCWSTR pszPart, LPCWSTR pszState, int *iPartId, int *iStateId)
 
BOOL MSSTYLES_LookupProperty (LPCWSTR pszPropertyName, int *dwPrimitive, int *dwId)
 
BOOL MSSTYLES_LookupEnum (LPCWSTR pszValueName, int dwEnum, int *dwValue)
 

Variables

static const MSSTYLES_PROPERTY_MAP mapProperty []
 
static const MSSTYLES_ENUM_MAP mapEnum []
 
static const MSSTYLES_CLASS_MAP classGlobals []
 
static const MSSTYLES_CLASS_MAP classButton []
 
static const MSSTYLES_CLASS_MAP classClock []
 
static const MSSTYLES_CLASS_MAP classCombobox []
 
static const MSSTYLES_CLASS_MAP classEdit []
 
static const MSSTYLES_CLASS_MAP classExplorerbar []
 
static const MSSTYLES_CLASS_MAP classHeader []
 
static const MSSTYLES_CLASS_MAP classListview []
 
static const MSSTYLES_CLASS_MAP classMenu []
 
static const MSSTYLES_CLASS_MAP classMenuband []
 
static const MSSTYLES_CLASS_MAP classPage []
 
static const MSSTYLES_CLASS_MAP classProgress []
 
static const MSSTYLES_CLASS_MAP classRebar []
 
static const MSSTYLES_CLASS_MAP classScrollbar []
 
static const MSSTYLES_CLASS_MAP classSpin []
 
static const MSSTYLES_CLASS_MAP classStartpanel []
 
static const MSSTYLES_CLASS_MAP classStatus []
 
static const MSSTYLES_CLASS_MAP classTab []
 
static const MSSTYLES_CLASS_MAP classTaskband []
 
static const MSSTYLES_CLASS_MAP classTaskbar []
 
static const MSSTYLES_CLASS_MAP classToolbar []
 
static const MSSTYLES_CLASS_MAP classTooltip []
 
static const MSSTYLES_CLASS_MAP classTrackbar []
 
static const MSSTYLES_CLASS_MAP classTraynotify []
 
static const MSSTYLES_CLASS_MAP classTreeview []
 
static const MSSTYLES_CLASS_MAP classWindow []
 
static const MSSTYLES_CLASS_NAME mapClass []
 

Typedef Documentation

◆ MSSTYLES_CLASS_MAP

◆ MSSTYLES_CLASS_NAME

◆ MSSTYLES_ENUM_MAP

◆ MSSTYLES_PROPERTY_MAP

◆ PMSSTYLES_CLASS_MAP

◆ PMSSTYLES_CLASS_NAME

◆ PMSSTYLES_ENUM_MAP

◆ PMSSTYLES_PROPERTY_MAP

Function Documentation

◆ MSSTYLES_LookupEnum()

BOOL MSSTYLES_LookupEnum ( LPCWSTR  pszValueName,
int  dwEnum,
int dwValue 
)

Definition at line 1126 of file stylemap.c.

1127{
1128 DWORD item = 0;
1129 /* Locate the enum block */
1130 while(*mapEnum[item].szValueName && mapEnum[item].dwEnum != dwEnum) item++;
1131 /* Now find the value in that block */
1132 while(*mapEnum[item].szValueName && mapEnum[item].dwEnum == dwEnum) {
1133 if(!lstrcmpiW(mapEnum[item].szValueName, pszValueName)) {
1134 if(dwValue) *dwValue = mapEnum[item].dwValue;
1135 return TRUE;
1136 }
1137 item++;
1138 }
1139 return FALSE;
1140}
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
int WINAPI lstrcmpiW(LPCWSTR str1, LPCWSTR str2)
Definition: locale.c:4262
unsigned long DWORD
Definition: ntddk_ex.h:95
static ATOM item
Definition: dde.c:856
static const MSSTYLES_ENUM_MAP mapEnum[]
Definition: stylemap.c:250

Referenced by GetThemeEnumValue(), and GetThemeMetric().

◆ MSSTYLES_LookupPartState()

BOOL MSSTYLES_LookupPartState ( LPCWSTR  pszClass,
LPCWSTR  pszPart,
LPCWSTR  pszState,
int iPartId,
int iStateId 
)

Definition at line 1038 of file stylemap.c.

1039{
1040 unsigned int i;
1041 const MSSTYLES_CLASS_MAP *map;
1042
1043 *iPartId = 0;
1044 *iStateId = 0;
1045 for(i=0; i<sizeof(mapClass)/sizeof(mapClass[0]); i++) {
1046 if(!lstrcmpiW(mapClass[i].pszClass, pszClass)) {
1047 map = mapClass[i].lpMap;
1048 if(pszPart) {
1049 do {
1050 if(map->dwStateID == 0 && !lstrcmpiW(map->szName, pszPart)) {
1051 *iPartId = map->dwPartID;
1052 break;
1053 }
1054 } while(*((++map)->szName));
1055 }
1056 if(pszState) {
1057 if(pszPart && *iPartId == 0) {
1058 break;
1059 }
1060 do {
1061 if(pszPart) {
1062 if(map->dwPartID == *iPartId && !lstrcmpiW(map->szName, pszState)) {
1063 *iStateId = map->dwStateID;
1064 break;
1065 }
1066 }
1067 else {
1068 if(!lstrcmpiW(map->szName, pszState)) {
1069 *iStateId = map->dwStateID;
1070 break;
1071 }
1072 }
1073 } while(*((++map)->szName));
1074 }
1075 break;
1076 }
1077 }
1078 if(pszPart && *iPartId == 0) {
1079 return FALSE;
1080 }
1081 if(pszState && *iStateId == 0) {
1082 return FALSE;
1083 }
1084 return TRUE;
1085}
Definition: _map.h:48
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
static const WCHAR szName[]
Definition: powrprof.c:45
const MSSTYLES_CLASS_MAP * lpMap
Definition: stylemap.c:42
static const MSSTYLES_CLASS_NAME mapClass[]
Definition: stylemap.c:1009

Referenced by MSSTYLES_ParseIniSectionName().

◆ MSSTYLES_LookupProperty()

BOOL MSSTYLES_LookupProperty ( LPCWSTR  pszPropertyName,
int dwPrimitive,
int dwId 
)

Definition at line 1100 of file stylemap.c.

1101{
1102 DWORD item = 0;
1103 do {
1104 if(!lstrcmpiW(mapProperty[item].szPropertyName, pszPropertyName)) {
1105 if(dwPrimitive) *dwPrimitive = mapProperty[item].dwPrimitiveType;
1106 if(dwId) *dwId = mapProperty[item].dwPropertyID;
1107 return TRUE;
1108 }
1109 } while(*mapProperty[++item].szPropertyName);
1110 return FALSE;
1111}
static const MSSTYLES_PROPERTY_MAP mapProperty[]
Definition: stylemap.c:50

Referenced by GetThemeDocumentationProperty(), and MSSTYLES_ParseThemeIni().

Variable Documentation

◆ classButton

const MSSTYLES_CLASS_MAP classButton[]
static

Definition at line 337 of file stylemap.c.

◆ classClock

const MSSTYLES_CLASS_MAP classClock[]
static
Initial value:
= {
{CLP_TIME,0,{'T','I','M','E','\0'}},
{CLP_TIME,CLS_NORMAL,{'N','O','R','M','A','L','\0'}},
{0,0,{'\0'}}
}
@ CLP_TIME
Definition: vssym32.h:526
@ CLS_NORMAL
Definition: vssym32.h:530

Definition at line 373 of file stylemap.c.

◆ classCombobox

const MSSTYLES_CLASS_MAP classCombobox[]
static
Initial value:
= {
{CP_DROPDOWNBUTTON,0,{'D','R','O','P','D','O','W','N','B','U','T','T','O','N','\0'}},
{CP_DROPDOWNBUTTON,CBXS_NORMAL,{'N','O','R','M','A','L','\0'}},
{CP_DROPDOWNBUTTON,CBXS_HOT,{'H','O','T','\0'}},
{CP_DROPDOWNBUTTON,CBXS_PRESSED,{'P','R','E','S','S','E','D','\0'}},
{CP_DROPDOWNBUTTON,CBXS_DISABLED,{'D','I','S','A','B','L','E','D','\0'}},
{0,0,{'\0'}}
}
@ CBXS_PRESSED
Definition: vsstyle.h:178
@ CBXS_DISABLED
Definition: vsstyle.h:179
@ CBXS_NORMAL
Definition: vsstyle.h:176
@ CBXS_HOT
Definition: vsstyle.h:177
@ CP_DROPDOWNBUTTON
Definition: vsstyle.h:163

Definition at line 379 of file stylemap.c.

◆ classEdit

const MSSTYLES_CLASS_MAP classEdit[]
static
Initial value:
= {
{EP_EDITTEXT,0,{'E','D','I','T','T','E','X','T','\0'}},
{EP_EDITTEXT,ETS_NORMAL,{'N','O','R','M','A','L','\0'}},
{EP_EDITTEXT,ETS_HOT,{'H','O','T','\0'}},
{EP_EDITTEXT,ETS_SELECTED,{'S','E','L','E','C','T','E','D','\0'}},
{EP_EDITTEXT,ETS_DISABLED,{'D','I','S','A','B','L','E','D','\0'}},
{EP_EDITTEXT,ETS_FOCUSED,{'F','O','C','U','S','E','D','\0'}},
{EP_EDITTEXT,ETS_READONLY,{'R','E','A','D','O','N','L','Y','\0'}},
{EP_EDITTEXT,ETS_ASSIST,{'A','S','S','I','S','T','\0'}},
{EP_CARET,0,{'C','A','R','E','T','\0'}},
{0,0,{'\0'}}
}
@ EP_CARET
Definition: vsstyle.h:420
@ EP_EDITTEXT
Definition: vsstyle.h:419
@ ETS_SELECTED
Definition: vsstyle.h:435
@ ETS_DISABLED
Definition: vsstyle.h:436
@ ETS_HOT
Definition: vsstyle.h:434
@ ETS_READONLY
Definition: vsstyle.h:438
@ ETS_NORMAL
Definition: vsstyle.h:433
@ ETS_FOCUSED
Definition: vsstyle.h:437
@ ETS_ASSIST
Definition: vsstyle.h:439

Definition at line 388 of file stylemap.c.

◆ classExplorerbar

const MSSTYLES_CLASS_MAP classExplorerbar[]
static

Definition at line 401 of file stylemap.c.

◆ classGlobals

const MSSTYLES_CLASS_MAP classGlobals[]
static
Initial value:
= {
{GP_BORDER,0,{'B','O','R','D','E','R','\0'}},
{GP_BORDER,BSS_FLAT,{'F','L','A','T','\0'}},
{GP_BORDER,BSS_RAISED,{'R','A','I','S','E','D','\0'}},
{GP_BORDER,BSS_SUNKEN,{'S','U','N','K','E','N','\0'}},
{GP_LINEHORZ,0,{'L','I','N','E','H','O','R','Z','\0'}},
{GP_LINEHORZ,LHS_FLAT,{'F','L','A','T','\0'}},
{GP_LINEHORZ,LHS_RAISED,{'R','A','I','S','E','D','\0'}},
{GP_LINEHORZ,LHS_SUNKEN,{'S','U','N','K','E','N','\0'}},
{GP_LINEVERT,0,{'L','I','N','E','V','E','R','T','\0'}},
{GP_LINEVERT,LVS_FLAT,{'F','L','A','T','\0'}},
{GP_LINEVERT,LVS_RAISED,{'R','A','I','S','E','D','\0'}},
{GP_LINEVERT,LVS_SUNKEN,{'S','U','N','K','E','N','\0'}},
{0,0,{'\0'}}
}

Definition at line 321 of file stylemap.c.

◆ classHeader

const MSSTYLES_CLASS_MAP classHeader[]
static
Initial value:
= {
{HP_HEADERITEM,0,{'H','E','A','D','E','R','I','T','E','M','\0'}},
{HP_HEADERITEM,HIS_NORMAL,{'N','O','R','M','A','L','\0'}},
{HP_HEADERITEM,HIS_HOT,{'H','O','T','\0'}},
{HP_HEADERITEM,HIS_PRESSED,{'P','R','E','S','S','E','D','\0'}},
{HP_HEADERITEMLEFT,0,{'H','E','A','D','E','R','I','T','E','M','L','E','F','T','\0'}},
{HP_HEADERITEMLEFT,HILS_NORMAL,{'N','O','R','M','A','L','\0'}},
{HP_HEADERITEMLEFT,HILS_HOT,{'H','O','T','\0'}},
{HP_HEADERITEMLEFT,HILS_PRESSED,{'P','R','E','S','S','E','D','\0'}},
{HP_HEADERITEMRIGHT,0,{'H','E','A','D','E','R','I','T','E','M','R','I','G','H','T','\0'}},
{HP_HEADERITEMRIGHT,HIRS_NORMAL,{'N','O','R','M','A','L','\0'}},
{HP_HEADERITEMRIGHT,HIRS_HOT,{'H','O','T','\0'}},
{HP_HEADERITEMRIGHT,HIRS_PRESSED,{'P','R','E','S','S','E','D','\0'}},
{HP_HEADERSORTARROW,0,{'H','E','A','D','E','R','S','O','R','T','A','R','R','O','W','\0'}},
{HP_HEADERSORTARROW,HSAS_SORTEDUP,{'S','O','R','T','E','D','U','P','\0'}},
{HP_HEADERSORTARROW,HSAS_SORTEDDOWN,{'S','O','R','T','E','D','D','O','W','N','\0'}},
{0,0,{'\0'}}
}
@ HILS_HOT
Definition: vsstyle.h:654
@ HILS_NORMAL
Definition: vsstyle.h:653
@ HILS_PRESSED
Definition: vsstyle.h:655
@ HIRS_HOT
Definition: vsstyle.h:660
@ HIRS_NORMAL
Definition: vsstyle.h:659
@ HIRS_PRESSED
Definition: vsstyle.h:661
@ HP_HEADERSORTARROW
Definition: vsstyle.h:624
@ HP_HEADERITEM
Definition: vsstyle.h:621
@ HP_HEADERITEMLEFT
Definition: vsstyle.h:622
@ HP_HEADERITEMRIGHT
Definition: vsstyle.h:623
@ HIS_NORMAL
Definition: vsstyle.h:638
@ HIS_HOT
Definition: vsstyle.h:639
@ HIS_PRESSED
Definition: vsstyle.h:640
@ HSAS_SORTEDDOWN
Definition: vsstyle.h:666
@ HSAS_SORTEDUP
Definition: vsstyle.h:665

Definition at line 441 of file stylemap.c.

◆ classListview

const MSSTYLES_CLASS_MAP classListview[]
static
Initial value:
= {
{LVP_LISTITEM,0,{'L','I','S','T','I','T','E','M','\0'}},
{LVP_LISTITEM,LIS_NORMAL,{'N','O','R','M','A','L','\0'}},
{LVP_LISTITEM,LIS_HOT,{'H','O','T','\0'}},
{LVP_LISTITEM,LIS_SELECTED,{'S','E','L','E','C','T','E','D','\0'}},
{LVP_LISTITEM,LIS_DISABLED,{'D','I','S','A','B','L','E','D','\0'}},
{LVP_LISTITEM,LIS_SELECTEDNOTFOCUS,{'S','E','L','E','C','T','E','D','N','O','T','F','O','C','U','S','\0'}},
{LVP_LISTGROUP,0,{'L','I','S','T','G','R','O','U','P','\0'}},
{LVP_LISTDETAIL,0,{'L','I','S','T','D','E','T','A','I','L','\0'}},
{LVP_LISTSORTEDDETAIL,0,{'L','I','S','T','S','O','R','T','E','D','D','E','T','A','I','L','\0'}},
{LVP_EMPTYTEXT,0,{'E','M','P','T','Y','T','E','X','T','\0'}},
{0,0,{'\0'}}
}
@ LVP_LISTGROUP
Definition: vsstyle.h:757
@ LVP_LISTITEM
Definition: vsstyle.h:756
@ LVP_LISTSORTEDDETAIL
Definition: vsstyle.h:759
@ LVP_LISTDETAIL
Definition: vsstyle.h:758
@ LVP_EMPTYTEXT
Definition: vsstyle.h:760

Definition at line 460 of file stylemap.c.

◆ classMenu

const MSSTYLES_CLASS_MAP classMenu[]
static
Initial value:
= {
{MP_MENUITEM,0,{'M','E','N','U','I','T','E','M','\0'}},
{MP_MENUITEM,MS_NORMAL,{'N','O','R','M','A','L','\0'}},
{MP_MENUITEM,MS_SELECTED,{'S','E','L','E','C','T','E','D','\0'}},
{MP_MENUITEM,MS_DEMOTED,{'D','E','M','O','T','E','D','\0'}},
{MP_MENUDROPDOWN,0,{'M','E','N','U','D','R','O','P','D','O','W','N','\0'}},
{MP_MENUDROPDOWN,MS_NORMAL,{'N','O','R','M','A','L','\0'}},
{MP_MENUDROPDOWN,MS_SELECTED,{'S','E','L','E','C','T','E','D','\0'}},
{MP_MENUDROPDOWN,MS_DEMOTED,{'D','E','M','O','T','E','D','\0'}},
{MP_MENUBARITEM,0,{'M','E','N','U','B','A','R','I','T','E','M','\0'}},
{MP_MENUBARITEM,MS_NORMAL,{'N','O','R','M','A','L','\0'}},
{MP_MENUBARITEM,MS_SELECTED,{'S','E','L','E','C','T','E','D','\0'}},
{MP_MENUBARITEM,MS_DEMOTED,{'D','E','M','O','T','E','D','\0'}},
{MP_MENUBARDROPDOWN,0,{'M','E','N','U','B','A','R','D','R','O','P','D','O','W','N','\0'}},
{MP_MENUBARDROPDOWN,MS_NORMAL,{'N','O','R','M','A','L','\0'}},
{MP_MENUBARDROPDOWN,MS_SELECTED,{'S','E','L','E','C','T','E','D','\0'}},
{MP_MENUBARDROPDOWN,MS_DEMOTED,{'D','E','M','O','T','E','D','\0'}},
{MP_CHEVRON,0,{'C','H','E','V','R','O','N','\0'}},
{MP_CHEVRON,MS_NORMAL,{'N','O','R','M','A','L','\0'}},
{MP_CHEVRON,MS_SELECTED,{'S','E','L','E','C','T','E','D','\0'}},
{MP_CHEVRON,MS_DEMOTED,{'D','E','M','O','T','E','D','\0'}},
{MP_SEPARATOR,0,{'S','E','P','A','R','A','T','O','R','\0'}},
{MP_SEPARATOR,MS_NORMAL,{'N','O','R','M','A','L','\0'}},
{MP_SEPARATOR,MS_SELECTED,{'S','E','L','E','C','T','E','D','\0'}},
{MP_SEPARATOR,MS_DEMOTED,{'D','E','M','O','T','E','D','\0'}},
{0,0,{'\0'}}
}

Definition at line 474 of file stylemap.c.

◆ classMenuband

const MSSTYLES_CLASS_MAP classMenuband[]
static
Initial value:
= {
{MDP_NEWAPPBUTTON,0,{'N','E','W','A','P','P','B','U','T','T','O','N','\0'}},
{MDP_NEWAPPBUTTON,MDS_NORMAL,{'N','O','R','M','A','L','\0'}},
{MDP_NEWAPPBUTTON,MDS_HOT,{'H','O','T','\0'}},
{MDP_NEWAPPBUTTON,MDS_PRESSED,{'P','R','E','S','S','E','D','\0'}},
{MDP_NEWAPPBUTTON,MDS_DISABLED,{'D','I','S','A','B','L','E','D','\0'}},
{MDP_NEWAPPBUTTON,MDS_CHECKED,{'C','H','E','C','K','E','D','\0'}},
{MDP_NEWAPPBUTTON,MDS_HOTCHECKED,{'H','O','T','C','H','E','C','K','E','D','\0'}},
{MDP_SEPERATOR,0,{'S','E','P','E','R','A','T','O','R','\0'}},
{0,0,{'\0'}}
}
@ MDP_NEWAPPBUTTON
Definition: vssym32.h:665
@ MDP_SEPERATOR
Definition: vssym32.h:666
@ MDS_PRESSED
Definition: vssym32.h:672
@ MDS_HOTCHECKED
Definition: vssym32.h:675
@ MDS_HOT
Definition: vssym32.h:671
@ MDS_CHECKED
Definition: vssym32.h:674
@ MDS_DISABLED
Definition: vssym32.h:673
@ MDS_NORMAL
Definition: vssym32.h:670

Definition at line 502 of file stylemap.c.

◆ classPage

const MSSTYLES_CLASS_MAP classPage[]
static
Initial value:
= {
{PGRP_UP,0,{'U','P','\0'}},
{PGRP_UP,UPS_NORMAL,{'N','O','R','M','A','L','\0'}},
{PGRP_UP,UPS_HOT,{'H','O','T','\0'}},
{PGRP_UP,UPS_PRESSED,{'P','R','E','S','S','E','D','\0'}},
{PGRP_UP,UPS_DISABLED,{'D','I','S','A','B','L','E','D','\0'}},
{PGRP_DOWN,0,{'D','O','W','N','\0'}},
{PGRP_DOWN,DNS_NORMAL,{'N','O','R','M','A','L','\0'}},
{PGRP_DOWN,DNS_HOT,{'H','O','T','\0'}},
{PGRP_DOWN,DNS_PRESSED,{'P','R','E','S','S','E','D','\0'}},
{PGRP_DOWN,DNS_DISABLED,{'D','I','S','A','B','L','E','D','\0'}},
{PGRP_UPHORZ,0,{'U','P','H','O','R','Z','\0'}},
{PGRP_UPHORZ,UPHZS_NORMAL,{'N','O','R','M','A','L','\0'}},
{PGRP_UPHORZ,UPHZS_HOT,{'H','O','T','\0'}},
{PGRP_UPHORZ,UPHZS_PRESSED,{'P','R','E','S','S','E','D','\0'}},
{PGRP_UPHORZ,UPHZS_DISABLED,{'D','I','S','A','B','L','E','D','\0'}},
{PGRP_DOWNHORZ,0,{'D','O','W','N','H','O','R','Z','\0'}},
{PGRP_DOWNHORZ,DNHZS_NORMAL,{'N','O','R','M','A','L','\0'}},
{PGRP_DOWNHORZ,DNHZS_HOT,{'H','O','T','\0'}},
{PGRP_DOWNHORZ,DNHZS_PRESSED,{'P','R','E','S','S','E','D','\0'}},
{PGRP_DOWNHORZ,DNHZS_DISABLED,{'D','I','S','A','B','L','E','D','\0'}},
{0,0,{'\0'}}
}
@ UPHZS_DISABLED
Definition: vsstyle.h:1175
@ UPHZS_NORMAL
Definition: vsstyle.h:1172
@ UPHZS_HOT
Definition: vsstyle.h:1173
@ UPHZS_PRESSED
Definition: vsstyle.h:1174
@ UPS_PRESSED
Definition: vsstyle.h:1160
@ UPS_HOT
Definition: vsstyle.h:1159
@ UPS_DISABLED
Definition: vsstyle.h:1161
@ UPS_NORMAL
Definition: vsstyle.h:1158
@ DNS_DISABLED
Definition: vsstyle.h:1168
@ DNS_NORMAL
Definition: vsstyle.h:1165
@ DNS_HOT
Definition: vsstyle.h:1166
@ DNS_PRESSED
Definition: vsstyle.h:1167
@ DNHZS_HOT
Definition: vsstyle.h:1180
@ DNHZS_NORMAL
Definition: vsstyle.h:1179
@ DNHZS_PRESSED
Definition: vsstyle.h:1181
@ DNHZS_DISABLED
Definition: vsstyle.h:1182
@ PGRP_DOWNHORZ
Definition: vssym32.h:442
@ PGRP_UP
Definition: vssym32.h:439
@ PGRP_UPHORZ
Definition: vssym32.h:441
@ PGRP_DOWN
Definition: vssym32.h:440

Definition at line 514 of file stylemap.c.

◆ classProgress

const MSSTYLES_CLASS_MAP classProgress[]
static
Initial value:
= {
{PP_BAR,0,{'B','A','R','\0'}},
{PP_BARVERT,0,{'B','A','R','V','E','R','T','\0'}},
{PP_CHUNK,0,{'C','H','U','N','K','\0'}},
{PP_CHUNKVERT,0,{'C','H','U','N','K','V','E','R','T','\0'}},
{0,0,{'\0'}}
}
@ PP_CHUNK
Definition: vsstyle.h:976
@ PP_BARVERT
Definition: vsstyle.h:975
@ PP_BAR
Definition: vsstyle.h:974
@ PP_CHUNKVERT
Definition: vsstyle.h:977

Definition at line 538 of file stylemap.c.

◆ classRebar

const MSSTYLES_CLASS_MAP classRebar[]
static
Initial value:
= {
{RP_GRIPPER,0,{'G','R','I','P','P','E','R','\0'}},
{RP_GRIPPERVERT,0,{'G','R','I','P','P','E','R','V','E','R','T','\0'}},
{RP_BAND,0,{'B','A','N','D','\0'}},
{RP_CHEVRON,0,{'C','H','E','V','R','O','N','\0'}},
{RP_CHEVRON,CHEVS_NORMAL,{'N','O','R','M','A','L','\0'}},
{RP_CHEVRON,CHEVS_HOT,{'H','O','T','\0'}},
{RP_CHEVRON,CHEVS_PRESSED,{'P','R','E','S','S','E','D','\0'}},
{RP_CHEVRONVERT,0,{'C','H','E','V','R','O','N','V','E','R','T','\0'}},
{0,0,{'\0'}}
}
@ CHEVS_PRESSED
Definition: vsstyle.h:1042
@ CHEVS_NORMAL
Definition: vsstyle.h:1040
@ CHEVS_HOT
Definition: vsstyle.h:1041
@ RP_CHEVRON
Definition: vsstyle.h:1030
@ RP_GRIPPER
Definition: vsstyle.h:1027
@ RP_CHEVRONVERT
Definition: vsstyle.h:1031
@ RP_GRIPPERVERT
Definition: vsstyle.h:1028
@ RP_BAND
Definition: vsstyle.h:1029

Definition at line 546 of file stylemap.c.

◆ classScrollbar

const MSSTYLES_CLASS_MAP classScrollbar[]
static

Definition at line 558 of file stylemap.c.

◆ classSpin

const MSSTYLES_CLASS_MAP classSpin[]
static
Initial value:
= {
{SPNP_UP,0,{'U','P','\0'}},
{SPNP_UP,UPS_NORMAL,{'N','O','R','M','A','L','\0'}},
{SPNP_UP,UPS_HOT,{'H','O','T','\0'}},
{SPNP_UP,UPS_PRESSED,{'P','R','E','S','S','E','D','\0'}},
{SPNP_UP,UPS_DISABLED,{'D','I','S','A','B','L','E','D','\0'}},
{SPNP_DOWN,0,{'D','O','W','N','\0'}},
{SPNP_DOWN,DNS_NORMAL,{'N','O','R','M','A','L','\0'}},
{SPNP_DOWN,DNS_HOT,{'H','O','T','\0'}},
{SPNP_DOWN,DNS_PRESSED,{'P','R','E','S','S','E','D','\0'}},
{SPNP_DOWN,DNS_DISABLED,{'D','I','S','A','B','L','E','D','\0'}},
{SPNP_UPHORZ,0,{'U','P','H','O','R','Z','\0'}},
{SPNP_UPHORZ,UPHZS_NORMAL,{'N','O','R','M','A','L','\0'}},
{SPNP_UPHORZ,UPHZS_HOT,{'H','O','T','\0'}},
{SPNP_UPHORZ,UPHZS_PRESSED,{'P','R','E','S','S','E','D','\0'}},
{SPNP_UPHORZ,UPHZS_DISABLED,{'D','I','S','A','B','L','E','D','\0'}},
{SPNP_DOWNHORZ,0,{'D','O','W','N','H','O','R','Z','\0'}},
{SPNP_DOWNHORZ,DNHZS_NORMAL,{'N','O','R','M','A','L','\0'}},
{SPNP_DOWNHORZ,DNHZS_HOT,{'H','O','T','\0'}},
{SPNP_DOWNHORZ,DNHZS_PRESSED,{'P','R','E','S','S','E','D','\0'}},
{SPNP_DOWNHORZ,DNHZS_DISABLED,{'D','I','S','A','B','L','E','D','\0'}},
{0,0,{'\0'}}
}
@ SPNP_UPHORZ
Definition: vsstyle.h:1151
@ SPNP_DOWNHORZ
Definition: vsstyle.h:1152
@ SPNP_DOWN
Definition: vsstyle.h:1150
@ SPNP_UP
Definition: vsstyle.h:1149

Definition at line 614 of file stylemap.c.

◆ classStartpanel

const MSSTYLES_CLASS_MAP classStartpanel[]
static
Initial value:
= {
{SPP_USERPANE,0,{'U','S','E','R','P','A','N','E','\0'}},
{SPP_MOREPROGRAMS,0,{'M','O','R','E','P','R','O','G','R','A','M','S','\0'}},
{SPP_MOREPROGRAMSARROW,0,{'M','O','R','E','P','R','O','G','R','A','M','S','A','R','R','O','W','\0'}},
{SPP_MOREPROGRAMSARROW,SPS_NORMAL,{'N','O','R','M','A','L','\0'}},
{SPP_MOREPROGRAMSARROW,SPS_HOT,{'H','O','T','\0'}},
{SPP_MOREPROGRAMSARROW,SPS_PRESSED,{'P','R','E','S','S','E','D','\0'}},
{SPP_PROGLIST,0,{'P','R','O','G','L','I','S','T','\0'}},
{SPP_PROGLISTSEPARATOR,0,{'P','R','O','G','L','I','S','T','S','E','P','A','R','A','T','O','R','\0'}},
{SPP_PLACESLIST,0,{'P','L','A','C','E','S','L','I','S','T','\0'}},
{SPP_PLACESLISTSEPARATOR,0,{'P','L','A','C','E','S','L','I','S','T','S','E','P','A','R','A','T','O','R','\0'}},
{SPP_LOGOFF,0,{'L','O','G','O','F','F','\0'}},
{SPP_LOGOFFBUTTONS,0,{'L','O','G','O','F','F','B','U','T','T','O','N','S','\0'}},
{SPP_LOGOFFBUTTONS,SPLS_NORMAL,{'N','O','R','M','A','L','\0'}},
{SPP_LOGOFFBUTTONS,SPLS_HOT,{'H','O','T','\0'}},
{SPP_LOGOFFBUTTONS,SPLS_PRESSED,{'P','R','E','S','S','E','D','\0'}},
{SPP_USERPICTURE,0,{'U','S','E','R','P','I','C','T','U','R','E','\0'}},
{SPP_PREVIEW,0,{'P','R','E','V','I','E','W','\0'}},
{0,0,{'\0'}}
}
@ SPLS_NORMAL
Definition: vssym32.h:650
@ SPLS_PRESSED
Definition: vssym32.h:652
@ SPLS_HOT
Definition: vssym32.h:651
@ SPS_PRESSED
Definition: vssym32.h:640
@ SPS_NORMAL
Definition: vssym32.h:638
@ SPS_HOT
Definition: vssym32.h:639
@ SPP_PLACESLIST
Definition: vssym32.h:597
@ SPP_PLACESLISTSEPARATOR
Definition: vssym32.h:598
@ SPP_PROGLISTSEPARATOR
Definition: vssym32.h:596
@ SPP_LOGOFF
Definition: vssym32.h:599
@ SPP_PREVIEW
Definition: vssym32.h:602
@ SPP_MOREPROGRAMSARROW
Definition: vssym32.h:594
@ SPP_LOGOFFBUTTONS
Definition: vssym32.h:600
@ SPP_USERPANE
Definition: vssym32.h:592
@ SPP_USERPICTURE
Definition: vssym32.h:601
@ SPP_MOREPROGRAMS
Definition: vssym32.h:593
@ SPP_PROGLIST
Definition: vssym32.h:595

Definition at line 638 of file stylemap.c.

◆ classStatus

const MSSTYLES_CLASS_MAP classStatus[]
static
Initial value:
= {
{SP_PANE,0,{'P','A','N','E','\0'}},
{SP_GRIPPERPANE,0,{'G','R','I','P','P','E','R','P','A','N','E','\0'}},
{SP_GRIPPER,0,{'G','R','I','P','P','E','R','\0'}},
{0,0,{'\0'}}
}
@ SP_GRIPPERPANE
Definition: vsstyle.h:1199
@ SP_PANE
Definition: vsstyle.h:1198
@ SP_GRIPPER
Definition: vsstyle.h:1200

Definition at line 659 of file stylemap.c.

◆ classTab

const MSSTYLES_CLASS_MAP classTab[]
static

Definition at line 666 of file stylemap.c.

◆ classTaskband

const MSSTYLES_CLASS_MAP classTaskband[]
static
Initial value:
= {
{TDP_GROUPCOUNT,0,{'G','R','O','U','P','C','O','U','N','T','\0'}},
{TDP_FLASHBUTTON,0,{'F','L','A','S','H','B','U','T','T','O','N','\0'}},
{TDP_FLASHBUTTONGROUPMENU,0,{'F','L','A','S','H','B','U','T','T','O','N','G','R','O','U','P','M','E','N','U','\0'}},
{0,0,{'\0'}}
}
@ TDP_FLASHBUTTONGROUPMENU
Definition: vssym32.h:579
@ TDP_GROUPCOUNT
Definition: vssym32.h:577
@ TDP_FLASHBUTTON
Definition: vssym32.h:578

Definition at line 720 of file stylemap.c.

◆ classTaskbar

const MSSTYLES_CLASS_MAP classTaskbar[]
static
Initial value:
= {
{TBP_BACKGROUNDBOTTOM,0,{'B','A','C','K','G','R','O','U','N','D','B','O','T','T','O','M','\0'}},
{TBP_BACKGROUNDRIGHT,0,{'B','A','C','K','G','R','O','U','N','D','R','I','G','H','T','\0'}},
{TBP_BACKGROUNDTOP,0,{'B','A','C','K','G','R','O','U','N','D','T','O','P','\0'}},
{TBP_BACKGROUNDLEFT,0,{'B','A','C','K','G','R','O','U','N','D','L','E','F','T','\0'}},
{TBP_SIZINGBARBOTTOM,0,{'S','I','Z','I','N','G','B','A','R','B','O','T','T','O','M','\0'}},
{TBP_SIZINGBARRIGHT,0,{'S','I','Z','I','N','G','B','A','R','R','I','G','H','T','\0'}},
{TBP_SIZINGBARTOP,0,{'S','I','Z','I','N','G','B','A','R','T','O','P','\0'}},
{TBP_SIZINGBARLEFT,0,{'S','I','Z','I','N','G','B','A','R','L','E','F','T','\0'}},
{0,0,{'\0'}}
}
@ TBP_BACKGROUNDLEFT
Definition: vssym32.h:560
@ TBP_SIZINGBARRIGHT
Definition: vssym32.h:562
@ TBP_SIZINGBARBOTTOM
Definition: vssym32.h:561
@ TBP_BACKGROUNDRIGHT
Definition: vssym32.h:558
@ TBP_BACKGROUNDTOP
Definition: vssym32.h:559
@ TBP_SIZINGBARLEFT
Definition: vssym32.h:564
@ TBP_BACKGROUNDBOTTOM
Definition: vssym32.h:557
@ TBP_SIZINGBARTOP
Definition: vssym32.h:563

Definition at line 727 of file stylemap.c.

◆ classToolbar

const MSSTYLES_CLASS_MAP classToolbar[]
static

Definition at line 739 of file stylemap.c.

◆ classTooltip

const MSSTYLES_CLASS_MAP classTooltip[]
static
Initial value:
= {
{TTP_STANDARD,0,{'S','T','A','N','D','A','R','D','\0'}},
{TTP_STANDARD,TTSS_NORMAL,{'N','O','R','M','A','L','\0'}},
{TTP_STANDARD,TTSS_LINK,{'L','I','N','K','\0'}},
{TTP_STANDARDTITLE,0,{'S','T','A','N','D','A','R','D','T','I','T','L','E','\0'}},
{TTP_STANDARDTITLE,TTSS_NORMAL,{'N','O','R','M','A','L','\0'}},
{TTP_STANDARDTITLE,TTSS_LINK,{'L','I','N','K','\0'}},
{TTP_BALLOON,0,{'B','A','L','L','O','O','N','\0'}},
{TTP_BALLOON,TTBS_NORMAL,{'N','O','R','M','A','L','\0'}},
{TTP_BALLOON,TTBS_LINK,{'L','I','N','K','\0'}},
{TTP_BALLOONTITLE,0,{'B','A','L','L','O','O','N','T','I','T','L','E','\0'}},
{TTP_BALLOONTITLE,TTBS_NORMAL,{'N','O','R','M','A','L','\0'}},
{TTP_BALLOONTITLE,TTBS_LINK,{'L','I','N','K','\0'}},
{TTP_CLOSE,0,{'C','L','O','S','E','\0'}},
{TTP_CLOSE,TTCS_NORMAL,{'N','O','R','M','A','L','\0'}},
{TTP_CLOSE,TTCS_HOT,{'H','O','T','\0'}},
{TTP_CLOSE,TTCS_PRESSED,{'P','R','E','S','S','E','D','\0'}},
{0,0,{'\0'}}
}
@ TTBS_NORMAL
Definition: vsstyle.h:1450
@ TTBS_LINK
Definition: vsstyle.h:1451
@ TTP_BALLOONTITLE
Definition: vsstyle.h:1431
@ TTP_STANDARDTITLE
Definition: vsstyle.h:1429
@ TTP_STANDARD
Definition: vsstyle.h:1428
@ TTP_BALLOON
Definition: vsstyle.h:1430
@ TTP_CLOSE
Definition: vsstyle.h:1432
@ TTSS_LINK
Definition: vsstyle.h:1446
@ TTSS_NORMAL
Definition: vsstyle.h:1445
@ TTCS_PRESSED
Definition: vsstyle.h:1441
@ TTCS_HOT
Definition: vsstyle.h:1440
@ TTCS_NORMAL
Definition: vsstyle.h:1439

Definition at line 785 of file stylemap.c.

◆ classTrackbar

const MSSTYLES_CLASS_MAP classTrackbar[]
static

Definition at line 805 of file stylemap.c.

◆ classTraynotify

const MSSTYLES_CLASS_MAP classTraynotify[]
static
Initial value:
= {
{TNP_BACKGROUND,0,{'B','A','C','K','G','R','O','U','N','D','\0'}},
{TNP_ANIMBACKGROUND,0,{'A','N','I','M','B','A','C','K','G','R','O','U','N','D','\0'}},
{0,0,{'\0'}}
}
@ TNP_BACKGROUND
Definition: vssym32.h:543
@ TNP_ANIMBACKGROUND
Definition: vssym32.h:544

Definition at line 853 of file stylemap.c.

◆ classTreeview

const MSSTYLES_CLASS_MAP classTreeview[]
static
Initial value:
= {
{TVP_TREEITEM,0,{'T','R','E','E','I','T','E','M','\0'}},
{TVP_TREEITEM,TREIS_NORMAL,{'N','O','R','M','A','L','\0'}},
{TVP_TREEITEM,TREIS_HOT,{'H','O','T','\0'}},
{TVP_TREEITEM,TREIS_SELECTED,{'S','E','L','E','C','T','E','D','\0'}},
{TVP_TREEITEM,TREIS_DISABLED,{'D','I','S','A','B','L','E','D','\0'}},
{TVP_TREEITEM,TREIS_SELECTEDNOTFOCUS,{'S','E','L','E','C','T','E','D','N','O','T','F','O','C','U','S','\0'}},
{TVP_GLYPH,0,{'G','L','Y','P','H','\0'}},
{TVP_GLYPH,GLPS_CLOSED,{'C','L','O','S','E','D','\0'}},
{TVP_GLYPH,GLPS_OPENED,{'O','P','E','N','E','D','\0'}},
{TVP_BRANCH,0,{'B','R','A','N','C','H','\0'}},
{0,0,{'\0'}}
}
#define GLPS_OPENED
Definition: treelist.c:142
#define TVP_GLYPH
Definition: treelist.c:136
#define GLPS_CLOSED
Definition: treelist.c:139
@ TVP_TREEITEM
Definition: vsstyle.h:1571
@ TVP_BRANCH
Definition: vsstyle.h:1573
@ TREIS_HOT
Definition: vsstyle.h:1581
@ TREIS_DISABLED
Definition: vsstyle.h:1583
@ TREIS_SELECTEDNOTFOCUS
Definition: vsstyle.h:1584
@ TREIS_SELECTED
Definition: vsstyle.h:1582
@ TREIS_NORMAL
Definition: vsstyle.h:1580

Definition at line 859 of file stylemap.c.

◆ classWindow

const MSSTYLES_CLASS_MAP classWindow[]
static

Definition at line 873 of file stylemap.c.

◆ mapClass

const MSSTYLES_CLASS_NAME mapClass[]
static
Initial value:
= {
{classGlobals, {'G','L','O','B','A','L','S','\0'}},
{classButton, {'B','U','T','T','O','N','\0'}},
{classClock, {'C','L','O','C','K','\0'}},
{classCombobox, {'C','O','M','B','O','B','O','X','\0'}},
{classEdit, {'E','D','I','T','\0'}},
{classExplorerbar, {'E','X','P','L','O','R','E','R','B','A','R','\0'}},
{classHeader, {'H','E','A','D','E','R','\0'}},
{classListview, {'L','I','S','T','V','I','E','W','\0'}},
{classMenu, {'M','E','N','U','\0'}},
{classMenuband, {'M','E','N','U','B','A','N','D','\0'}},
{classPage, {'P','A','G','E','\0'}},
{classProgress, {'P','R','O','G','R','E','S','S','\0'}},
{classRebar, {'R','E','B','A','R','\0'}},
{classScrollbar, {'S','C','R','O','L','L','B','A','R','\0'}},
{classSpin, {'S','P','I','N','\0'}},
{classStartpanel, {'S','T','A','R','T','P','A','N','E','L','\0'}},
{classStatus, {'S','T','A','T','U','S','\0'}},
{classTab, {'T','A','B','\0'}},
{classTaskband, {'T','A','S','K','B','A','N','D','\0'}},
{classTaskbar, {'T','A','S','K','B','A','R','\0'}},
{classToolbar, {'T','O','O','L','B','A','R','\0'}},
{classTooltip, {'T','O','O','L','T','I','P','\0'}},
{classTrackbar, {'T','R','A','C','K','B','A','R','\0'}},
{classTraynotify, {'T','R','A','Y','N','O','T','I','F','Y','\0'}},
{classTreeview, {'T','R','E','E','V','I','E','W','\0'}},
{classWindow, {'W','I','N','D','O','W','\0'}}
}
static const MSSTYLES_CLASS_MAP classTreeview[]
Definition: stylemap.c:859
static const MSSTYLES_CLASS_MAP classSpin[]
Definition: stylemap.c:614
static const MSSTYLES_CLASS_MAP classTab[]
Definition: stylemap.c:666
static const MSSTYLES_CLASS_MAP classMenuband[]
Definition: stylemap.c:502
static const MSSTYLES_CLASS_MAP classListview[]
Definition: stylemap.c:460
static const MSSTYLES_CLASS_MAP classEdit[]
Definition: stylemap.c:388
static const MSSTYLES_CLASS_MAP classStatus[]
Definition: stylemap.c:659
static const MSSTYLES_CLASS_MAP classRebar[]
Definition: stylemap.c:546
static const MSSTYLES_CLASS_MAP classGlobals[]
Definition: stylemap.c:321
static const MSSTYLES_CLASS_MAP classTraynotify[]
Definition: stylemap.c:853
static const MSSTYLES_CLASS_MAP classStartpanel[]
Definition: stylemap.c:638
static const MSSTYLES_CLASS_MAP classExplorerbar[]
Definition: stylemap.c:401
static const MSSTYLES_CLASS_MAP classClock[]
Definition: stylemap.c:373
static const MSSTYLES_CLASS_MAP classHeader[]
Definition: stylemap.c:441
static const MSSTYLES_CLASS_MAP classWindow[]
Definition: stylemap.c:873
static const MSSTYLES_CLASS_MAP classTooltip[]
Definition: stylemap.c:785
static const MSSTYLES_CLASS_MAP classTaskbar[]
Definition: stylemap.c:727
static const MSSTYLES_CLASS_MAP classTaskband[]
Definition: stylemap.c:720
static const MSSTYLES_CLASS_MAP classScrollbar[]
Definition: stylemap.c:558
static const MSSTYLES_CLASS_MAP classTrackbar[]
Definition: stylemap.c:805
static const MSSTYLES_CLASS_MAP classMenu[]
Definition: stylemap.c:474
static const MSSTYLES_CLASS_MAP classToolbar[]
Definition: stylemap.c:739
static const MSSTYLES_CLASS_MAP classProgress[]
Definition: stylemap.c:538
static const MSSTYLES_CLASS_MAP classCombobox[]
Definition: stylemap.c:379
static const MSSTYLES_CLASS_MAP classButton[]
Definition: stylemap.c:337
static const MSSTYLES_CLASS_MAP classPage[]
Definition: stylemap.c:514

Definition at line 1009 of file stylemap.c.

Referenced by MSSTYLES_LookupPartState().

◆ mapEnum

const MSSTYLES_ENUM_MAP mapEnum[]
static

Definition at line 250 of file stylemap.c.

Referenced by MSSTYLES_LookupEnum().

◆ mapProperty

const MSSTYLES_PROPERTY_MAP mapProperty[]
static

Definition at line 50 of file stylemap.c.

Referenced by MSSTYLES_LookupProperty().