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
25 #define BP_PUSHBUTTON 1
26 #define BP_RADIOBUTTON 2
29 #define BP_USERBUTTON 5
31 /* BUTTON PUSHBUTTON states */
35 #define PBS_DISABLED 4
36 #define PBS_DEFAULTED 5
38 /* BUTTON RADIOBUTTON states */
39 #define RBS_UNCHECKEDNORMAL 1
40 #define RBS_UNCHECEDHOT 2
41 #define RBS_UNCHECKEDPRESSED 3
42 #define RBS_UNCHECKEDDISABLED 4
43 #define RBS_CHECKEDNORMAL 5
44 #define RBS_CHECKEDHOT 6
45 #define RBS_CHECKEDPRESSED 7
46 #define RBS_CHECKEDDISABLED 8
48 /* BUTTON CHECBOX states */
49 #define CBS_UNCHECKEDNORMAL 1
50 #define CBS_UNCHECKEDHOT 2
51 #define CBS_UNCHECKEDPRESSED 3
52 #define CBS_UNCHECKEDDISABLED 4
53 #define CBS_CHECKEDNORMAL 5
54 #define CBS_CHECKEDHOT 6
55 #define CBS_CHECKEDPRESSED 7
56 #define CBS_CHECKEDDISABLED 8
57 #define CBS_MIXEDNORMAL 9
58 #define CBS_MIXEDHOT 10
59 #define CBS_MIXEDPRESSED 11
60 #define CBS_MIXEDDISABLED 12
62 /* BUTTON GROUPBOX states */
64 #define GBS_DISABLED 2
69 /* CLOCK TIME states */
73 #define CB_DROPDOWNBUTTON 1
75 /* COMBOBOX DROPDOWNBUTTON states */
78 #define CBXS_PRESSED 3
79 #define CBXS_DISABLED 4
85 /* EDIT EDITTEXT states */
88 #define ETS_SELECTED 3
89 #define ETS_DISABLED 4
91 #define ETS_READONLY 6
94 /* EXPLORERBAR parts */
95 #define EBP_HEADERBACKGROUND 1
96 #define EBP_HEADERCLOSE 2
97 #define EBP_HEADERPIN 3
98 #define EBP_IEBARMENU 4
99 #define EBP_NORMALGROUPBACKGROUND 5
100 #define EBP_NORMALGROUPCOLLAPSE 6
101 #define EBP_NORMALGROUPEXPAND 7
102 #define EBP_NORMALGROUPHEAD 8
103 #define EBP_SPECIALGROUPBACKGROUND 9
104 #define EBP_SPECIALGROUPCOLLAPSE 10
105 #define EBP_SPECIALGROUPEXPAND 11
106 #define EBP_SPECIALGROUPHEAD 12
108 /* EXPLORERBAR HEADERCLOSE states */
109 #define EBHC_NORMAL 1
111 #define EBHC_PRESSED 3
113 /* EXPLORERBAR HEADERPIN states */
114 #define EBHP_NORMAL 1
116 #define EBHP_PRESSED 3
117 #define EBHP_SELECTEDNORMAL 4
118 #define EBHP_SELECTEDHOT 5
119 #define EBHP_SELECTEDPRESSED 6
121 /* EXPLORERBAR IEBARMENU states */
124 #define EBM_PRESSED 3
126 /* EXPLORERBAR NORMALGROUPCOLLAPSE states */
127 #define EBNGC_NORMAL 1
129 #define EBNGC_PRESSED 3
131 /* EXPLORERBAR NORMALGROUPEXPAND states */
132 #define EBNGE_NORMAL 1
134 #define EBNGE_PRESSED 3
136 /* EXPLORERBAR SPECIALGROUPCOLLAPSE states */
137 #define EBSGC_NORMAL 1
139 #define EBSGC_PRESSED 3
141 /* EXPLORERBAR SPECIALGROUPEXPAND states */
142 #define EBSGE_NORMAL 1
144 #define EBSGE_PRESSED 3
148 #define GP_LINEHORZ 2
149 #define GP_LINEVERT 3
151 /* GLOBALS BORDER states */
156 /* GLOBALS LINEHORZ states */
161 /* GLOBAL LINEVERT states */
167 #define HP_HEADERITEM 1
168 #define HP_HEADERITEMLEFT 2
169 #define HP_HEADERITEMRIGHT 3
170 #define HP_HEADERSORTARROW 4
172 /* HEADER HEADERITEM states */
175 #define HIS_PRESSED 3
177 /* HEADER HEADERITEMLEFT states */
178 #define HILS_NORMAL 1
180 #define HILS_PRESSED 3
182 /* HEADER HEADERITEMRIGHT states */
183 #define HIRS_NORMAL 1
185 #define HIRS_PRESSED 3
187 /* HEADER HEADERSORTARROW states */
188 #define HSAS_NORMAL 1
190 #define HSAS_PRESSED 3
193 #define LVP_LISTITEM 1
194 #define LVP_LISTGROUP 2
195 #define LVP_LISTDETAIL 3
196 #define LVP_LISTSORTEDDETAIL 4
197 #define LVP_EMPTYTEXT 5
199 /* LISTVIEW LISTITEM states */
202 #define LIS_SELECTED 3
203 #define LIS_DISABLED 4
204 #define LIS_SELECTEDNOTFOCUS 5
207 #define MP_MENUITEM 1
208 #define MP_MENUDROPDOWN 2
209 #define MP_MENUBARITEM 3
210 #define MP_MENUBARDROPDOWN 4
212 #define MP_SEPARATOR 6
216 #define MS_SELECTED 2
220 #define MDP_NEWAPPBUTTON 1
221 #define MDP_SEPERATOR 2
223 /* MENUBAND NEWAPPBUTTON parts */
226 #define MDS_PRESSED 3
227 #define MDS_DISABLED 4
228 #define MDS_CHECKED 5
229 #define MDS_HOTCHECKED 6
234 #define PGRP_UPHORZ 3
235 #define PGRP_DOWNHORZ 4
240 #define UPS_PRESSED 3
241 #define UPS_DISABLED 4
243 /* PAGE DOWN states */
246 #define DNS_PRESSED 3
247 #define DNS_DISABLED 4
249 /* PAGE UPHORZ states */
250 #define UPHZS_NORMAL 1
252 #define UPHZS_PRESSED 3
253 #define UPHZS_DISABLED 4
255 /* PAGE DOWNHORZ states */
256 #define DNHZS_NORMAL 1
258 #define DNHZS_PRESSED 3
259 #define DNHZS_DISABLED 4
265 #define PP_CHUNKVERT 4
269 #define RP_GRIPPERVERT 2
272 #define RP_CHEVRONVERT 5
274 /* REBAR CHEVRON states */
275 #define CHEVS_NORMAL 1
277 #define CHEVS_PRESSED 3
279 /* SCROLLBAR parts */
280 #define SBP_ARROWBTN 1
281 #define SBP_THUMBBTNHORZ 2
282 #define SBP_THUMBBTNVERT 3
283 #define SBP_LOWERTRACKHORZ 4
284 #define SBP_UPPERTRACKHORZ 5
285 #define SBP_LOWERTRACKVERT 6
286 #define SBP_UPPERTRACKVERT 7
287 #define SBP_GRIPPERHORZ 8
288 #define SBP_GRIPPERVERT 9
289 #define SBP_SIZEBOX 10
291 /* SCROLLBAR ARROWBTN states */
292 #define ABS_UPNORMAL 1
294 #define ABS_UPPRESSED 3
295 #define ABS_UPDISABLED 4
296 #define ABS_DOWNNORMAL 5
297 #define ABS_DOWNHOT 6
298 #define ABS_DOWNPRESSED 7
299 #define ABS_DOWNDISABLED 8
300 #define ABS_LEFTNORMAL 9
301 #define ABS_LEFTHOT 10
302 #define ABS_LEFTPRESSED 11
303 #define ABS_LEFTDISABLED 12
304 #define ABS_RIGHTNORMAL 13
305 #define ABS_RIGHTHOT 14
306 #define ABS_RIGHTPRESSED 15
307 #define ABS_RIGHTDISABLED 16
309 /* SCROLLBAR LOWER* / THUMB* / UPPER* states */
310 #define SCRBS_NORMAL 1
312 #define SCRBS_PRESSED 3
313 #define SCRBS_DISABLED 4
315 /* SCROLLBAR SIZEBOX states */
316 #define SZB_RIGHTALIGN 1
317 #define SZB_LEFTALIGN 2
322 #define SPNP_UPHORZ 3
323 #define SPNP_DOWNHORZ 4
326 /* See PAGE states */
328 /* STARTPANEL parts */
329 #define SPP_USERPANE 1
330 #define SPP_MOREPROGRAMS 2
331 #define SPP_MOREPROGRAMSARROW 3
332 #define SPP_PROGLIST 4
333 #define SPP_PROGLISTSEPARATOR 5
334 #define SPP_PLACESLIST 6
335 #define SPP_PLACESLISTSEPARATOR 7
337 #define SPP_LOGOFFBUTTONS 9
338 #define SPP_USERPICTURE 10
339 #define SPP_PREVIEW 11
341 /* STARTPANEL MOREPROGRAMSARROW states */
344 #define SPS_PRESSED 3
346 /* STARTPANEL LOGOFFBUTTONS states */
347 #define SPLS_NORMAL 1
349 #define SPLS_PRESSED 3
353 #define SP_GRIPPERPANE 2
357 #define TABP_TABITEM 1
358 #define TABP_TABITEMLEFTEDGE 2
359 #define TABP_TABITEMRIGHTEDGE 3
360 #define TABP_TABITEMBOTHEDGE 4
361 #define TABP_TOPTABITEM 5
362 #define TABP_TOPTABITEMLEFTEDGE 6
363 #define TABP_TOPTABITEMRIGHTEDGE 7
364 #define TABP_TOPTABITEMBOTHEDGE 8
368 /* TAB TABITEM states */
371 #define TIS_SELECTED 3
372 #define TIS_DISABLED 4
373 #define TIS_FOCUSED 5
375 /* TAB TABITEMLEFTEDGE states */
376 #define TILES_NORMAL 1
378 #define TILES_SELECTED 3
379 #define TILES_DISABLED 4
380 #define TILES_FOCUSED 5
382 /* TAB TABITEMRIGHTEDGE states */
383 #define TIRES_NORMAL 1
385 #define TIRES_SELECTED 3
386 #define TIRES_DISABLED 4
387 #define TIRES_FOCUSED 5
389 /* TAB TABITEMBOTHEDGES states */
390 #define TIBES_NORMAL 1
392 #define TIBES_SELECTED 3
393 #define TIBES_DISABLED 4
394 #define TIBES_FOCUSED 5
396 /* TAB TOPTABITEM states */
397 #define TTIS_NORMAL 1
399 #define TTIS_SELECTED 3
400 #define TTIS_DISABLED 4
401 #define TTIS_FOCUSED 5
403 /* TAB TOPTABITEMLEFTEDGE states */
404 #define TTILES_NORMAL 1
406 #define TTILES_SELECTED 3
407 #define TTILES_DISABLED 4
408 #define TTILES_FOCUSED 5
410 /* TAB TOPTABITEMRIGHTEDGE states */
411 #define TTIRES_NORMAL 1
413 #define TTIRES_SELECTED 3
414 #define TTIRES_DISABLED 4
415 #define TTIRES_FOCUSED 5
417 /* TAB TOPTABITEMBOTHEDGES states */
418 #define TTIBES_NORMAL 1
420 #define TTIBES_SELECTED 3
421 #define TTIBES_DISABLED 4
422 #define TTIBES_FOCUSED 5
425 #define TDP_GROUPCOUNT 1
426 #define TDP_FLASHBUTTON 2
427 #define TDP_FLASHBUTTONGROUPMENU 3
430 #define TBP_BACKGROUNDBOTTOM 1
431 #define TBP_BACKGROUNDRIGHT 2
432 #define TBP_BACKGROUNDTOP 3
433 #define TBP_BACKGROUNDLEFT 4
434 #define TBP_SIZINGBARBOTTOM 5
435 #define TBP_SIZINGBARRIGHT 6
436 #define TBP_SIZINGBARTOP 7
437 #define TBP_SIZINGBARLEFT 8
441 #define TP_DROPDOWNBUTTON 2
442 #define TP_SPLITBUTTON 3
443 #define TP_SPLITBUTTONDROPDOWN 4
444 #define TP_SEPARATOR 5
445 #define TP_SEPARATORVERT 6
447 /* TOOLBAR * states */
451 #define TS_DISABLED 4
453 #define TS_HOTCHECKED 6
456 #define TTP_STANDARD 1
457 #define TTP_STANDARDTITLE 2
458 #define TTP_BALLOON 3
459 #define TTP_BALLOONTITLE 4
462 /* TOOLTIP STANDARD states */
463 #define TTSS_NORMAL 1
466 /* TOOLTIP STANDARDTITLE states */
467 /* See TOOLTIP STANDARD */
469 /* TOOLTIP BALLOON states */
470 #define TTBS_NORMAL 1
473 /* TOOLTIP BALOONTITLE states */
474 /* See TOOLTIP BALOON */
476 /* TOOLTIP CLOSE states */
477 #define TTCS_NORMAL 1
479 #define TTCS_PRESSED 3
483 #define TKP_TRACKVERT 2
485 #define TKP_THUMBBOTTOM 4
486 #define TKP_THUMBTOP 5
487 #define TKP_THUMBVERT 6
488 #define TKP_THUMBLEFT 7
489 #define TKP_THUMBRIGHT 8
491 #define TKP_TICSVERT 10
493 /* TRACKBAR TRACK states */
496 /* TRACKBAR TRACKVERT states */
497 #define TRVS_NORMAL 1
499 /* TRACKBAR THUMB states */
502 #define TUS_PRESSED 3
503 #define TUS_FOCUSED 4
504 #define TUS_DISABLED 5
506 /* TRACKBAR THUMBBOTTOM states */
507 #define TUBS_NORMAL 1
509 #define TUBS_PRESSED 3
510 #define TUBS_FOCUSED 4
511 #define TUBS_DISABLED 5
513 /* TRACKBAR THUMBTOP states */
514 #define TUTS_NORMAL 1
516 #define TUTS_PRESSED 3
517 #define TUTS_FOCUSED 4
518 #define TUTS_DISABLED 5
520 /* TRACKBAR THUMBVERT states */
521 #define TUVS_NORMAL 1
523 #define TUVS_PRESSED 3
524 #define TUVS_FOCUSED 4
525 #define TUVS_DISABLED 5
527 /* TRACKBAR THUMBLEFT states */
528 #define TUVLS_NORMAL 1
530 #define TUVLS_PRESSED 3
531 #define TUVLS_FOCUSED 4
532 #define TUVLS_DISABLED 5
534 /* TRACKBAR THUMBRIGHT states */
535 #define TUVRS_NORMAL 1
537 #define TUVRS_PRESSED 3
538 #define TUVRS_FOCUSED 4
539 #define TUVRS_DISABLED 5
541 /* TRACKBAR TICS states */
544 /* TRACKBAR TICSVERT states */
545 #define TSVS_NORMAL 1
547 /* TRAYNOTIFY parts */
548 #define TNP_BACKGROUND 1
549 #define TNP_ANIMBACKGROUND 2
552 #define TVP_TREEITEM 1
556 /* TREEVIEW TREEITEM states */
557 #define TREIS_NORMAL 1
559 #define TREIS_SELECTED 3
560 #define TREIS_DISABLED 4
561 #define TREIS_SELECTEDNOTFOCUS 5
563 /* TREEVIEW GLYPH states */
564 #define GLPS_CLOSED 1
565 #define GLPS_OPENED 2
569 #define WP_SMALLCAPTION 2
570 #define WP_MINCAPTION 3
571 #define WP_SMALLMINCAPTION 4
572 #define WP_MAXCAPTION 5
573 #define WP_SMALLMAXCAPTION 6
574 #define WP_FRAMELEFT 7
575 #define WP_FRAMERIGHT 8
576 #define WP_FRAMEBOTTOM 9
577 #define WP_SMALLFRAMELEFT 10
578 #define WP_SMALLFRAMERIGHT 11
579 #define WP_SMALLFRAMEBOTTOM 12
580 #define WP_SYSBUTTON 13
581 #define WP_MDISYSBUTTON 14
582 #define WP_MINBUTTON 15
583 #define WP_MDIMINBUTTON 16
584 #define WP_MAXBUTTON 17
585 #define WP_CLOSEBUTTON 18
586 #define WP_SMALLCLOSEBUTTON 19
587 #define WP_MDICLOSEBUTTON 20
588 #define WP_RESTOREBUTTON 21
589 #define WP_MDIRESTOREBUTTON 22
590 #define WP_HELPBUTTON 23
591 #define WP_MDIHELPBUTTON 24
592 #define WP_HORZSCROLL 25
593 #define WP_HORZTHUMB 26
594 #define WP_VERTSCROLL 27
595 #define WP_VERTTHUMB 28
597 #define WP_CAPTIONSIZINGTEMPLATE 30
598 #define WP_SMALLCAPTIONSIZINGTEMPLATE 31
599 #define WP_FRAMELEFTSIZINGTEMPLATE 32
600 #define WP_SMALLFRAMELEFTSIZINGTEMPLATE 33
601 #define WP_FRAMERIGHTSIZINGTEMPLATE 34
602 #define WP_SMALLFRAMERIGHTSIZINGTEMPLATE 35
603 #define WP_FRAMEBOTTOMSIZINGTEMPLATE 36
604 #define WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE 37
606 /* WINDOW CAPTION / SMALLCAPTION state */
608 #define CS_INACTIVE 2
609 #define CS_DISABLED 3
611 /* WINDOW MINCAPTION / SMALLMINCAPTION state */
612 #define MNCS_ACTIVE 1
613 #define MNCS_INACTIVE 2
614 #define MNCS_DISABLED 3
616 /* WINDOW MAXCAPTION / SMALLMAXCAPTION state */
617 #define MXCS_ACTIVE 1
618 #define MXCS_INACTIVE 2
619 #define MXCS_DISABLED 3
621 /* WINDOW FRAME* / SMALLFRAME* state */
623 #define FS_INACTIVE 2
625 /* WINDOW SYSBUTTON / MDISYSBUTTON state */
629 #define SBS_DISABLED 4
631 /* WINDOW MINBUTTON / MDIMINBUTTON state */
632 #define MINBS_NORMAL 1
634 #define MINBS_PUSHED 3
635 #define MINBS_DISABLED 4
637 /* WINDOW MAXBUTTON state */
638 #define MAXBS_NORMAL 1
640 #define MAXBS_PUSHED 3
641 #define MAXBS_DISABLED 4
643 /* WINDOW CLOSEBUTTON / SMALLCLOSEBUTTON / MDICLOSEBUTTON state */
647 #define CBS_DISABLED 4
649 /* WINDOW RESTOREBUTTON / MDIRESTOREBUTTON state */
653 #define RBS_DISABLED 4
655 /* WINDOW HELPBUTTON / MDIHELPBUTTON state */
659 #define HBS_DISABLED 4
661 /* WINDOW HORZSCROLL state */
665 #define HSS_DISABLED 4
667 /* WINDOW HORZTHUMB state */
671 #define HTS_DISABLED 4
673 /* WINDOW VERTSCROLL state */
677 #define VSS_DISABLED 4
679 /* WINDOW VERTTHUMB state */
683 #define VTS_DISABLED 4