Porting fixes.
[wine.git] / include / tmschema.h
blob047d5f0f79d506aa7f4d5220fd9da22f235fd559
1 /*
2 * Copyright (C) 2003 Kevin Koltzau
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef __WINE_TMSCHEMA_H
20 #define __WINE_TMSCHEMA_H
23 /* Primitive types */
24 #define TMT_STRING 201
25 #define TMT_INT 202
26 #define TMT_BOOL 203
27 #define TMT_COLOR 204
28 #define TMT_MARGINS 205
29 #define TMT_FILENAME 206
30 #define TMT_SIZE 207
31 #define TMT_POSITION 208
32 #define TMT_RECT 209
33 #define TMT_FONT 210
34 #define TMT_INTLIST 211
37 /* Enumerations */
39 /* BGTYPE Enum */
40 #define BT_IMAGEFILE 0
41 #define BT_BORDERFILL 1
42 #define BT_NONE 2
44 /* IMAGELAYOUT Enum */
45 #define IL_VERTICAL 0
46 #define IL_HORIZONTAL 1
48 /* BORDERTYPE Enum */
49 #define BT_RECT 0
50 #define BT_ROUNDRECT 1
51 #define BT_ELLIPSE 2
53 /* FILLTYPE Enum */
54 #define FT_SOLID 0
55 #define FT_VERTGRADIENT 1
56 #define FT_HORZGRADIENT 2
57 #define FT_RADIALGRADIENT 3
58 #define FT_TILEIMAGE 4
60 /* SIZINGTYPE Enum */
61 #define ST_TRUESIZE 0
62 #define ST_STRETCH 1
63 #define ST_TILE 2
65 /* HALIGN Enum */
66 #define HA_LEFT 0
67 #define HA_CENTER 1
68 #define HA_RIGHT 2
70 /* CONTENTALIGNMENT Enum */
71 #define CA_LEFT 0
72 #define CA_CENTER 1
73 #define CA_RIGHT 2
75 /* VALIGN Enum */
76 #define VA_TOP 0
77 #define VA_CENTER 1
78 #define VA_BOTTOM 2
80 /* OFFSETTYPE Enum */
81 #define OT_TOPLEFT 0
82 #define OT_TOPRIGHT 1
83 #define OT_TOPMIDDLE 2
84 #define OT_BOTTOMLEFT 3
85 #define OT_BOTTOMRIGHT 4
86 #define OT_BOTTOMMIDDLE 5
87 #define OT_MIDDLELEFT 6
88 #define OT_MIDDLERIGHT 7
89 #define OT_LEFTOFCAPTION 8
90 #define OT_RIGHTOFCAPTION 9
91 #define OT_LEFTOFLASTBUTTON 10
92 #define OT_RIGHTOFLASTBUTTON 11
93 #define OT_ABOVELASTBUTTON 12
94 #define OT_BELOWLASTBUTTON 13
96 /* ICONEFFECT Enum */
97 #define ICE_NONE 0
98 #define ICE_GLOW 1
99 #define ICE_SHADOW 2
100 #define ICE_PULSE 3
101 #define ICE_ALPHA 4
103 /* TEXTSHADOWTYPE Enum */
104 #define TST_NONE 0
105 #define TST_SINGLE 1
106 #define TST_CONTINUOUS 2
108 /* GLYPHTYPE Enum */
109 #define GT_NONE 0
110 #define GT_IMAGEGLYPH 1
111 #define GT_FONTGLYPH 2
113 /* IMAGESELECTTYPE Enum */
114 #define IST_NONE 0
115 #define IST_SIZE 1
116 #define IST_DPI 2
118 /* TRUESIZESCALINGTYPE Enum */
119 #define TSST_NONE 0
120 #define TSST_SIZE 1
121 #define TSST_DPI 2
123 /* GLYPHFONTSIZINGTYPE Enum */
124 #define GFST_NONE 0
125 #define GFST_SIZE 1
126 #define GFST_DPI 2
129 /* PROPERTIES */
131 /* Misc properties */
132 #define TMT_COLORSCHEMES 401
133 #define TMT_SIZES 402
134 #define TMT_CHARSET 403
136 /* Documentation properties */
137 #define TMT_DISPLAYNAME 601
138 #define TMT_TOOLTIP 602
139 #define TMT_COMPANY 603
140 #define TMT_AUTHOR 604
141 #define TMT_COPYRIGHT 605
142 #define TMT_URL 606
143 #define TMT_VERSION 607
144 #define TMT_DESCRIPTION 608
145 #define TMT_FIRST_RCSTRING_NAME TMT_DISPLAYNAME
146 #define TMT_LAST_RCSTRING_NAME TMT_DESCRIPTION
148 /* Font theme metric properties */
149 #define TMT_CAPTIONFONT 801
150 #define TMT_SMALLCAPTIONFONT 802
151 #define TMT_MENUFONT 803
152 #define TMT_STATUSFONT 804
153 #define TMT_MSGBOXFONT 805
154 #define TMT_ICONTITLEFONT 806
155 #define TMT_FIRSTFONT TMT_CAPTIONFONT
156 #define TMT_LASTFONT TMT_ICONTITLEFONT
158 /* Bool theme metric properties */
159 #define TMT_FLATMENUS 1001
160 #define TMT_FIRSTBOOL TMT_FLATMENUS
161 #define TMT_LASTBOOL TMT_FLATMENUS
163 /* Size theme metric properties */
164 #define TMT_SIZINGBORDERWIDTH 1201
165 #define TMT_SCROLLBARWIDTH 1202
166 #define TMT_SCROLLBARHEIGHT 1203
167 #define TMT_CAPTIONBARWIDTH 1204
168 #define TMT_CAPTIONBARHEIGHT 1205
169 #define TMT_SMCAPTIONBARWIDTH 1206
170 #define TMT_SMCAPTIONBARHEIGHT 1207
171 #define TMT_MENUBARWIDTH 1208
172 #define TMT_MENUBARHEIGHT 1209
173 #define TMT_FIRSTSIZE TMT_SIZINGBORDERWIDTH
174 #define TMT_LASTSIZE TMT_MENUBARHEIGHT
176 /* Int theme metric properties */
177 #define TMT_MINCOLORDEPTH 1301
178 #define TMT_FIRSTINT TMT_MINCOLORDEPTH
179 #define TMT_LASTINT TMT_MINCOLORDEPTH
181 /* String theme metric properties */
182 #define TMT_CSSNAME 1401
183 #define TMT_XMLNAME 1402
184 #define TMT_FIRSTSTRING TMT_CSSNAME
185 #define TMT_LASTSTRING TMT_XMLNAME
187 /* Color theme metric properties */
188 #define TMT_SCROLLBAR 1601
189 #define TMT_BACKGROUND 1602
190 #define TMT_ACTIVECAPTION 1603
191 #define TMT_INACTIVECAPTION 1604
192 #define TMT_MENU 1605
193 #define TMT_WINDOW 1606
194 #define TMT_WINDOWFRAME 1607
195 #define TMT_MENUTEXT 1608
196 #define TMT_WINDOWTEXT 1609
197 #define TMT_CAPTIONTEXT 1610
198 #define TMT_ACTIVEBORDER 1611
199 #define TMT_INACTIVEBORDER 1612
200 #define TMT_APPWORKSPACE 1613
201 #define TMT_HIGHLIGHT 1614
202 #define TMT_HIGHLIGHTTEXT 1615
203 #define TMT_BTNFACE 1616
204 #define TMT_BTNSHADOW 1617
205 #define TMT_GRAYTEXT 1618
206 #define TMT_BTNTEXT 1619
207 #define TMT_INACTIVECAPTIONTEXT 1620
208 #define TMT_BTNHIGHLIGHT 1621
209 #define TMT_DKSHADOW3D 1622
210 #define TMT_LIGHT3D 1623
211 #define TMT_INFOTEXT 1624
212 #define TMT_INFOBK 1625
213 #define TMT_BUTTONALTERNATEFACE 1626
214 #define TMT_HOTTRACKING 1627
215 #define TMT_GRADIENTACTIVECAPTION 1628
216 #define TMT_GRADIENTINACTIVECAPTION 1629
217 #define TMT_MENUHILIGHT 1630
218 #define TMT_MENUBAR 1631
219 #define TMT_FIRSTCOLOR TMT_SCROLLBAR
220 #define TMT_LASTCOLOR TMT_MENUBAR
223 /* hue substitutions */
224 #define TMT_FROMHUE1 1801
225 #define TMT_FROMHUE2 1802
226 #define TMT_FROMHUE3 1803
227 #define TMT_FROMHUE4 1804
228 #define TMT_FROMHUE5 1805
229 #define TMT_TOHUE1 1806
230 #define TMT_TOHUE2 1807
231 #define TMT_TOHUE3 1808
232 #define TMT_TOHUE4 1809
233 #define TMT_TOHUE5 1810
235 /* color substitutions */
236 #define TMT_FROMCOLOR1 2001
237 #define TMT_FROMCOLOR2 2002
238 #define TMT_FROMCOLOR3 2003
239 #define TMT_FROMCOLOR4 2004
240 #define TMT_FROMCOLOR5 2005
241 #define TMT_TOCOLOR1 2006
242 #define TMT_TOCOLOR2 2007
243 #define TMT_TOCOLOR3 2008
244 #define TMT_TOCOLOR4 2009
245 #define TMT_TOCOLOR5 2010
248 /* Bool rendering properties */
249 #define TMT_TRANSPARENT 2201
250 #define TMT_AUTOSIZE 2202
251 #define TMT_BORDERONLY 2203
252 #define TMT_COMPOSITED 2204
253 #define TMT_BGFILL 2205
254 #define TMT_GLYPHTRANSPARENT 2206
255 #define TMT_GLYPHONLY 2207
256 #define TMT_ALWAYSSHOWSIZINGBAR 2208
257 #define TMT_MIRRORIMAGE 2209
258 #define TMT_UNIFORMSIZING 2210
259 #define TMT_INTEGRALSIZING 2211
260 #define TMT_SOURCEGROW 2212
261 #define TMT_SOURCESHRINK 2213
263 /* Int rendering properties */
264 #define TMT_IMAGECOUNT 2401
265 #define TMT_ALPHALEVEL 2402
266 #define TMT_BORDERSIZE 2403
267 #define TMT_ROUNDCORNERWIDTH 2404
268 #define TMT_ROUNDCORNERHEIGHT 2405
269 #define TMT_GRADIENTRATIO1 2406
270 #define TMT_GRADIENTRATIO2 2407
271 #define TMT_GRADIENTRATIO3 2408
272 #define TMT_GRADIENTRATIO4 2409
273 #define TMT_GRADIENTRATIO5 2410
274 #define TMT_PROGRESSCHUNKSIZE 2411
275 #define TMT_PROGRESSSPACESIZE 2412
276 #define TMT_SATURATION 2413
277 #define TMT_TEXTBORDERSIZE 2414
278 #define TMT_ALPHATHRESHOLD 2415
279 #define TMT_WIDTH 2416
280 #define TMT_HEIGHT 2417
281 #define TMT_GLYPHINDEX 2418
282 #define TMT_TRUESIZESTRETCHMARK 2419
283 #define TMT_MINDPI1 2420
284 #define TMT_MINDPI2 2421
285 #define TMT_MINDPI3 2422
286 #define TMT_MINDPI4 2423
287 #define TMT_MINDPI5 2424
289 /* Font rendering properties */
290 #define TMT_GLYPHFONT 2601
292 /* Filename rendering properties */
293 #define TMT_IMAGEFILE 3001
294 #define TMT_IMAGEFILE1 3002
295 #define TMT_IMAGEFILE2 3003
296 #define TMT_IMAGEFILE3 3004
297 #define TMT_IMAGEFILE4 3005
298 #define TMT_IMAGEFILE5 3006
299 #define TMT_STOCKIMAGEFILE 3007
300 #define TMT_GLYPHIMAGEFILE 3008
302 /* String rendering properties */
303 #define TMT_TEXT 3201
305 /* Position rendering properties */
306 #define TMT_OFFSET 3401
307 #define TMT_TEXTSHADOWOFFSET 3402
308 #define TMT_MINSIZE 3403
309 #define TMT_MINSIZE1 3404
310 #define TMT_MINSIZE2 3405
311 #define TMT_MINSIZE3 3406
312 #define TMT_MINSIZE4 3407
313 #define TMT_MINSIZE5 3408
314 #define TMT_NORMALSIZE 3409
316 /* Margin rendering properties */
317 #define TMT_SIZINGMARGINS 3601
318 #define TMT_CONTENTMARGINS 3602
319 #define TMT_CAPTIONMARGINS 3603
321 /* Color rendering properties */
322 #define TMT_BORDERCOLOR 3801
323 #define TMT_FILLCOLOR 3802
324 #define TMT_TEXTCOLOR 3803
325 #define TMT_EDGELIGHTCOLOR 3804
326 #define TMT_EDGEHIGHLIGHTCOLOR 3805
327 #define TMT_EDGESHADOWCOLOR 3806
328 #define TMT_EDGEDKSHADOWCOLOR 3807
329 #define TMT_EDGEFILLCOLOR 3808
330 #define TMT_TRANSPARENTCOLOR 3809
331 #define TMT_GRADIENTCOLOR1 3810
332 #define TMT_GRADIENTCOLOR2 3811
333 #define TMT_GRADIENTCOLOR3 3812
334 #define TMT_GRADIENTCOLOR4 3813
335 #define TMT_GRADIENTCOLOR5 3814
336 #define TMT_SHADOWCOLOR 3815
337 #define TMT_GLOWCOLOR 3816
338 #define TMT_TEXTBORDERCOLOR 3817
339 #define TMT_TEXTSHADOWCOLOR 3818
340 #define TMT_GLYPHTEXTCOLOR 3819
341 #define TMT_GLYPHTRANSPARENTCOLOR 3820
342 #define TMT_FILLCOLORHINT 3821
343 #define TMT_BORDERCOLORHINT 3822
344 #define TMT_ACCENTCOLORHINT 3823
346 /* Enum rendering properties */
347 #define TMT_BGTYPE 4001
348 #define TMT_BORDERTYPE 4002
349 #define TMT_FILLTYPE 4003
350 #define TMT_SIZINGTYPE 4004
351 #define TMT_HALIGN 4005
352 #define TMT_CONTENTALIGNMENT 4006
353 #define TMT_VALIGN 4007
354 #define TMT_OFFSETTYPE 4008
355 #define TMT_ICONEFFECT 4009
356 #define TMT_TEXTSHADOWTYPE 4010
357 #define TMT_IMAGELAYOUT 4011
358 #define TMT_GLYPHTYPE 4012
359 #define TMT_IMAGESELECTTYPE 4013
360 #define TMT_GLYPHFONTSIZINGTYPE 4014
361 #define TMT_TRUESIZESCALINGTYPE 4015
363 /* custom properties */
364 #define TMT_USERPICTURE 5001
365 #define TMT_DEFAULTPANESIZE 5002
366 #define TMT_BLENDCOLOR 5003
368 /* PARTS & STATES */
370 /* BUTTON parts */
371 #define BP_PUSHBUTTON 1
372 #define BP_RADIOBUTTON 2
373 #define BP_CHECKBOX 3
374 #define BP_GROUPBOX 4
375 #define BP_USERBUTTON 5
377 /* BUTTON PUSHBUTTON states */
378 #define PBS_NORMAL 1
379 #define PBS_HOT 2
380 #define PBS_PRESSED 3
381 #define PBS_DISABLED 4
382 #define PBS_DEFAULTED 5
384 /* BUTTON RADIOBUTTON states */
385 #define RBS_UNCHECKEDNORMAL 1
386 #define RBS_UNCHECEDHOT 2
387 #define RBS_UNCHECKEDPRESSED 3
388 #define RBS_UNCHECKEDDISABLED 4
389 #define RBS_CHECKEDNORMAL 5
390 #define RBS_CHECKEDHOT 6
391 #define RBS_CHECKEDPRESSED 7
392 #define RBS_CHECKEDDISABLED 8
394 /* BUTTON CHECBOX states */
395 #define CBS_UNCHECKEDNORMAL 1
396 #define CBS_UNCHECKEDHOT 2
397 #define CBS_UNCHECKEDPRESSED 3
398 #define CBS_UNCHECKEDDISABLED 4
399 #define CBS_CHECKEDNORMAL 5
400 #define CBS_CHECKEDHOT 6
401 #define CBS_CHECKEDPRESSED 7
402 #define CBS_CHECKEDDISABLED 8
403 #define CBS_MIXEDNORMAL 9
404 #define CBS_MIXEDHOT 10
405 #define CBS_MIXEDPRESSED 11
406 #define CBS_MIXEDDISABLED 12
408 /* BUTTON GROUPBOX states */
409 #define GBS_NORMAL 1
410 #define GBS_DISABLED 2
412 /* CLOCK parts */
413 #define CLP_TIME 1
415 /* CLOCK TIME states */
416 #define CLS_NORMAL 1
418 /* COMBOBOX parts */
419 #define CP_DROPDOWNBUTTON 1
421 /* COMBOBOX DROPDOWNBUTTON states */
422 #define CBXS_NORMAL 1
423 #define CBXS_HOT 2
424 #define CBXS_PRESSED 3
425 #define CBXS_DISABLED 4
427 /* EDIT parts */
428 #define EP_EDITTEXT 1
429 #define EP_CARET 2
431 /* EDIT EDITTEXT states */
432 #define ETS_NORMAL 1
433 #define ETS_HOT 2
434 #define ETS_SELECTED 3
435 #define ETS_DISABLED 4
436 #define ETS_FOCUSED 5
437 #define ETS_READONLY 6
438 #define ETS_ASSIST 7
440 /* EXPLORERBAR parts */
441 #define EBP_HEADERBACKGROUND 1
442 #define EBP_HEADERCLOSE 2
443 #define EBP_HEADERPIN 3
444 #define EBP_IEBARMENU 4
445 #define EBP_NORMALGROUPBACKGROUND 5
446 #define EBP_NORMALGROUPCOLLAPSE 6
447 #define EBP_NORMALGROUPEXPAND 7
448 #define EBP_NORMALGROUPHEAD 8
449 #define EBP_SPECIALGROUPBACKGROUND 9
450 #define EBP_SPECIALGROUPCOLLAPSE 10
451 #define EBP_SPECIALGROUPEXPAND 11
452 #define EBP_SPECIALGROUPHEAD 12
454 /* EXPLORERBAR HEADERCLOSE states */
455 #define EBHC_NORMAL 1
456 #define EBHC_HOT 2
457 #define EBHC_PRESSED 3
459 /* EXPLORERBAR HEADERPIN states */
460 #define EBHP_NORMAL 1
461 #define EBHP_HOT 2
462 #define EBHP_PRESSED 3
463 #define EBHP_SELECTEDNORMAL 4
464 #define EBHP_SELECTEDHOT 5
465 #define EBHP_SELECTEDPRESSED 6
467 /* EXPLORERBAR IEBARMENU states */
468 #define EBM_NORMAL 1
469 #define EBM_HOT 2
470 #define EBM_PRESSED 3
472 /* EXPLORERBAR NORMALGROUPCOLLAPSE states */
473 #define EBNGC_NORMAL 1
474 #define EBNGC_HOT 2
475 #define EBNGC_PRESSED 3
477 /* EXPLORERBAR NORMALGROUPEXPAND states */
478 #define EBNGE_NORMAL 1
479 #define EBNGE_HOT 2
480 #define EBNGE_PRESSED 3
482 /* EXPLORERBAR SPECIALGROUPCOLLAPSE states */
483 #define EBSGC_NORMAL 1
484 #define EBSGC_HOT 2
485 #define EBSGC_PRESSED 3
487 /* EXPLORERBAR SPECIALGROUPEXPAND states */
488 #define EBSGE_NORMAL 1
489 #define EBSGE_HOT 2
490 #define EBSGE_PRESSED 3
492 /* GLOBALS parts */
493 #define GP_BORDER 1
494 #define GP_LINEHORZ 2
495 #define GP_LINEVERT 3
497 /* GLOBALS BORDER states */
498 #define BSS_FLAT 1
499 #define BSS_RAISED 2
500 #define BSS_SUNKEN 3
502 /* GLOBALS LINEHORZ states */
503 #define LHS_FLAT 1
504 #define LHS_RAISED 2
505 #define LHS_SUNKEN 3
507 /* GLOBAL LINEVERT states */
508 #define LVS_FLAT 1
509 #define LVS_RAISED 2
510 #define LVS_SUNKEN 3
512 /* HEADER parts */
513 #define HP_HEADERITEM 1
514 #define HP_HEADERITEMLEFT 2
515 #define HP_HEADERITEMRIGHT 3
516 #define HP_HEADERSORTARROW 4
518 /* HEADER HEADERITEM states */
519 #define HIS_NORMAL 1
520 #define HIS_HOT 2
521 #define HIS_PRESSED 3
523 /* HEADER HEADERITEMLEFT states */
524 #define HILS_NORMAL 1
525 #define HILS_HOT 2
526 #define HILS_PRESSED 3
528 /* HEADER HEADERITEMRIGHT states */
529 #define HIRS_NORMAL 1
530 #define HIRS_HOT 2
531 #define HIRS_PRESSED 3
533 /* HEADER HEADERSORTARROW states */
534 #define HSAS_NORMAL 1
535 #define HSAS_HOT 2
536 #define HSAS_PRESSED 3
538 /* LISTVIEW parts */
539 #define LVP_LISTITEM 1
540 #define LVP_LISTGROUP 2
541 #define LVP_LISTDETAIL 3
542 #define LVP_LISTSORTEDDETAIL 4
543 #define LVP_EMPTYTEXT 5
545 /* LISTVIEW LISTITEM states */
546 #define LIS_NORMAL 1
547 #define LIS_HOT 2
548 #define LIS_SELECTED 3
549 #define LIS_DISABLED 4
550 #define LIS_SELECTEDNOTFOCUS 5
552 /* MENU parts */
553 #define MP_MENUITEM 1
554 #define MP_MENUDROPDOWN 2
555 #define MP_MENUBARITEM 3
556 #define MP_MENUBARDROPDOWN 4
557 #define MP_CHEVRON 5
558 #define MP_SEPARATOR 6
560 /* MENU * states */
561 #define MS_NORMAL 1
562 #define MS_SELECTED 2
563 #define MS_DEMOTED 3
565 /* MENUBAND parts */
566 #define MDP_NEWAPPBUTTON 1
567 /* MDP_SEPERATOR isn't a typo, as per Microsoft's headers */
568 #define MDP_SEPERATOR 2
570 /* MENUBAND NEWAPPBUTTON states */
571 #define MDS_NORMAL 1
572 #define MDS_HOT 2
573 #define MDS_PRESSED 3
574 #define MDS_DISABLED 4
575 #define MDS_CHECKED 5
576 #define MDS_HOTCHECKED 6
578 /* PAGE parts */
579 #define PGRP_UP 1
580 #define PGRP_DOWN 2
581 #define PGRP_UPHORZ 3
582 #define PGRP_DOWNHORZ 4
584 /* PAGE UP states */
585 #define UPS_NORMAL 1
586 #define UPS_HOT 2
587 #define UPS_PRESSED 3
588 #define UPS_DISABLED 4
590 /* PAGE DOWN states */
591 #define DNS_NORMAL 1
592 #define DNS_HOT 2
593 #define DNS_PRESSED 3
594 #define DNS_DISABLED 4
596 /* PAGE UPHORZ states */
597 #define UPHZS_NORMAL 1
598 #define UPHZS_HOT 2
599 #define UPHZS_PRESSED 3
600 #define UPHZS_DISABLED 4
602 /* PAGE DOWNHORZ states */
603 #define DNHZS_NORMAL 1
604 #define DNHZS_HOT 2
605 #define DNHZS_PRESSED 3
606 #define DNHZS_DISABLED 4
608 /* PROGRESS parts */
609 #define PP_BAR 1
610 #define PP_BARVERT 2
611 #define PP_CHUNK 3
612 #define PP_CHUNKVERT 4
614 /* REBAR parts */
615 #define RP_GRIPPER 1
616 #define RP_GRIPPERVERT 2
617 #define RP_BAND 3
618 #define RP_CHEVRON 4
619 #define RP_CHEVRONVERT 5
621 /* REBAR CHEVRON states */
622 #define CHEVS_NORMAL 1
623 #define CHEVS_HOT 2
624 #define CHEVS_PRESSED 3
626 /* SCROLLBAR parts */
627 #define SBP_ARROWBTN 1
628 #define SBP_THUMBBTNHORZ 2
629 #define SBP_THUMBBTNVERT 3
630 #define SBP_LOWERTRACKHORZ 4
631 #define SBP_UPPERTRACKHORZ 5
632 #define SBP_LOWERTRACKVERT 6
633 #define SBP_UPPERTRACKVERT 7
634 #define SBP_GRIPPERHORZ 8
635 #define SBP_GRIPPERVERT 9
636 #define SBP_SIZEBOX 10
638 /* SCROLLBAR ARROWBTN states */
639 #define ABS_UPNORMAL 1
640 #define ABS_UPHOT 2
641 #define ABS_UPPRESSED 3
642 #define ABS_UPDISABLED 4
643 #define ABS_DOWNNORMAL 5
644 #define ABS_DOWNHOT 6
645 #define ABS_DOWNPRESSED 7
646 #define ABS_DOWNDISABLED 8
647 #define ABS_LEFTNORMAL 9
648 #define ABS_LEFTHOT 10
649 #define ABS_LEFTPRESSED 11
650 #define ABS_LEFTDISABLED 12
651 #define ABS_RIGHTNORMAL 13
652 #define ABS_RIGHTHOT 14
653 #define ABS_RIGHTPRESSED 15
654 #define ABS_RIGHTDISABLED 16
656 /* SCROLLBAR LOWER* / THUMB* / UPPER* states */
657 #define SCRBS_NORMAL 1
658 #define SCRBS_HOT 2
659 #define SCRBS_PRESSED 3
660 #define SCRBS_DISABLED 4
662 /* SCROLLBAR SIZEBOX states */
663 #define SZB_RIGHTALIGN 1
664 #define SZB_LEFTALIGN 2
666 /* SPIN parts */
667 #define SPNP_UP 1
668 #define SPNP_DOWN 2
669 #define SPNP_UPHORZ 3
670 #define SPNP_DOWNHORZ 4
672 /* SPIN * states */
673 /* See PAGE states */
675 /* STARTPANEL parts */
676 #define SPP_USERPANE 1
677 #define SPP_MOREPROGRAMS 2
678 #define SPP_MOREPROGRAMSARROW 3
679 #define SPP_PROGLIST 4
680 #define SPP_PROGLISTSEPARATOR 5
681 #define SPP_PLACESLIST 6
682 #define SPP_PLACESLISTSEPARATOR 7
683 #define SPP_LOGOFF 8
684 #define SPP_LOGOFFBUTTONS 9
685 #define SPP_USERPICTURE 10
686 #define SPP_PREVIEW 11
688 /* STARTPANEL MOREPROGRAMSARROW states */
689 #define SPS_NORMAL 1
690 #define SPS_HOT 2
691 #define SPS_PRESSED 3
693 /* STARTPANEL LOGOFFBUTTONS states */
694 #define SPLS_NORMAL 1
695 #define SPLS_HOT 2
696 #define SPLS_PRESSED 3
698 /* STATUS parts */
699 #define SP_PANE 1
700 #define SP_GRIPPERPANE 2
701 #define SP_GRIPPER 3
703 /* TAB parts */
704 #define TABP_TABITEM 1
705 #define TABP_TABITEMLEFTEDGE 2
706 #define TABP_TABITEMRIGHTEDGE 3
707 #define TABP_TABITEMBOTHEDGE 4
708 #define TABP_TOPTABITEM 5
709 #define TABP_TOPTABITEMLEFTEDGE 6
710 #define TABP_TOPTABITEMRIGHTEDGE 7
711 #define TABP_TOPTABITEMBOTHEDGE 8
712 #define TABP_PANE 9
713 #define TABP_BODY 10
715 /* TAB TABITEM states */
716 #define TIS_NORMAL 1
717 #define TIS_HOT 2
718 #define TIS_SELECTED 3
719 #define TIS_DISABLED 4
720 #define TIS_FOCUSED 5
722 /* TAB TABITEMLEFTEDGE states */
723 #define TILES_NORMAL 1
724 #define TILES_HOT 2
725 #define TILES_SELECTED 3
726 #define TILES_DISABLED 4
727 #define TILES_FOCUSED 5
729 /* TAB TABITEMRIGHTEDGE states */
730 #define TIRES_NORMAL 1
731 #define TIRES_HOT 2
732 #define TIRES_SELECTED 3
733 #define TIRES_DISABLED 4
734 #define TIRES_FOCUSED 5
736 /* TAB TABITEMBOTHEDGES states */
737 #define TIBES_NORMAL 1
738 #define TIBES_HOT 2
739 #define TIBES_SELECTED 3
740 #define TIBES_DISABLED 4
741 #define TIBES_FOCUSED 5
743 /* TAB TOPTABITEM states */
744 #define TTIS_NORMAL 1
745 #define TTIS_HOT 2
746 #define TTIS_SELECTED 3
747 #define TTIS_DISABLED 4
748 #define TTIS_FOCUSED 5
750 /* TAB TOPTABITEMLEFTEDGE states */
751 #define TTILES_NORMAL 1
752 #define TTILES_HOT 2
753 #define TTILES_SELECTED 3
754 #define TTILES_DISABLED 4
755 #define TTILES_FOCUSED 5
757 /* TAB TOPTABITEMRIGHTEDGE states */
758 #define TTIRES_NORMAL 1
759 #define TTIRES_HOT 2
760 #define TTIRES_SELECTED 3
761 #define TTIRES_DISABLED 4
762 #define TTIRES_FOCUSED 5
764 /* TAB TOPTABITEMBOTHEDGES states */
765 #define TTIBES_NORMAL 1
766 #define TTIBES_HOT 2
767 #define TTIBES_SELECTED 3
768 #define TTIBES_DISABLED 4
769 #define TTIBES_FOCUSED 5
771 /* TASKBAND parts */
772 #define TDP_GROUPCOUNT 1
773 #define TDP_FLASHBUTTON 2
774 #define TDP_FLASHBUTTONGROUPMENU 3
776 /* TASKBAR parts */
777 #define TBP_BACKGROUNDBOTTOM 1
778 #define TBP_BACKGROUNDRIGHT 2
779 #define TBP_BACKGROUNDTOP 3
780 #define TBP_BACKGROUNDLEFT 4
781 #define TBP_SIZINGBARBOTTOM 5
782 #define TBP_SIZINGBARRIGHT 6
783 #define TBP_SIZINGBARTOP 7
784 #define TBP_SIZINGBARLEFT 8
786 /* TOOLBAR parts */
787 #define TP_BUTTON 1
788 #define TP_DROPDOWNBUTTON 2
789 #define TP_SPLITBUTTON 3
790 #define TP_SPLITBUTTONDROPDOWN 4
791 #define TP_SEPARATOR 5
792 #define TP_SEPARATORVERT 6
794 /* TOOLBAR * states */
795 #define TS_NORMAL 1
796 #define TS_HOT 2
797 #define TS_PRESSED 3
798 #define TS_DISABLED 4
799 #define TS_CHECKED 5
800 #define TS_HOTCHECKED 6
802 /* TOOLTIP parts */
803 #define TTP_STANDARD 1
804 #define TTP_STANDARDTITLE 2
805 #define TTP_BALLOON 3
806 #define TTP_BALLOONTITLE 4
807 #define TTP_CLOSE 5
809 /* TOOLTIP STANDARD states */
810 #define TTSS_NORMAL 1
811 #define TTSS_LINK 2
813 /* TOOLTIP STANDARDTITLE states */
814 /* See TOOLTIP STANDARD */
816 /* TOOLTIP BALLOON states */
817 #define TTBS_NORMAL 1
818 #define TTBS_LINK 2
820 /* TOOLTIP BALOONTITLE states */
821 /* See TOOLTIP BALOON */
823 /* TOOLTIP CLOSE states */
824 #define TTCS_NORMAL 1
825 #define TTCS_HOT 2
826 #define TTCS_PRESSED 3
828 /* TRACKBAR parts */
829 #define TKP_TRACK 1
830 #define TKP_TRACKVERT 2
831 #define TKP_THUMB 3
832 #define TKP_THUMBBOTTOM 4
833 #define TKP_THUMBTOP 5
834 #define TKP_THUMBVERT 6
835 #define TKP_THUMBLEFT 7
836 #define TKP_THUMBRIGHT 8
837 #define TKP_TICS 9
838 #define TKP_TICSVERT 10
840 /* TRACKBAR TRACK states */
841 #define TRS_NORMAL 1
843 /* TRACKBAR TRACKVERT states */
844 #define TRVS_NORMAL 1
846 /* TRACKBAR THUMB states */
847 #define TUS_NORMAL 1
848 #define TUS_HOT 2
849 #define TUS_PRESSED 3
850 #define TUS_FOCUSED 4
851 #define TUS_DISABLED 5
853 /* TRACKBAR THUMBBOTTOM states */
854 #define TUBS_NORMAL 1
855 #define TUBS_HOT 2
856 #define TUBS_PRESSED 3
857 #define TUBS_FOCUSED 4
858 #define TUBS_DISABLED 5
860 /* TRACKBAR THUMBTOP states */
861 #define TUTS_NORMAL 1
862 #define TUTS_HOT 2
863 #define TUTS_PRESSED 3
864 #define TUTS_FOCUSED 4
865 #define TUTS_DISABLED 5
867 /* TRACKBAR THUMBVERT states */
868 #define TUVS_NORMAL 1
869 #define TUVS_HOT 2
870 #define TUVS_PRESSED 3
871 #define TUVS_FOCUSED 4
872 #define TUVS_DISABLED 5
874 /* TRACKBAR THUMBLEFT states */
875 #define TUVLS_NORMAL 1
876 #define TUVLS_HOT 2
877 #define TUVLS_PRESSED 3
878 #define TUVLS_FOCUSED 4
879 #define TUVLS_DISABLED 5
881 /* TRACKBAR THUMBRIGHT states */
882 #define TUVRS_NORMAL 1
883 #define TUVRS_HOT 2
884 #define TUVRS_PRESSED 3
885 #define TUVRS_FOCUSED 4
886 #define TUVRS_DISABLED 5
888 /* TRACKBAR TICS states */
889 #define TSS_NORMAL 1
891 /* TRACKBAR TICSVERT states */
892 #define TSVS_NORMAL 1
894 /* TRAYNOTIFY parts */
895 #define TNP_BACKGROUND 1
896 #define TNP_ANIMBACKGROUND 2
898 /* TREEVIEW parts */
899 #define TVP_TREEITEM 1
900 #define TVP_GLYPH 2
901 #define TVP_BRANCH 3
903 /* TREEVIEW TREEITEM states */
904 #define TREIS_NORMAL 1
905 #define TREIS_HOT 2
906 #define TREIS_SELECTED 3
907 #define TREIS_DISABLED 4
908 #define TREIS_SELECTEDNOTFOCUS 5
910 /* TREEVIEW GLYPH states */
911 #define GLPS_CLOSED 1
912 #define GLPS_OPENED 2
914 /* WINDOW parts */
915 #define WP_CAPTION 1
916 #define WP_SMALLCAPTION 2
917 #define WP_MINCAPTION 3
918 #define WP_SMALLMINCAPTION 4
919 #define WP_MAXCAPTION 5
920 #define WP_SMALLMAXCAPTION 6
921 #define WP_FRAMELEFT 7
922 #define WP_FRAMERIGHT 8
923 #define WP_FRAMEBOTTOM 9
924 #define WP_SMALLFRAMELEFT 10
925 #define WP_SMALLFRAMERIGHT 11
926 #define WP_SMALLFRAMEBOTTOM 12
927 #define WP_SYSBUTTON 13
928 #define WP_MDISYSBUTTON 14
929 #define WP_MINBUTTON 15
930 #define WP_MDIMINBUTTON 16
931 #define WP_MAXBUTTON 17
932 #define WP_CLOSEBUTTON 18
933 #define WP_SMALLCLOSEBUTTON 19
934 #define WP_MDICLOSEBUTTON 20
935 #define WP_RESTOREBUTTON 21
936 #define WP_MDIRESTOREBUTTON 22
937 #define WP_HELPBUTTON 23
938 #define WP_MDIHELPBUTTON 24
939 #define WP_HORZSCROLL 25
940 #define WP_HORZTHUMB 26
941 #define WP_VERTSCROLL 27
942 #define WP_VERTTHUMB 28
943 #define WP_DIALOG 29
944 #define WP_CAPTIONSIZINGTEMPLATE 30
945 #define WP_SMALLCAPTIONSIZINGTEMPLATE 31
946 #define WP_FRAMELEFTSIZINGTEMPLATE 32
947 #define WP_SMALLFRAMELEFTSIZINGTEMPLATE 33
948 #define WP_FRAMERIGHTSIZINGTEMPLATE 34
949 #define WP_SMALLFRAMERIGHTSIZINGTEMPLATE 35
950 #define WP_FRAMEBOTTOMSIZINGTEMPLATE 36
951 #define WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE 37
953 /* WINDOW CAPTION / SMALLCAPTION state */
954 #define CS_ACTIVE 1
955 #define CS_INACTIVE 2
956 #define CS_DISABLED 3
958 /* WINDOW MINCAPTION / SMALLMINCAPTION state */
959 #define MNCS_ACTIVE 1
960 #define MNCS_INACTIVE 2
961 #define MNCS_DISABLED 3
963 /* WINDOW MAXCAPTION / SMALLMAXCAPTION state */
964 #define MXCS_ACTIVE 1
965 #define MXCS_INACTIVE 2
966 #define MXCS_DISABLED 3
968 /* WINDOW FRAME* / SMALLFRAME* state */
969 #define FS_ACTIVE 1
970 #define FS_INACTIVE 2
972 /* WINDOW SYSBUTTON / MDISYSBUTTON state */
973 #define SBS_NORMAL 1
974 #define SBS_HOT 2
975 #define SBS_PUSHED 3
976 #define SBS_DISABLED 4
978 /* WINDOW MINBUTTON / MDIMINBUTTON state */
979 #define MINBS_NORMAL 1
980 #define MINBS_HOT 2
981 #define MINBS_PUSHED 3
982 #define MINBS_DISABLED 4
984 /* WINDOW MAXBUTTON state */
985 #define MAXBS_NORMAL 1
986 #define MAXBS_HOT 2
987 #define MAXBS_PUSHED 3
988 #define MAXBS_DISABLED 4
990 /* WINDOW CLOSEBUTTON / SMALLCLOSEBUTTON / MDICLOSEBUTTON state */
991 #define CBS_NORMAL 1
992 #define CBS_HOT 2
993 #define CBS_PUSHED 3
994 #define CBS_DISABLED 4
996 /* WINDOW RESTOREBUTTON / MDIRESTOREBUTTON state */
997 #define RBS_NORMAL 1
998 #define RBS_HOT 2
999 #define RBS_PUSHED 3
1000 #define RBS_DISABLED 4
1002 /* WINDOW HELPBUTTON / MDIHELPBUTTON state */
1003 #define HBS_NORMAL 1
1004 #define HBS_HOT 2
1005 #define HBS_PUSHED 3
1006 #define HBS_DISABLED 4
1008 /* WINDOW HORZSCROLL state */
1009 #define HSS_NORMAL 1
1010 #define HSS_HOT 2
1011 #define HSS_PUSHED 3
1012 #define HSS_DISABLED 4
1014 /* WINDOW HORZTHUMB state */
1015 #define HTS_NORMAL 1
1016 #define HTS_HOT 2
1017 #define HTS_PUSHED 3
1018 #define HTS_DISABLED 4
1020 /* WINDOW VERTSCROLL state */
1021 #define VSS_NORMAL 1
1022 #define VSS_HOT 2
1023 #define VSS_PUSHED 3
1024 #define VSS_DISABLED 4
1026 /* WINDOW VERTTHUMB state */
1027 #define VTS_NORMAL 1
1028 #define VTS_HOT 2
1029 #define VTS_PUSHED 3
1030 #define VTS_DISABLED 4
1032 #endif