mirror of
https://github.com/reactos/wine.git
synced 2024-12-05 02:07:16 +00:00
1033 lines
26 KiB
C
1033 lines
26 KiB
C
/*
|
|
* Copyright (C) 2003 Kevin Koltzau
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
|
|
#ifndef __WINE_TMSCHEMA_H
|
|
#define __WINE_TMSCHEMA_H
|
|
|
|
|
|
/* Primitive types */
|
|
#define TMT_STRING 201
|
|
#define TMT_INT 202
|
|
#define TMT_BOOL 203
|
|
#define TMT_COLOR 204
|
|
#define TMT_MARGINS 205
|
|
#define TMT_FILENAME 206
|
|
#define TMT_SIZE 207
|
|
#define TMT_POSITION 208
|
|
#define TMT_RECT 209
|
|
#define TMT_FONT 210
|
|
#define TMT_INTLIST 211
|
|
|
|
|
|
/* Enumerations */
|
|
|
|
/* BGTYPE Enum */
|
|
#define BT_IMAGEFILE 0
|
|
#define BT_BORDERFILL 1
|
|
#define BT_NONE 2
|
|
|
|
/* IMAGELAYOUT Enum */
|
|
#define IL_VERTICAL 0
|
|
#define IL_HORIZONTAL 1
|
|
|
|
/* BORDERTYPE Enum */
|
|
#define BT_RECT 0
|
|
#define BT_ROUNDRECT 1
|
|
#define BT_ELLIPSE 2
|
|
|
|
/* FILLTYPE Enum */
|
|
#define FT_SOLID 0
|
|
#define FT_VERTGRADIENT 1
|
|
#define FT_HORZGRADIENT 2
|
|
#define FT_RADIALGRADIENT 3
|
|
#define FT_TILEIMAGE 4
|
|
|
|
/* SIZINGTYPE Enum */
|
|
#define ST_TRUESIZE 0
|
|
#define ST_STRETCH 1
|
|
#define ST_TILE 2
|
|
|
|
/* HALIGN Enum */
|
|
#define HA_LEFT 0
|
|
#define HA_CENTER 1
|
|
#define HA_RIGHT 2
|
|
|
|
/* CONTENTALIGNMENT Enum */
|
|
#define CA_LEFT 0
|
|
#define CA_CENTER 1
|
|
#define CA_RIGHT 2
|
|
|
|
/* VALIGN Enum */
|
|
#define VA_TOP 0
|
|
#define VA_CENTER 1
|
|
#define VA_BOTTOM 2
|
|
|
|
/* OFFSETTYPE Enum */
|
|
#define OT_TOPLEFT 0
|
|
#define OT_TOPRIGHT 1
|
|
#define OT_TOPMIDDLE 2
|
|
#define OT_BOTTOMLEFT 3
|
|
#define OT_BOTTOMRIGHT 4
|
|
#define OT_BOTTOMMIDDLE 5
|
|
#define OT_MIDDLELEFT 6
|
|
#define OT_MIDDLERIGHT 7
|
|
#define OT_LEFTOFCAPTION 8
|
|
#define OT_RIGHTOFCAPTION 9
|
|
#define OT_LEFTOFLASTBUTTON 10
|
|
#define OT_RIGHTOFLASTBUTTON 11
|
|
#define OT_ABOVELASTBUTTON 12
|
|
#define OT_BELOWLASTBUTTON 13
|
|
|
|
/* ICONEFFECT Enum */
|
|
#define ICE_NONE 0
|
|
#define ICE_GLOW 1
|
|
#define ICE_SHADOW 2
|
|
#define ICE_PULSE 3
|
|
#define ICE_ALPHA 4
|
|
|
|
/* TEXTSHADOWTYPE Enum */
|
|
#define TST_NONE 0
|
|
#define TST_SINGLE 1
|
|
#define TST_CONTINUOUS 2
|
|
|
|
/* GLYPHTYPE Enum */
|
|
#define GT_NONE 0
|
|
#define GT_IMAGEGLYPH 1
|
|
#define GT_FONTGLYPH 2
|
|
|
|
/* IMAGESELECTTYPE Enum */
|
|
#define IST_NONE 0
|
|
#define IST_SIZE 1
|
|
#define IST_DPI 2
|
|
|
|
/* TRUESIZESCALINGTYPE Enum */
|
|
#define TSST_NONE 0
|
|
#define TSST_SIZE 1
|
|
#define TSST_DPI 2
|
|
|
|
/* GLYPHFONTSIZINGTYPE Enum */
|
|
#define GFST_NONE 0
|
|
#define GFST_SIZE 1
|
|
#define GFST_DPI 2
|
|
|
|
|
|
/* PROPERTIES */
|
|
|
|
/* Misc properties */
|
|
#define TMT_COLORSCHEMES 401
|
|
#define TMT_SIZES 402
|
|
#define TMT_CHARSET 403
|
|
|
|
/* Documentation properties */
|
|
#define TMT_DISPLAYNAME 601
|
|
#define TMT_TOOLTIP 602
|
|
#define TMT_COMPANY 603
|
|
#define TMT_AUTHOR 604
|
|
#define TMT_COPYRIGHT 605
|
|
#define TMT_URL 606
|
|
#define TMT_VERSION 607
|
|
#define TMT_DESCRIPTION 608
|
|
#define TMT_FIRST_RCSTRING_NAME TMT_DISPLAYNAME
|
|
#define TMT_LAST_RCSTRING_NAME TMT_DESCRIPTION
|
|
|
|
/* Font theme metric properties */
|
|
#define TMT_CAPTIONFONT 801
|
|
#define TMT_SMALLCAPTIONFONT 802
|
|
#define TMT_MENUFONT 803
|
|
#define TMT_STATUSFONT 804
|
|
#define TMT_MSGBOXFONT 805
|
|
#define TMT_ICONTITLEFONT 806
|
|
#define TMT_FIRSTFONT TMT_CAPTIONFONT
|
|
#define TMT_LASTFONT TMT_ICONTITLEFONT
|
|
|
|
/* Bool theme metric properties */
|
|
#define TMT_FLATMENUS 1001
|
|
#define TMT_FIRSTBOOL TMT_FLATMENUS
|
|
#define TMT_LASTBOOL TMT_FLATMENUS
|
|
|
|
/* Size theme metric properties */
|
|
#define TMT_SIZINGBORDERWIDTH 1201
|
|
#define TMT_SCROLLBARWIDTH 1202
|
|
#define TMT_SCROLLBARHEIGHT 1203
|
|
#define TMT_CAPTIONBARWIDTH 1204
|
|
#define TMT_CAPTIONBARHEIGHT 1205
|
|
#define TMT_SMCAPTIONBARWIDTH 1206
|
|
#define TMT_SMCAPTIONBARHEIGHT 1207
|
|
#define TMT_MENUBARWIDTH 1208
|
|
#define TMT_MENUBARHEIGHT 1209
|
|
#define TMT_FIRSTSIZE TMT_SIZINGBORDERWIDTH
|
|
#define TMT_LASTSIZE TMT_MENUBARHEIGHT
|
|
|
|
/* Int theme metric properties */
|
|
#define TMT_MINCOLORDEPTH 1301
|
|
#define TMT_FIRSTINT TMT_MINCOLORDEPTH
|
|
#define TMT_LASTINT TMT_MINCOLORDEPTH
|
|
|
|
/* String theme metric properties */
|
|
#define TMT_CSSNAME 1401
|
|
#define TMT_XMLNAME 1402
|
|
#define TMT_FIRSTSTRING TMT_CSSNAME
|
|
#define TMT_LASTSTRING TMT_XMLNAME
|
|
|
|
/* Color theme metric properties */
|
|
#define TMT_SCROLLBAR 1601
|
|
#define TMT_BACKGROUND 1602
|
|
#define TMT_ACTIVECAPTION 1603
|
|
#define TMT_INACTIVECAPTION 1604
|
|
#define TMT_MENU 1605
|
|
#define TMT_WINDOW 1606
|
|
#define TMT_WINDOWFRAME 1607
|
|
#define TMT_MENUTEXT 1608
|
|
#define TMT_WINDOWTEXT 1609
|
|
#define TMT_CAPTIONTEXT 1610
|
|
#define TMT_ACTIVEBORDER 1611
|
|
#define TMT_INACTIVEBORDER 1612
|
|
#define TMT_APPWORKSPACE 1613
|
|
#define TMT_HIGHLIGHT 1614
|
|
#define TMT_HIGHLIGHTTEXT 1615
|
|
#define TMT_BTNFACE 1616
|
|
#define TMT_BTNSHADOW 1617
|
|
#define TMT_GRAYTEXT 1618
|
|
#define TMT_BTNTEXT 1619
|
|
#define TMT_INACTIVECAPTIONTEXT 1620
|
|
#define TMT_BTNHIGHLIGHT 1621
|
|
#define TMT_DKSHADOW3D 1622
|
|
#define TMT_LIGHT3D 1623
|
|
#define TMT_INFOTEXT 1624
|
|
#define TMT_INFOBK 1625
|
|
#define TMT_BUTTONALTERNATEFACE 1626
|
|
#define TMT_HOTTRACKING 1627
|
|
#define TMT_GRADIENTACTIVECAPTION 1628
|
|
#define TMT_GRADIENTINACTIVECAPTION 1629
|
|
#define TMT_MENUHILIGHT 1630
|
|
#define TMT_MENUBAR 1631
|
|
#define TMT_FIRSTCOLOR TMT_SCROLLBAR
|
|
#define TMT_LASTCOLOR TMT_MENUBAR
|
|
|
|
|
|
/* hue substitutions */
|
|
#define TMT_FROMHUE1 1801
|
|
#define TMT_FROMHUE2 1802
|
|
#define TMT_FROMHUE3 1803
|
|
#define TMT_FROMHUE4 1804
|
|
#define TMT_FROMHUE5 1805
|
|
#define TMT_TOHUE1 1806
|
|
#define TMT_TOHUE2 1807
|
|
#define TMT_TOHUE3 1808
|
|
#define TMT_TOHUE4 1809
|
|
#define TMT_TOHUE5 1810
|
|
|
|
/* color substitutions */
|
|
#define TMT_FROMCOLOR1 2001
|
|
#define TMT_FROMCOLOR2 2002
|
|
#define TMT_FROMCOLOR3 2003
|
|
#define TMT_FROMCOLOR4 2004
|
|
#define TMT_FROMCOLOR5 2005
|
|
#define TMT_TOCOLOR1 2006
|
|
#define TMT_TOCOLOR2 2007
|
|
#define TMT_TOCOLOR3 2008
|
|
#define TMT_TOCOLOR4 2009
|
|
#define TMT_TOCOLOR5 2010
|
|
|
|
|
|
/* Bool rendering properties */
|
|
#define TMT_TRANSPARENT 2201
|
|
#define TMT_AUTOSIZE 2202
|
|
#define TMT_BORDERONLY 2203
|
|
#define TMT_COMPOSITED 2204
|
|
#define TMT_BGFILL 2205
|
|
#define TMT_GLYPHTRANSPARENT 2206
|
|
#define TMT_GLYPHONLY 2207
|
|
#define TMT_ALWAYSSHOWSIZINGBAR 2208
|
|
#define TMT_MIRRORIMAGE 2209
|
|
#define TMT_UNIFORMSIZING 2210
|
|
#define TMT_INTEGRALSIZING 2211
|
|
#define TMT_SOURCEGROW 2212
|
|
#define TMT_SOURCESHRINK 2213
|
|
|
|
/* Int rendering properties */
|
|
#define TMT_IMAGECOUNT 2401
|
|
#define TMT_ALPHALEVEL 2402
|
|
#define TMT_BORDERSIZE 2403
|
|
#define TMT_ROUNDCORNERWIDTH 2404
|
|
#define TMT_ROUNDCORNERHEIGHT 2405
|
|
#define TMT_GRADIENTRATIO1 2406
|
|
#define TMT_GRADIENTRATIO2 2407
|
|
#define TMT_GRADIENTRATIO3 2408
|
|
#define TMT_GRADIENTRATIO4 2409
|
|
#define TMT_GRADIENTRATIO5 2410
|
|
#define TMT_PROGRESSCHUNKSIZE 2411
|
|
#define TMT_PROGRESSSPACESIZE 2412
|
|
#define TMT_SATURATION 2413
|
|
#define TMT_TEXTBORDERSIZE 2414
|
|
#define TMT_ALPHATHRESHOLD 2415
|
|
#define TMT_WIDTH 2416
|
|
#define TMT_HEIGHT 2417
|
|
#define TMT_GLYPHINDEX 2418
|
|
#define TMT_TRUESIZESTRETCHMARK 2419
|
|
#define TMT_MINDPI1 2420
|
|
#define TMT_MINDPI2 2421
|
|
#define TMT_MINDPI3 2422
|
|
#define TMT_MINDPI4 2423
|
|
#define TMT_MINDPI5 2424
|
|
|
|
/* Font rendering properties */
|
|
#define TMT_GLYPHFONT 2601
|
|
|
|
/* Filename rendering properties */
|
|
#define TMT_IMAGEFILE 3001
|
|
#define TMT_IMAGEFILE1 3002
|
|
#define TMT_IMAGEFILE2 3003
|
|
#define TMT_IMAGEFILE3 3004
|
|
#define TMT_IMAGEFILE4 3005
|
|
#define TMT_IMAGEFILE5 3006
|
|
#define TMT_STOCKIMAGEFILE 3007
|
|
#define TMT_GLYPHIMAGEFILE 3008
|
|
|
|
/* String rendering properties */
|
|
#define TMT_TEXT 3201
|
|
|
|
/* Position rendering properties */
|
|
#define TMT_OFFSET 3401
|
|
#define TMT_TEXTSHADOWOFFSET 3402
|
|
#define TMT_MINSIZE 3403
|
|
#define TMT_MINSIZE1 3404
|
|
#define TMT_MINSIZE2 3405
|
|
#define TMT_MINSIZE3 3406
|
|
#define TMT_MINSIZE4 3407
|
|
#define TMT_MINSIZE5 3408
|
|
#define TMT_NORMALSIZE 3409
|
|
|
|
/* Margin rendering properties */
|
|
#define TMT_SIZINGMARGINS 3601
|
|
#define TMT_CONTENTMARGINS 3602
|
|
#define TMT_CAPTIONMARGINS 3603
|
|
|
|
/* Color rendering properties */
|
|
#define TMT_BORDERCOLOR 3801
|
|
#define TMT_FILLCOLOR 3802
|
|
#define TMT_TEXTCOLOR 3803
|
|
#define TMT_EDGELIGHTCOLOR 3804
|
|
#define TMT_EDGEHIGHLIGHTCOLOR 3805
|
|
#define TMT_EDGESHADOWCOLOR 3806
|
|
#define TMT_EDGEDKSHADOWCOLOR 3807
|
|
#define TMT_EDGEFILLCOLOR 3808
|
|
#define TMT_TRANSPARENTCOLOR 3809
|
|
#define TMT_GRADIENTCOLOR1 3810
|
|
#define TMT_GRADIENTCOLOR2 3811
|
|
#define TMT_GRADIENTCOLOR3 3812
|
|
#define TMT_GRADIENTCOLOR4 3813
|
|
#define TMT_GRADIENTCOLOR5 3814
|
|
#define TMT_SHADOWCOLOR 3815
|
|
#define TMT_GLOWCOLOR 3816
|
|
#define TMT_TEXTBORDERCOLOR 3817
|
|
#define TMT_TEXTSHADOWCOLOR 3818
|
|
#define TMT_GLYPHTEXTCOLOR 3819
|
|
#define TMT_GLYPHTRANSPARENTCOLOR 3820
|
|
#define TMT_FILLCOLORHINT 3821
|
|
#define TMT_BORDERCOLORHINT 3822
|
|
#define TMT_ACCENTCOLORHINT 3823
|
|
|
|
/* Enum rendering properties */
|
|
#define TMT_BGTYPE 4001
|
|
#define TMT_BORDERTYPE 4002
|
|
#define TMT_FILLTYPE 4003
|
|
#define TMT_SIZINGTYPE 4004
|
|
#define TMT_HALIGN 4005
|
|
#define TMT_CONTENTALIGNMENT 4006
|
|
#define TMT_VALIGN 4007
|
|
#define TMT_OFFSETTYPE 4008
|
|
#define TMT_ICONEFFECT 4009
|
|
#define TMT_TEXTSHADOWTYPE 4010
|
|
#define TMT_IMAGELAYOUT 4011
|
|
#define TMT_GLYPHTYPE 4012
|
|
#define TMT_IMAGESELECTTYPE 4013
|
|
#define TMT_GLYPHFONTSIZINGTYPE 4014
|
|
#define TMT_TRUESIZESCALINGTYPE 4015
|
|
|
|
/* custom properties */
|
|
#define TMT_USERPICTURE 5001
|
|
#define TMT_DEFAULTPANESIZE 5002
|
|
#define TMT_BLENDCOLOR 5003
|
|
|
|
/* PARTS & STATES */
|
|
|
|
/* BUTTON parts */
|
|
#define BP_PUSHBUTTON 1
|
|
#define BP_RADIOBUTTON 2
|
|
#define BP_CHECKBOX 3
|
|
#define BP_GROUPBOX 4
|
|
#define BP_USERBUTTON 5
|
|
|
|
/* BUTTON PUSHBUTTON states */
|
|
#define PBS_NORMAL 1
|
|
#define PBS_HOT 2
|
|
#define PBS_PRESSED 3
|
|
#define PBS_DISABLED 4
|
|
#define PBS_DEFAULTED 5
|
|
|
|
/* BUTTON RADIOBUTTON states */
|
|
#define RBS_UNCHECKEDNORMAL 1
|
|
#define RBS_UNCHECEDHOT 2
|
|
#define RBS_UNCHECKEDPRESSED 3
|
|
#define RBS_UNCHECKEDDISABLED 4
|
|
#define RBS_CHECKEDNORMAL 5
|
|
#define RBS_CHECKEDHOT 6
|
|
#define RBS_CHECKEDPRESSED 7
|
|
#define RBS_CHECKEDDISABLED 8
|
|
|
|
/* BUTTON CHECBOX states */
|
|
#define CBS_UNCHECKEDNORMAL 1
|
|
#define CBS_UNCHECKEDHOT 2
|
|
#define CBS_UNCHECKEDPRESSED 3
|
|
#define CBS_UNCHECKEDDISABLED 4
|
|
#define CBS_CHECKEDNORMAL 5
|
|
#define CBS_CHECKEDHOT 6
|
|
#define CBS_CHECKEDPRESSED 7
|
|
#define CBS_CHECKEDDISABLED 8
|
|
#define CBS_MIXEDNORMAL 9
|
|
#define CBS_MIXEDHOT 10
|
|
#define CBS_MIXEDPRESSED 11
|
|
#define CBS_MIXEDDISABLED 12
|
|
|
|
/* BUTTON GROUPBOX states */
|
|
#define GBS_NORMAL 1
|
|
#define GBS_DISABLED 2
|
|
|
|
/* CLOCK parts */
|
|
#define CLP_TIME 1
|
|
|
|
/* CLOCK TIME states */
|
|
#define CLS_NORMAL 1
|
|
|
|
/* COMBOBOX parts */
|
|
#define CP_DROPDOWNBUTTON 1
|
|
|
|
/* COMBOBOX DROPDOWNBUTTON states */
|
|
#define CBXS_NORMAL 1
|
|
#define CBXS_HOT 2
|
|
#define CBXS_PRESSED 3
|
|
#define CBXS_DISABLED 4
|
|
|
|
/* EDIT parts */
|
|
#define EP_EDITTEXT 1
|
|
#define EP_CARET 2
|
|
|
|
/* EDIT EDITTEXT states */
|
|
#define ETS_NORMAL 1
|
|
#define ETS_HOT 2
|
|
#define ETS_SELECTED 3
|
|
#define ETS_DISABLED 4
|
|
#define ETS_FOCUSED 5
|
|
#define ETS_READONLY 6
|
|
#define ETS_ASSIST 7
|
|
|
|
/* EXPLORERBAR parts */
|
|
#define EBP_HEADERBACKGROUND 1
|
|
#define EBP_HEADERCLOSE 2
|
|
#define EBP_HEADERPIN 3
|
|
#define EBP_IEBARMENU 4
|
|
#define EBP_NORMALGROUPBACKGROUND 5
|
|
#define EBP_NORMALGROUPCOLLAPSE 6
|
|
#define EBP_NORMALGROUPEXPAND 7
|
|
#define EBP_NORMALGROUPHEAD 8
|
|
#define EBP_SPECIALGROUPBACKGROUND 9
|
|
#define EBP_SPECIALGROUPCOLLAPSE 10
|
|
#define EBP_SPECIALGROUPEXPAND 11
|
|
#define EBP_SPECIALGROUPHEAD 12
|
|
|
|
/* EXPLORERBAR HEADERCLOSE states */
|
|
#define EBHC_NORMAL 1
|
|
#define EBHC_HOT 2
|
|
#define EBHC_PRESSED 3
|
|
|
|
/* EXPLORERBAR HEADERPIN states */
|
|
#define EBHP_NORMAL 1
|
|
#define EBHP_HOT 2
|
|
#define EBHP_PRESSED 3
|
|
#define EBHP_SELECTEDNORMAL 4
|
|
#define EBHP_SELECTEDHOT 5
|
|
#define EBHP_SELECTEDPRESSED 6
|
|
|
|
/* EXPLORERBAR IEBARMENU states */
|
|
#define EBM_NORMAL 1
|
|
#define EBM_HOT 2
|
|
#define EBM_PRESSED 3
|
|
|
|
/* EXPLORERBAR NORMALGROUPCOLLAPSE states */
|
|
#define EBNGC_NORMAL 1
|
|
#define EBNGC_HOT 2
|
|
#define EBNGC_PRESSED 3
|
|
|
|
/* EXPLORERBAR NORMALGROUPEXPAND states */
|
|
#define EBNGE_NORMAL 1
|
|
#define EBNGE_HOT 2
|
|
#define EBNGE_PRESSED 3
|
|
|
|
/* EXPLORERBAR SPECIALGROUPCOLLAPSE states */
|
|
#define EBSGC_NORMAL 1
|
|
#define EBSGC_HOT 2
|
|
#define EBSGC_PRESSED 3
|
|
|
|
/* EXPLORERBAR SPECIALGROUPEXPAND states */
|
|
#define EBSGE_NORMAL 1
|
|
#define EBSGE_HOT 2
|
|
#define EBSGE_PRESSED 3
|
|
|
|
/* GLOBALS parts */
|
|
#define GP_BORDER 1
|
|
#define GP_LINEHORZ 2
|
|
#define GP_LINEVERT 3
|
|
|
|
/* GLOBALS BORDER states */
|
|
#define BSS_FLAT 1
|
|
#define BSS_RAISED 2
|
|
#define BSS_SUNKEN 3
|
|
|
|
/* GLOBALS LINEHORZ states */
|
|
#define LHS_FLAT 1
|
|
#define LHS_RAISED 2
|
|
#define LHS_SUNKEN 3
|
|
|
|
/* GLOBAL LINEVERT states */
|
|
#define LVS_FLAT 1
|
|
#define LVS_RAISED 2
|
|
#define LVS_SUNKEN 3
|
|
|
|
/* HEADER parts */
|
|
#define HP_HEADERITEM 1
|
|
#define HP_HEADERITEMLEFT 2
|
|
#define HP_HEADERITEMRIGHT 3
|
|
#define HP_HEADERSORTARROW 4
|
|
|
|
/* HEADER HEADERITEM states */
|
|
#define HIS_NORMAL 1
|
|
#define HIS_HOT 2
|
|
#define HIS_PRESSED 3
|
|
|
|
/* HEADER HEADERITEMLEFT states */
|
|
#define HILS_NORMAL 1
|
|
#define HILS_HOT 2
|
|
#define HILS_PRESSED 3
|
|
|
|
/* HEADER HEADERITEMRIGHT states */
|
|
#define HIRS_NORMAL 1
|
|
#define HIRS_HOT 2
|
|
#define HIRS_PRESSED 3
|
|
|
|
/* HEADER HEADERSORTARROW states */
|
|
#define HSAS_NORMAL 1
|
|
#define HSAS_HOT 2
|
|
#define HSAS_PRESSED 3
|
|
|
|
/* LISTVIEW parts */
|
|
#define LVP_LISTITEM 1
|
|
#define LVP_LISTGROUP 2
|
|
#define LVP_LISTDETAIL 3
|
|
#define LVP_LISTSORTEDDETAIL 4
|
|
#define LVP_EMPTYTEXT 5
|
|
|
|
/* LISTVIEW LISTITEM states */
|
|
#define LIS_NORMAL 1
|
|
#define LIS_HOT 2
|
|
#define LIS_SELECTED 3
|
|
#define LIS_DISABLED 4
|
|
#define LIS_SELECTEDNOTFOCUS 5
|
|
|
|
/* MENU parts */
|
|
#define MP_MENUITEM 1
|
|
#define MP_MENUDROPDOWN 2
|
|
#define MP_MENUBARITEM 3
|
|
#define MP_MENUBARDROPDOWN 4
|
|
#define MP_CHEVRON 5
|
|
#define MP_SEPARATOR 6
|
|
|
|
/* MENU * states */
|
|
#define MS_NORMAL 1
|
|
#define MS_SELECTED 2
|
|
#define MS_DEMOTED 3
|
|
|
|
/* MENUBAND parts */
|
|
#define MDP_NEWAPPBUTTON 1
|
|
/* MDP_SEPERATOR isn't a typo, as per Microsoft's headers */
|
|
#define MDP_SEPERATOR 2
|
|
|
|
/* MENUBAND NEWAPPBUTTON states */
|
|
#define MDS_NORMAL 1
|
|
#define MDS_HOT 2
|
|
#define MDS_PRESSED 3
|
|
#define MDS_DISABLED 4
|
|
#define MDS_CHECKED 5
|
|
#define MDS_HOTCHECKED 6
|
|
|
|
/* PAGE parts */
|
|
#define PGRP_UP 1
|
|
#define PGRP_DOWN 2
|
|
#define PGRP_UPHORZ 3
|
|
#define PGRP_DOWNHORZ 4
|
|
|
|
/* PAGE UP states */
|
|
#define UPS_NORMAL 1
|
|
#define UPS_HOT 2
|
|
#define UPS_PRESSED 3
|
|
#define UPS_DISABLED 4
|
|
|
|
/* PAGE DOWN states */
|
|
#define DNS_NORMAL 1
|
|
#define DNS_HOT 2
|
|
#define DNS_PRESSED 3
|
|
#define DNS_DISABLED 4
|
|
|
|
/* PAGE UPHORZ states */
|
|
#define UPHZS_NORMAL 1
|
|
#define UPHZS_HOT 2
|
|
#define UPHZS_PRESSED 3
|
|
#define UPHZS_DISABLED 4
|
|
|
|
/* PAGE DOWNHORZ states */
|
|
#define DNHZS_NORMAL 1
|
|
#define DNHZS_HOT 2
|
|
#define DNHZS_PRESSED 3
|
|
#define DNHZS_DISABLED 4
|
|
|
|
/* PROGRESS parts */
|
|
#define PP_BAR 1
|
|
#define PP_BARVERT 2
|
|
#define PP_CHUNK 3
|
|
#define PP_CHUNKVERT 4
|
|
|
|
/* REBAR parts */
|
|
#define RP_GRIPPER 1
|
|
#define RP_GRIPPERVERT 2
|
|
#define RP_BAND 3
|
|
#define RP_CHEVRON 4
|
|
#define RP_CHEVRONVERT 5
|
|
|
|
/* REBAR CHEVRON states */
|
|
#define CHEVS_NORMAL 1
|
|
#define CHEVS_HOT 2
|
|
#define CHEVS_PRESSED 3
|
|
|
|
/* SCROLLBAR parts */
|
|
#define SBP_ARROWBTN 1
|
|
#define SBP_THUMBBTNHORZ 2
|
|
#define SBP_THUMBBTNVERT 3
|
|
#define SBP_LOWERTRACKHORZ 4
|
|
#define SBP_UPPERTRACKHORZ 5
|
|
#define SBP_LOWERTRACKVERT 6
|
|
#define SBP_UPPERTRACKVERT 7
|
|
#define SBP_GRIPPERHORZ 8
|
|
#define SBP_GRIPPERVERT 9
|
|
#define SBP_SIZEBOX 10
|
|
|
|
/* SCROLLBAR ARROWBTN states */
|
|
#define ABS_UPNORMAL 1
|
|
#define ABS_UPHOT 2
|
|
#define ABS_UPPRESSED 3
|
|
#define ABS_UPDISABLED 4
|
|
#define ABS_DOWNNORMAL 5
|
|
#define ABS_DOWNHOT 6
|
|
#define ABS_DOWNPRESSED 7
|
|
#define ABS_DOWNDISABLED 8
|
|
#define ABS_LEFTNORMAL 9
|
|
#define ABS_LEFTHOT 10
|
|
#define ABS_LEFTPRESSED 11
|
|
#define ABS_LEFTDISABLED 12
|
|
#define ABS_RIGHTNORMAL 13
|
|
#define ABS_RIGHTHOT 14
|
|
#define ABS_RIGHTPRESSED 15
|
|
#define ABS_RIGHTDISABLED 16
|
|
|
|
/* SCROLLBAR LOWER* / THUMB* / UPPER* states */
|
|
#define SCRBS_NORMAL 1
|
|
#define SCRBS_HOT 2
|
|
#define SCRBS_PRESSED 3
|
|
#define SCRBS_DISABLED 4
|
|
|
|
/* SCROLLBAR SIZEBOX states */
|
|
#define SZB_RIGHTALIGN 1
|
|
#define SZB_LEFTALIGN 2
|
|
|
|
/* SPIN parts */
|
|
#define SPNP_UP 1
|
|
#define SPNP_DOWN 2
|
|
#define SPNP_UPHORZ 3
|
|
#define SPNP_DOWNHORZ 4
|
|
|
|
/* SPIN * states */
|
|
/* See PAGE states */
|
|
|
|
/* STARTPANEL parts */
|
|
#define SPP_USERPANE 1
|
|
#define SPP_MOREPROGRAMS 2
|
|
#define SPP_MOREPROGRAMSARROW 3
|
|
#define SPP_PROGLIST 4
|
|
#define SPP_PROGLISTSEPARATOR 5
|
|
#define SPP_PLACESLIST 6
|
|
#define SPP_PLACESLISTSEPARATOR 7
|
|
#define SPP_LOGOFF 8
|
|
#define SPP_LOGOFFBUTTONS 9
|
|
#define SPP_USERPICTURE 10
|
|
#define SPP_PREVIEW 11
|
|
|
|
/* STARTPANEL MOREPROGRAMSARROW states */
|
|
#define SPS_NORMAL 1
|
|
#define SPS_HOT 2
|
|
#define SPS_PRESSED 3
|
|
|
|
/* STARTPANEL LOGOFFBUTTONS states */
|
|
#define SPLS_NORMAL 1
|
|
#define SPLS_HOT 2
|
|
#define SPLS_PRESSED 3
|
|
|
|
/* STATUS parts */
|
|
#define SP_PANE 1
|
|
#define SP_GRIPPERPANE 2
|
|
#define SP_GRIPPER 3
|
|
|
|
/* TAB parts */
|
|
#define TABP_TABITEM 1
|
|
#define TABP_TABITEMLEFTEDGE 2
|
|
#define TABP_TABITEMRIGHTEDGE 3
|
|
#define TABP_TABITEMBOTHEDGE 4
|
|
#define TABP_TOPTABITEM 5
|
|
#define TABP_TOPTABITEMLEFTEDGE 6
|
|
#define TABP_TOPTABITEMRIGHTEDGE 7
|
|
#define TABP_TOPTABITEMBOTHEDGE 8
|
|
#define TABP_PANE 9
|
|
#define TABP_BODY 10
|
|
|
|
/* TAB TABITEM states */
|
|
#define TIS_NORMAL 1
|
|
#define TIS_HOT 2
|
|
#define TIS_SELECTED 3
|
|
#define TIS_DISABLED 4
|
|
#define TIS_FOCUSED 5
|
|
|
|
/* TAB TABITEMLEFTEDGE states */
|
|
#define TILES_NORMAL 1
|
|
#define TILES_HOT 2
|
|
#define TILES_SELECTED 3
|
|
#define TILES_DISABLED 4
|
|
#define TILES_FOCUSED 5
|
|
|
|
/* TAB TABITEMRIGHTEDGE states */
|
|
#define TIRES_NORMAL 1
|
|
#define TIRES_HOT 2
|
|
#define TIRES_SELECTED 3
|
|
#define TIRES_DISABLED 4
|
|
#define TIRES_FOCUSED 5
|
|
|
|
/* TAB TABITEMBOTHEDGES states */
|
|
#define TIBES_NORMAL 1
|
|
#define TIBES_HOT 2
|
|
#define TIBES_SELECTED 3
|
|
#define TIBES_DISABLED 4
|
|
#define TIBES_FOCUSED 5
|
|
|
|
/* TAB TOPTABITEM states */
|
|
#define TTIS_NORMAL 1
|
|
#define TTIS_HOT 2
|
|
#define TTIS_SELECTED 3
|
|
#define TTIS_DISABLED 4
|
|
#define TTIS_FOCUSED 5
|
|
|
|
/* TAB TOPTABITEMLEFTEDGE states */
|
|
#define TTILES_NORMAL 1
|
|
#define TTILES_HOT 2
|
|
#define TTILES_SELECTED 3
|
|
#define TTILES_DISABLED 4
|
|
#define TTILES_FOCUSED 5
|
|
|
|
/* TAB TOPTABITEMRIGHTEDGE states */
|
|
#define TTIRES_NORMAL 1
|
|
#define TTIRES_HOT 2
|
|
#define TTIRES_SELECTED 3
|
|
#define TTIRES_DISABLED 4
|
|
#define TTIRES_FOCUSED 5
|
|
|
|
/* TAB TOPTABITEMBOTHEDGES states */
|
|
#define TTIBES_NORMAL 1
|
|
#define TTIBES_HOT 2
|
|
#define TTIBES_SELECTED 3
|
|
#define TTIBES_DISABLED 4
|
|
#define TTIBES_FOCUSED 5
|
|
|
|
/* TASKBAND parts */
|
|
#define TDP_GROUPCOUNT 1
|
|
#define TDP_FLASHBUTTON 2
|
|
#define TDP_FLASHBUTTONGROUPMENU 3
|
|
|
|
/* TASKBAR parts */
|
|
#define TBP_BACKGROUNDBOTTOM 1
|
|
#define TBP_BACKGROUNDRIGHT 2
|
|
#define TBP_BACKGROUNDTOP 3
|
|
#define TBP_BACKGROUNDLEFT 4
|
|
#define TBP_SIZINGBARBOTTOM 5
|
|
#define TBP_SIZINGBARRIGHT 6
|
|
#define TBP_SIZINGBARTOP 7
|
|
#define TBP_SIZINGBARLEFT 8
|
|
|
|
/* TOOLBAR parts */
|
|
#define TP_BUTTON 1
|
|
#define TP_DROPDOWNBUTTON 2
|
|
#define TP_SPLITBUTTON 3
|
|
#define TP_SPLITBUTTONDROPDOWN 4
|
|
#define TP_SEPARATOR 5
|
|
#define TP_SEPARATORVERT 6
|
|
|
|
/* TOOLBAR * states */
|
|
#define TS_NORMAL 1
|
|
#define TS_HOT 2
|
|
#define TS_PRESSED 3
|
|
#define TS_DISABLED 4
|
|
#define TS_CHECKED 5
|
|
#define TS_HOTCHECKED 6
|
|
|
|
/* TOOLTIP parts */
|
|
#define TTP_STANDARD 1
|
|
#define TTP_STANDARDTITLE 2
|
|
#define TTP_BALLOON 3
|
|
#define TTP_BALLOONTITLE 4
|
|
#define TTP_CLOSE 5
|
|
|
|
/* TOOLTIP STANDARD states */
|
|
#define TTSS_NORMAL 1
|
|
#define TTSS_LINK 2
|
|
|
|
/* TOOLTIP STANDARDTITLE states */
|
|
/* See TOOLTIP STANDARD */
|
|
|
|
/* TOOLTIP BALLOON states */
|
|
#define TTBS_NORMAL 1
|
|
#define TTBS_LINK 2
|
|
|
|
/* TOOLTIP BALOONTITLE states */
|
|
/* See TOOLTIP BALOON */
|
|
|
|
/* TOOLTIP CLOSE states */
|
|
#define TTCS_NORMAL 1
|
|
#define TTCS_HOT 2
|
|
#define TTCS_PRESSED 3
|
|
|
|
/* TRACKBAR parts */
|
|
#define TKP_TRACK 1
|
|
#define TKP_TRACKVERT 2
|
|
#define TKP_THUMB 3
|
|
#define TKP_THUMBBOTTOM 4
|
|
#define TKP_THUMBTOP 5
|
|
#define TKP_THUMBVERT 6
|
|
#define TKP_THUMBLEFT 7
|
|
#define TKP_THUMBRIGHT 8
|
|
#define TKP_TICS 9
|
|
#define TKP_TICSVERT 10
|
|
|
|
/* TRACKBAR TRACK states */
|
|
#define TRS_NORMAL 1
|
|
|
|
/* TRACKBAR TRACKVERT states */
|
|
#define TRVS_NORMAL 1
|
|
|
|
/* TRACKBAR THUMB states */
|
|
#define TUS_NORMAL 1
|
|
#define TUS_HOT 2
|
|
#define TUS_PRESSED 3
|
|
#define TUS_FOCUSED 4
|
|
#define TUS_DISABLED 5
|
|
|
|
/* TRACKBAR THUMBBOTTOM states */
|
|
#define TUBS_NORMAL 1
|
|
#define TUBS_HOT 2
|
|
#define TUBS_PRESSED 3
|
|
#define TUBS_FOCUSED 4
|
|
#define TUBS_DISABLED 5
|
|
|
|
/* TRACKBAR THUMBTOP states */
|
|
#define TUTS_NORMAL 1
|
|
#define TUTS_HOT 2
|
|
#define TUTS_PRESSED 3
|
|
#define TUTS_FOCUSED 4
|
|
#define TUTS_DISABLED 5
|
|
|
|
/* TRACKBAR THUMBVERT states */
|
|
#define TUVS_NORMAL 1
|
|
#define TUVS_HOT 2
|
|
#define TUVS_PRESSED 3
|
|
#define TUVS_FOCUSED 4
|
|
#define TUVS_DISABLED 5
|
|
|
|
/* TRACKBAR THUMBLEFT states */
|
|
#define TUVLS_NORMAL 1
|
|
#define TUVLS_HOT 2
|
|
#define TUVLS_PRESSED 3
|
|
#define TUVLS_FOCUSED 4
|
|
#define TUVLS_DISABLED 5
|
|
|
|
/* TRACKBAR THUMBRIGHT states */
|
|
#define TUVRS_NORMAL 1
|
|
#define TUVRS_HOT 2
|
|
#define TUVRS_PRESSED 3
|
|
#define TUVRS_FOCUSED 4
|
|
#define TUVRS_DISABLED 5
|
|
|
|
/* TRACKBAR TICS states */
|
|
#define TSS_NORMAL 1
|
|
|
|
/* TRACKBAR TICSVERT states */
|
|
#define TSVS_NORMAL 1
|
|
|
|
/* TRAYNOTIFY parts */
|
|
#define TNP_BACKGROUND 1
|
|
#define TNP_ANIMBACKGROUND 2
|
|
|
|
/* TREEVIEW parts */
|
|
#define TVP_TREEITEM 1
|
|
#define TVP_GLYPH 2
|
|
#define TVP_BRANCH 3
|
|
|
|
/* TREEVIEW TREEITEM states */
|
|
#define TREIS_NORMAL 1
|
|
#define TREIS_HOT 2
|
|
#define TREIS_SELECTED 3
|
|
#define TREIS_DISABLED 4
|
|
#define TREIS_SELECTEDNOTFOCUS 5
|
|
|
|
/* TREEVIEW GLYPH states */
|
|
#define GLPS_CLOSED 1
|
|
#define GLPS_OPENED 2
|
|
|
|
/* WINDOW parts */
|
|
#define WP_CAPTION 1
|
|
#define WP_SMALLCAPTION 2
|
|
#define WP_MINCAPTION 3
|
|
#define WP_SMALLMINCAPTION 4
|
|
#define WP_MAXCAPTION 5
|
|
#define WP_SMALLMAXCAPTION 6
|
|
#define WP_FRAMELEFT 7
|
|
#define WP_FRAMERIGHT 8
|
|
#define WP_FRAMEBOTTOM 9
|
|
#define WP_SMALLFRAMELEFT 10
|
|
#define WP_SMALLFRAMERIGHT 11
|
|
#define WP_SMALLFRAMEBOTTOM 12
|
|
#define WP_SYSBUTTON 13
|
|
#define WP_MDISYSBUTTON 14
|
|
#define WP_MINBUTTON 15
|
|
#define WP_MDIMINBUTTON 16
|
|
#define WP_MAXBUTTON 17
|
|
#define WP_CLOSEBUTTON 18
|
|
#define WP_SMALLCLOSEBUTTON 19
|
|
#define WP_MDICLOSEBUTTON 20
|
|
#define WP_RESTOREBUTTON 21
|
|
#define WP_MDIRESTOREBUTTON 22
|
|
#define WP_HELPBUTTON 23
|
|
#define WP_MDIHELPBUTTON 24
|
|
#define WP_HORZSCROLL 25
|
|
#define WP_HORZTHUMB 26
|
|
#define WP_VERTSCROLL 27
|
|
#define WP_VERTTHUMB 28
|
|
#define WP_DIALOG 29
|
|
#define WP_CAPTIONSIZINGTEMPLATE 30
|
|
#define WP_SMALLCAPTIONSIZINGTEMPLATE 31
|
|
#define WP_FRAMELEFTSIZINGTEMPLATE 32
|
|
#define WP_SMALLFRAMELEFTSIZINGTEMPLATE 33
|
|
#define WP_FRAMERIGHTSIZINGTEMPLATE 34
|
|
#define WP_SMALLFRAMERIGHTSIZINGTEMPLATE 35
|
|
#define WP_FRAMEBOTTOMSIZINGTEMPLATE 36
|
|
#define WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE 37
|
|
|
|
/* WINDOW CAPTION / SMALLCAPTION state */
|
|
#define CS_ACTIVE 1
|
|
#define CS_INACTIVE 2
|
|
#define CS_DISABLED 3
|
|
|
|
/* WINDOW MINCAPTION / SMALLMINCAPTION state */
|
|
#define MNCS_ACTIVE 1
|
|
#define MNCS_INACTIVE 2
|
|
#define MNCS_DISABLED 3
|
|
|
|
/* WINDOW MAXCAPTION / SMALLMAXCAPTION state */
|
|
#define MXCS_ACTIVE 1
|
|
#define MXCS_INACTIVE 2
|
|
#define MXCS_DISABLED 3
|
|
|
|
/* WINDOW FRAME* / SMALLFRAME* state */
|
|
#define FS_ACTIVE 1
|
|
#define FS_INACTIVE 2
|
|
|
|
/* WINDOW SYSBUTTON / MDISYSBUTTON state */
|
|
#define SBS_NORMAL 1
|
|
#define SBS_HOT 2
|
|
#define SBS_PUSHED 3
|
|
#define SBS_DISABLED 4
|
|
|
|
/* WINDOW MINBUTTON / MDIMINBUTTON state */
|
|
#define MINBS_NORMAL 1
|
|
#define MINBS_HOT 2
|
|
#define MINBS_PUSHED 3
|
|
#define MINBS_DISABLED 4
|
|
|
|
/* WINDOW MAXBUTTON state */
|
|
#define MAXBS_NORMAL 1
|
|
#define MAXBS_HOT 2
|
|
#define MAXBS_PUSHED 3
|
|
#define MAXBS_DISABLED 4
|
|
|
|
/* WINDOW CLOSEBUTTON / SMALLCLOSEBUTTON / MDICLOSEBUTTON state */
|
|
#define CBS_NORMAL 1
|
|
#define CBS_HOT 2
|
|
#define CBS_PUSHED 3
|
|
#define CBS_DISABLED 4
|
|
|
|
/* WINDOW RESTOREBUTTON / MDIRESTOREBUTTON state */
|
|
#define RBS_NORMAL 1
|
|
#define RBS_HOT 2
|
|
#define RBS_PUSHED 3
|
|
#define RBS_DISABLED 4
|
|
|
|
/* WINDOW HELPBUTTON / MDIHELPBUTTON state */
|
|
#define HBS_NORMAL 1
|
|
#define HBS_HOT 2
|
|
#define HBS_PUSHED 3
|
|
#define HBS_DISABLED 4
|
|
|
|
/* WINDOW HORZSCROLL state */
|
|
#define HSS_NORMAL 1
|
|
#define HSS_HOT 2
|
|
#define HSS_PUSHED 3
|
|
#define HSS_DISABLED 4
|
|
|
|
/* WINDOW HORZTHUMB state */
|
|
#define HTS_NORMAL 1
|
|
#define HTS_HOT 2
|
|
#define HTS_PUSHED 3
|
|
#define HTS_DISABLED 4
|
|
|
|
/* WINDOW VERTSCROLL state */
|
|
#define VSS_NORMAL 1
|
|
#define VSS_HOT 2
|
|
#define VSS_PUSHED 3
|
|
#define VSS_DISABLED 4
|
|
|
|
/* WINDOW VERTTHUMB state */
|
|
#define VTS_NORMAL 1
|
|
#define VTS_HOT 2
|
|
#define VTS_PUSHED 3
|
|
#define VTS_DISABLED 4
|
|
|
|
#endif
|