ws2_32/tests: Wait for AFD_POLL_RESET in test_get_events_reset().
[wine.git] / include / vsstyle.h
blob4bc3469ae878828b5ad0011cc55d10645a294a84
1 /*
2 * Copyright (C) 2011 Piotr Caban for CodeWeavers
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __VSSTYLE_H__
20 #define __VSSTYLE_H__
23 #define TMTVS_RESERVEDLOW 100000
24 #define TMTVS_RESERVEDHIGH 19999
26 /* AEROWIZARDSTYLE class */
27 #if defined(_MSC_VER) || defined(__MINGW32__)
28 #define VSCLASS_AEROWIZARDSTYLE L"AEROWIZARDSTYLE"
29 #define VSCLASS_AEROWIZARD L"AEROWIZARD"
30 #else
31 static const WCHAR VSCLASS_AEROWIZARDSTYLE[] = {'A','E','R','O','W','I','Z','A','R','D','S','T','Y','L','E',0};
32 static const WCHAR VSCLASS_AEROWIZARD [] = {'A','E','R','O','W','I','Z','A','R','D',0};
33 #endif
35 enum AEROWIZARDPARTS {
36 AW_TITLEBAR = 1,
37 AW_HEADERAREA = 2,
38 AW_CONTENTAREA = 3,
39 AW_COMMANDAREA = 4,
40 AW_BUTTON = 5,
43 #define AEROWIZARDSTYLEPARTS AEROWIZARDPARTS;
45 enum TITLEBARSTATES {
46 AW_S_TITLEBAR_ACTIVE = 1,
47 AW_S_TITLEBAR_INACTIVE = 2,
50 enum HEADERAREASTATES {
51 AW_S_HEADERAREA_NOMARGIN = 1,
54 enum CONTENTAREASTATES {
55 AW_S_CONTENTAREA_NOMARGIN = 1,
58 /* BUTTONSTYLE class */
59 #if defined(_MSC_VER) || defined(__MINGW32__)
60 #define VSCLASS_BUTTONSTYLE L"BUTTONSTYLE"
61 #define VSCLASS_BUTTON L"BUTTON"
62 #else
63 static const WCHAR VSCLASS_BUTTONSTYLE [] = {'B','U','T','T','O','N','S','T','Y','L','E',0};
64 static const WCHAR VSCLASS_BUTTON [] = {'B','U','T','T','O','N',0};
65 #endif
67 enum BUTTONPARTS {
68 BP_PUSHBUTTON = 1,
69 BP_RADIOBUTTON = 2,
70 BP_CHECKBOX = 3,
71 BP_GROUPBOX = 4,
72 BP_USERBUTTON = 5,
73 BP_COMMANDLINK = 6,
74 BP_COMMANDLINKGLYPH = 7,
75 BP_RADIOBUTTON_HCDISABLED = 8,
76 BP_CHECKBOX_HCDISABLED = 9,
77 BP_GROUPBOX_HCDISABLED = 10,
78 BP_PUSHBUTTONDROPDOWN = 11,
81 #define BUTTONSTYLEPARTS BUTTONPARTS;
83 enum PUSHBUTTONSTATES {
84 PBS_NORMAL = 1,
85 PBS_HOT = 2,
86 PBS_PRESSED = 3,
87 PBS_DISABLED = 4,
88 PBS_DEFAULTED = 5,
89 PBS_DEFAULTED_ANIMATING = 6,
92 enum RADIOBUTTONSTATES {
93 RBS_UNCHECKEDNORMAL = 1,
94 RBS_UNCHECKEDHOT = 2,
95 RBS_UNCHECKEDPRESSED = 3,
96 RBS_UNCHECKEDDISABLED = 4,
97 RBS_CHECKEDNORMAL = 5,
98 RBS_CHECKEDHOT = 6,
99 RBS_CHECKEDPRESSED = 7,
100 RBS_CHECKEDDISABLED = 8,
103 enum CHECKBOXSTATES {
104 CBS_UNCHECKEDNORMAL = 1,
105 CBS_UNCHECKEDHOT = 2,
106 CBS_UNCHECKEDPRESSED = 3,
107 CBS_UNCHECKEDDISABLED = 4,
108 CBS_CHECKEDNORMAL = 5,
109 CBS_CHECKEDHOT = 6,
110 CBS_CHECKEDPRESSED = 7,
111 CBS_CHECKEDDISABLED = 8,
112 CBS_MIXEDNORMAL = 9,
113 CBS_MIXEDHOT = 10,
114 CBS_MIXEDPRESSED = 11,
115 CBS_MIXEDDISABLED = 12,
116 CBS_IMPLICITNORMAL = 13,
117 CBS_IMPLICITHOT = 14,
118 CBS_IMPLICITPRESSED = 15,
119 CBS_IMPLICITDISABLED = 16,
120 CBS_EXCLUDEDNORMAL = 17,
121 CBS_EXCLUDEDHOT = 18,
122 CBS_EXCLUDEDPRESSED = 19,
123 CBS_EXCLUDEDDISABLED = 20,
126 enum GROUPBOXSTATES {
127 GBS_NORMAL = 1,
128 GBS_DISABLED = 2,
131 enum COMMANDLINKSTATES {
132 CMDLS_NORMAL = 1,
133 CMDLS_HOT = 2,
134 CMDLS_PRESSED = 3,
135 CMDLS_DISABLED = 4,
136 CMDLS_DEFAULTED = 5,
137 CMDLS_DEFAULTED_ANIMATING = 6,
140 enum COMMANDLINKGLYPHSTATES {
141 CMDLGS_NORMAL = 1,
142 CMDLGS_HOT = 2,
143 CMDLGS_PRESSED = 3,
144 CMDLGS_DISABLED = 4,
145 CMDLGS_DEFAULTED = 5,
148 enum PUSHBUTTONDROPDOWNSTATES {
149 PBDDS_NORMAL = 1,
150 PBDDS_DISABLED = 2,
153 /* COMBOBOXSTYLE class */
154 #if defined(_MSC_VER) || defined(__MINGW32__)
155 #define VSCLASS_COMBOBOXSTYLE L"COMBOBOXSTYLE"
156 #define VSCLASS_COMBOBOX L"COMBOBOX"
157 #else
158 static const WCHAR VSCLASS_COMBOBOXSTYLE [] = {'C','O','M','B','O','B','O','X','S','T','Y','L','E',0};
159 static const WCHAR VSCLASS_COMBOBOX [] = {'C','O','M','B','O','B','O','X',0};
160 #endif
162 enum COMBOBOXPARTS {
163 CP_DROPDOWNBUTTON = 1,
164 CP_BACKGROUND = 2,
165 CP_TRANSPARENTBACKGROUND = 3,
166 CP_BORDER = 4,
167 CP_READONLY = 5,
168 CP_DROPDOWNBUTTONRIGHT = 6,
169 CP_DROPDOWNBUTTONLEFT = 7,
170 CP_CUEBANNER = 8,
171 CP_DROPDOWNITEM = 9,
174 #define COMBOBOXSTYLEPARTS COMBOBOXPARTS;
176 enum COMBOBOXSTYLESTATES {
177 CBXS_NORMAL = 1,
178 CBXS_HOT = 2,
179 CBXS_PRESSED = 3,
180 CBXS_DISABLED = 4,
183 enum DROPDOWNBUTTONRIGHTSTATES {
184 CBXSR_NORMAL = 1,
185 CBXSR_HOT = 2,
186 CBXSR_PRESSED = 3,
187 CBXSR_DISABLED = 4,
190 enum DROPDOWNBUTTONLEFTSTATES {
191 CBXSL_NORMAL = 1,
192 CBXSL_HOT = 2,
193 CBXSL_PRESSED = 3,
194 CBXSL_DISABLED = 4,
197 enum TRANSPARENTBACKGROUNDSTATES {
198 CBTBS_NORMAL = 1,
199 CBTBS_HOT = 2,
200 CBTBS_DISABLED = 3,
201 CBTBS_FOCUSED = 4,
204 enum BORDERSTATES {
205 CBB_NORMAL = 1,
206 CBB_HOT = 2,
207 CBB_FOCUSED = 3,
208 CBB_DISABLED = 4,
211 enum READONLYSTATES {
212 CBRO_NORMAL = 1,
213 CBRO_HOT = 2,
214 CBRO_PRESSED = 3,
215 CBRO_DISABLED = 4,
218 enum CUEBANNERSTATES {
219 CBCB_NORMAL = 1,
220 CBCB_HOT = 2,
221 CBCB_PRESSED = 3,
222 CBCB_DISABLED = 4,
225 enum DROPDOWNITEMSTATES {
226 CBDI_NORMAL = 1,
227 CBDI_HIGHLIGHTED = 2,
230 /* COMMUNICATIONSSTYLE class */
231 #if defined(_MSC_VER) || defined(__MINGW32__)
232 #define VSCLASS_COMMUNICATIONSSTYLE L"COMMUNICATIONSSTYLE"
233 #define VSCLASS_COMMUNICATIONS L"COMMUNICATIONS"
234 #else
235 static const WCHAR VSCLASS_COMMUNICATIONSSTYLE [] = {'C','O','M','M','U','N','I','C','A','T','I','O','N','S','S','T','Y','L','E',0};
236 static const WCHAR VSCLASS_COMMUNICATIONS [] = {'C','O','M','M','U','N','I','C','A','T','I','O','N','S',0};
237 #endif
239 enum COMMUNICATIONSPARTS {
240 CSST_TAB = 1,
243 #define COMMUNICATIONSSTYLEPARTS COMMUNICATIONSPARTS;
245 enum TABSTATES {
246 CSTB_NORMAL = 1,
247 CSTB_HOT = 2,
248 CSTB_SELECTED = 3,
251 /* CONTROLPANELSTYLE class */
252 #if defined(_MSC_VER) || defined(__MINGW32__)
253 #define VSCLASS_CONTROLPANELSTYLE L"CONTROLPANELSTYLE"
254 #define VSCLASS_CONTROLPANEL L"CONTROLPANEL"
255 #else
256 static const WCHAR VSCLASS_CONTROLPANELSTYLE [] = {'C','O','N','T','R','O','L','P','A','N','E','L','S','T','Y','L','E',0};
257 static const WCHAR VSCLASS_CONTROLPANEL [] = {'C','O','N','T','R','O','L','P','A','N','E','L',0};
258 #endif
260 enum CONTROLPANELPARTS {
261 CPANEL_NAVIGATIONPANE = 1,
262 CPANEL_CONTENTPANE = 2,
263 CPANEL_NAVIGATIONPANELABEL = 3,
264 CPANEL_CONTENTPANELABEL = 4,
265 CPANEL_TITLE = 5,
266 CPANEL_BODYTEXT = 6,
267 CPANEL_HELPLINK = 7,
268 CPANEL_TASKLINK = 8,
269 CPANEL_GROUPTEXT = 9,
270 CPANEL_CONTENTLINK = 10,
271 CPANEL_SECTIONTITLELINK = 11,
272 CPANEL_LARGECOMMANDAREA = 12,
273 CPANEL_SMALLCOMMANDAREA = 13,
274 CPANEL_BUTTON = 14,
275 CPANEL_MESSAGETEXT = 15,
276 CPANEL_NAVIGATIONPANELINE = 16,
277 CPANEL_CONTENTPANELINE = 17,
278 CPANEL_BANNERAREA = 18,
279 CPANEL_BODYTITLE = 19,
282 #define CONTROLPANELSTYLEPARTS CONTROLPANELPARTS;
284 enum HELPLINKSTATES {
285 CPHL_NORMAL = 1,
286 CPHL_HOT = 2,
287 CPHL_PRESSED = 3,
288 CPHL_DISABLED = 4,
291 enum TASKLINKSTATES {
292 CPTL_NORMAL = 1,
293 CPTL_HOT = 2,
294 CPTL_PRESSED = 3,
295 CPTL_DISABLED = 4,
296 CPTL_PAGE = 5,
299 enum CONTENTLINKSTATES {
300 CPCL_NORMAL = 1,
301 CPCL_HOT = 2,
302 CPCL_PRESSED = 3,
303 CPCL_DISABLED = 4,
306 enum SECTIONTITLELINKSTATES {
307 CPSTL_NORMAL = 1,
308 CPSTL_HOT = 2,
311 /* DATEPICKERSTYLE class */
312 #if defined(_MSC_VER) || defined(__MINGW32__)
313 #define VSCLASS_DATEPICKERSTYLE L"DATEPICKERSTYLE"
314 #define VSCLASS_DATEPICKER L"DATEPICKER"
315 #else
316 static const WCHAR VSCLASS_DATEPICKERSTYLE[] = {'D','A','T','E','P','I','C','K','E','R','S','T','Y','L','E',0};
317 static const WCHAR VSCLASS_DATEPICKER [] = {'D','A','T','E','P','I','C','K','E','R',0};
318 #endif
320 enum DATEPICKERPARTS {
321 DP_DATETEXT = 1,
322 DP_DATEBORDER = 2,
323 DP_SHOWCALENDARBUTTONRIGHT = 3,
326 #define DATEPICKERSTYLEPARTS DATEPICKERPARTS;
328 enum DATETEXTSTATES {
329 DPDT_NORMAL = 1,
330 DPDT_DISABLED = 2,
331 DPDT_SELECTED = 3,
334 enum DATEBORDERSTATES {
335 DPDB_NORMAL = 1,
336 DPDB_HOT = 2,
337 DPDB_FOCUSED = 3,
338 DPDB_DISABLED = 4,
341 enum SHOWCALENDARBUTTONRIGHTSTATES {
342 DPSCBR_NORMAL = 1,
343 DPSCBR_HOT = 2,
344 DPSCBR_PRESSED = 3,
345 DPSCBR_DISABLED = 4,
348 /* DRAGDROPSTYLE class */
349 #if defined(_MSC_VER) || defined(__MINGW32__)
350 #define VSCLASS_DRAGDROPSTYLE L"DRAGDROPSTYLE"
351 #define VSCLASS_DRAGDROP L"DRAGDROP"
352 #else
353 static const WCHAR VSCLASS_DRAGDROPSTYLE [] = {'D','R','A','G','D','R','O','P','S','T','Y','L','E',0};
354 static const WCHAR VSCLASS_DRAGDROP [] = {'D','R','A','G','D','R','O','P',0};
355 #endif
357 enum DRAGDROPPARTS {
358 DD_COPY = 1,
359 DD_MOVE = 2,
360 DD_UPDATEMETADATA = 3,
361 DD_CREATELINK = 4,
362 DD_WARNING = 5,
363 DD_NONE = 6,
364 DD_IMAGEBG = 7,
365 DD_TEXTBG = 8,
368 #define DRAGDROPSTYLEPARTS DRAGDROPPARTS;
370 enum COPYSTATES {
371 DDCOPY_HIGHLIGHT = 1,
372 DDCOPY_NOHIGHLIGHT = 2,
375 enum MOVESTATES {
376 DDMOVE_HIGHLIGHT = 1,
377 DDMOVE_NOHIGHLIGHT = 2,
380 enum UPDATEMETADATASTATES {
381 DDUPDATEMETADATA_HIGHLIGHT = 1,
382 DDUPDATEMETADATA_NOHIGHLIGHT = 2,
385 enum CREATELINKSTATES {
386 DDCREATELINK_HIGHLIGHT = 1,
387 DDCREATELINK_NOHIGHLIGHT = 2,
390 enum WARNINGSTATES {
391 DDWARNING_HIGHLIGHT = 1,
392 DDWARNING_NOHIGHLIGHT = 2,
395 enum NONESTATES {
396 DDNONE_HIGHLIGHT = 1,
397 DDNONE_NOHIGHLIGHT = 2,
400 /* EDITSTYLE class */
401 #if defined(_MSC_VER) || defined(__MINGW32__)
402 #define VSCLASS_EDITSTYLE L"EDITSTYLE"
403 #define VSCLASS_EDIT L"EDIT"
404 #else
405 static const WCHAR VSCLASS_EDITSTYLE [] = {'E','D','I','T','S','T','Y','L','E',0};
406 static const WCHAR VSCLASS_EDIT [] = {'E','D','I','T',0};
407 #endif
409 enum EDITPARTS {
410 EP_EDITTEXT = 1,
411 EP_CARET = 2,
412 EP_BACKGROUND = 3,
413 EP_PASSWORD = 4,
414 EP_BACKGROUNDWITHBORDER = 5,
415 EP_EDITBORDER_NOSCROLL = 6,
416 EP_EDITBORDER_HSCROLL = 7,
417 EP_EDITBORDER_VSCROLL = 8,
418 EP_EDITBORDER_HVSCROLL = 9,
421 #define EDITSTYLEPARTS EDITPARTS;
423 enum EDITTEXTSTATES {
424 ETS_NORMAL = 1,
425 ETS_HOT = 2,
426 ETS_SELECTED = 3,
427 ETS_DISABLED = 4,
428 ETS_FOCUSED = 5,
429 ETS_READONLY = 6,
430 ETS_ASSIST = 7,
431 ETS_CUEBANNER = 8,
434 enum BACKGROUNDSTATES {
435 EBS_NORMAL = 1,
436 EBS_HOT = 2,
437 EBS_DISABLED = 3,
438 EBS_FOCUSED = 4,
439 EBS_READONLY = 5,
440 EBS_ASSIST = 6,
443 enum BACKGROUNDWITHBORDERSTATES {
444 EBWBS_NORMAL = 1,
445 EBWBS_HOT = 2,
446 EBWBS_DISABLED = 3,
447 EBWBS_FOCUSED = 4,
450 enum EDITBORDER_NOSCROLLSTATES {
451 EPSN_NORMAL = 1,
452 EPSN_HOT = 2,
453 EPSN_FOCUSED = 3,
454 EPSN_DISABLED = 4,
457 enum EDITBORDER_HSCROLLSTATES {
458 EPSH_NORMAL = 1,
459 EPSH_HOT = 2,
460 EPSH_FOCUSED = 3,
461 EPSH_DISABLED = 4,
464 enum EDITBORDER_VSCROLLSTATES {
465 EPSV_NORMAL = 1,
466 EPSV_HOT = 2,
467 EPSV_FOCUSED = 3,
468 EPSV_DISABLED = 4,
471 enum EDITBORDER_HVSCROLLSTATES {
472 EPSHV_NORMAL = 1,
473 EPSHV_HOT = 2,
474 EPSHV_FOCUSED = 3,
475 EPSHV_DISABLED = 4,
478 /* EXPLORERBARSTYLE class */
479 #if defined(_MSC_VER) || defined(__MINGW32__)
480 #define VSCLASS_EXPLORERBARSTYLE L"EXPLORERBARSTYLE"
481 #define VSCLASS_EXPLORERBAR L"EXPLORERBAR"
482 #else
483 static const WCHAR VSCLASS_EXPLORERBARSTYLE [] = {'E','X','P','L','O','R','E','R','B','A','R','S','T','Y','L','E',0};
484 static const WCHAR VSCLASS_EXPLORERBAR [] = {'E','X','P','L','O','R','E','R','B','A','R',0};
485 #endif
487 enum EXPLORERBARPARTS {
488 EBP_HEADERBACKGROUND = 1,
489 EBP_HEADERCLOSE = 2,
490 EBP_HEADERPIN = 3,
491 EBP_IEBARMENU = 4,
492 EBP_NORMALGROUPBACKGROUND = 5,
493 EBP_NORMALGROUPCOLLAPSE = 6,
494 EBP_NORMALGROUPEXPAND = 7,
495 EBP_NORMALGROUPHEAD = 8,
496 EBP_SPECIALGROUPBACKGROUND = 9,
497 EBP_SPECIALGROUPCOLLAPSE = 10,
498 EBP_SPECIALGROUPEXPAND = 11,
499 EBP_SPECIALGROUPHEAD = 12,
502 #define EXPLORERBARSTYLEPARTS EXPLORERBARPARTS;
504 enum HEADERCLOSESTATES {
505 EBHC_NORMAL = 1,
506 EBHC_HOT = 2,
507 EBHC_PRESSED = 3,
510 enum HEADERPINSTATES {
511 EBHP_NORMAL = 1,
512 EBHP_HOT = 2,
513 EBHP_PRESSED = 3,
514 EBHP_SELECTEDNORMAL = 4,
515 EBHP_SELECTEDHOT = 5,
516 EBHP_SELECTEDPRESSED = 6,
519 enum IEBARMENUSTATES {
520 EBM_NORMAL = 1,
521 EBM_HOT = 2,
522 EBM_PRESSED = 3,
525 enum NORMALGROUPCOLLAPSESTATES {
526 EBNGC_NORMAL = 1,
527 EBNGC_HOT = 2,
528 EBNGC_PRESSED = 3,
531 enum NORMALGROUPEXPANDSTATES {
532 EBNGE_NORMAL = 1,
533 EBNGE_HOT = 2,
534 EBNGE_PRESSED = 3,
537 enum SPECIALGROUPCOLLAPSESTATES {
538 EBSGC_NORMAL = 1,
539 EBSGC_HOT = 2,
540 EBSGC_PRESSED = 3,
543 enum SPECIALGROUPEXPANDSTATES {
544 EBSGE_NORMAL = 1,
545 EBSGE_HOT = 2,
546 EBSGE_PRESSED = 3,
549 /* FLYOUTSTYLE class */
550 #if defined(_MSC_VER) || defined(__MINGW32__)
551 #define VSCLASS_FLYOUTSTYLE L"FLYOUTSTYLE"
552 #define VSCLASS_FLYOUT L"FLYOUT"
553 #else
554 static const WCHAR VSCLASS_FLYOUTSTYLE [] = {'F','L','Y','O','U','T','S','T','Y','L','E',0};
555 static const WCHAR VSCLASS_FLYOUT [] = {'F','L','Y','O','U','T',0};
556 #endif
558 enum FLYOUTPARTS {
559 FLYOUT_HEADER = 1,
560 FLYOUT_BODY = 2,
561 FLYOUT_LABEL = 3,
562 FLYOUT_LINK = 4,
563 FLYOUT_DIVIDER = 5,
564 FLYOUT_WINDOW = 6,
565 FLYOUT_LINKAREA = 7,
566 FLYOUT_LINKHEADER = 8,
569 #define FLYOUTSTYLEPARTS FLYOUTPARTS;
571 enum LABELSTATES {
572 FLS_NORMAL = 1,
573 FLS_SELECTED = 2,
574 FLS_EMPHASIZED = 3,
575 FLS_DISABLED = 4,
578 enum LINKSTATES {
579 FLYOUTLINK_NORMAL = 1,
580 FLYOUTLINK_HOVER = 2,
583 enum BODYSTATES {
584 FBS_NORMAL = 1,
585 FBS_EMPHASIZED = 2,
588 enum LINKHEADERSTATES {
589 FLH_NORMAL = 1,
590 FLH_HOVER = 2,
593 /* HEADERSTYLE class */
594 #if defined(_MSC_VER) || defined(__MINGW32__)
595 #define VSCLASS_HEADERSTYLE L"HEADERSTYLE"
596 #define VSCLASS_HEADER L"HEADER"
597 #else
598 static const WCHAR VSCLASS_HEADERSTYLE [] = {'H','E','A','D','E','R','S','T','Y','L','E',0};
599 static const WCHAR VSCLASS_HEADER [] = {'H','E','A','D','E','R',0};
600 #endif
602 enum HEADERPARTS {
603 HP_HEADERITEM = 1,
604 HP_HEADERITEMLEFT = 2,
605 HP_HEADERITEMRIGHT = 3,
606 HP_HEADERSORTARROW = 4,
607 HP_HEADERDROPDOWN = 5,
608 HP_HEADERDROPDOWNFILTER = 6,
609 HP_HEADEROVERFLOW = 7,
612 #define HEADERSTYLEPARTS HEADERPARTS;
614 enum HEADERSTYLESTATES {
615 HBG_DETAILS = 1,
616 HBG_ICON = 2,
619 enum HEADERITEMSTATES {
620 HIS_NORMAL = 1,
621 HIS_HOT = 2,
622 HIS_PRESSED = 3,
623 HIS_SORTEDNORMAL = 4,
624 HIS_SORTEDHOT = 5,
625 HIS_SORTEDPRESSED = 6,
626 HIS_ICONNORMAL = 7,
627 HIS_ICONHOT = 8,
628 HIS_ICONPRESSED = 9,
629 HIS_ICONSORTEDNORMAL = 10,
630 HIS_ICONSORTEDHOT = 11,
631 HIS_ICONSORTEDPRESSED = 12,
634 enum HEADERITEMLEFTSTATES {
635 HILS_NORMAL = 1,
636 HILS_HOT = 2,
637 HILS_PRESSED = 3,
640 enum HEADERITEMRIGHTSTATES {
641 HIRS_NORMAL = 1,
642 HIRS_HOT = 2,
643 HIRS_PRESSED = 3,
646 enum HEADERSORTARROWSTATES {
647 HSAS_SORTEDUP = 1,
648 HSAS_SORTEDDOWN = 2,
651 enum HEADERDROPDOWNSTATES {
652 HDDS_NORMAL = 1,
653 HDDS_SOFTHOT = 2,
654 HDDS_HOT = 3,
657 enum HEADERDROPDOWNFILTERSTATES {
658 HDDFS_NORMAL = 1,
659 HDDFS_SOFTHOT = 2,
660 HDDFS_HOT = 3,
663 enum HEADEROVERFLOWSTATES {
664 HOFS_NORMAL = 1,
665 HOFS_HOT = 2,
668 /* LISTBOXSTYLE class */
669 #if defined(_MSC_VER) || defined(__MINGW32__)
670 #define VSCLASS_LISTBOXSTYLE L"LISTBOXSTYLE"
671 #define VSCLASS_LISTBOX L"LISTBOX"
672 #else
673 static const WCHAR VSCLASS_LISTBOXSTYLE [] = {'L','I','S','T','B','O','X','S','T','Y','L','E',0};
674 static const WCHAR VSCLASS_LISTBOX[] = {'L','I','S','T','B','O','X',0};
675 #endif
677 enum LISTBOXPARTS {
678 LBCP_BORDER_HSCROLL = 1,
679 LBCP_BORDER_HVSCROLL = 2,
680 LBCP_BORDER_NOSCROLL = 3,
681 LBCP_BORDER_VSCROLL = 4,
682 LBCP_ITEM = 5,
685 #define LISTBOXSTYLEPARTS LISTBOXPARTS;
687 enum BORDER_HSCROLLSTATES {
688 LBPSH_NORMAL = 1,
689 LBPSH_FOCUSED = 2,
690 LBPSH_HOT = 3,
691 LBPSH_DISABLED = 4,
694 enum BORDER_HVSCROLLSTATES {
695 LBPSHV_NORMAL = 1,
696 LBPSHV_FOCUSED = 2,
697 LBPSHV_HOT = 3,
698 LBPSHV_DISABLED = 4,
701 enum BORDER_NOSCROLLSTATES {
702 LBPSN_NORMAL = 1,
703 LBPSN_FOCUSED = 2,
704 LBPSN_HOT = 3,
705 LBPSN_DISABLED = 4,
708 enum BORDER_VSCROLLSTATES {
709 LBPSV_NORMAL = 1,
710 LBPSV_FOCUSED = 2,
711 LBPSV_HOT = 3,
712 LBPSV_DISABLED = 4,
715 enum ITEMSTATES {
716 LBPSI_HOT = 1,
717 LBPSI_HOTSELECTED = 2,
718 LBPSI_SELECTED = 3,
719 LBPSI_SELECTEDNOTFOCUS = 4,
722 /* LISTVIEWSTYLE class */
723 #if defined(_MSC_VER) || defined(__MINGW32__)
724 #define VSCLASS_LISTVIEWSTYLE L"LISTVIEWSTYLE"
725 #define VSCLASS_LISTVIEW L"LISTVIEW"
726 #else
727 static const WCHAR VSCLASS_LISTVIEWSTYLE [] = {'L','I','S','T','V','I','E','W','S','T','Y','L','E',0};
728 static const WCHAR VSCLASS_LISTVIEW [] = {'L','I','S','T','V','I','E','W',0};
729 #endif
731 enum LISTVIEWPARTS {
732 LVP_LISTITEM = 1,
733 LVP_LISTGROUP = 2,
734 LVP_LISTDETAIL = 3,
735 LVP_LISTSORTEDDETAIL = 4,
736 LVP_EMPTYTEXT = 5,
737 LVP_GROUPHEADER = 6,
738 LVP_GROUPHEADERLINE = 7,
739 LVP_EXPANDBUTTON = 8,
740 LVP_COLLAPSEBUTTON = 9,
741 LVP_COLUMNDETAIL = 10,
744 #define LISTVIEWSTYLEPARTS LISTVIEWPARTS;
746 enum LISTITEMSTATES {
747 LISS_NORMAL = 1,
748 LISS_HOT = 2,
749 LISS_SELECTED = 3,
750 LISS_DISABLED = 4,
751 LISS_SELECTEDNOTFOCUS = 5,
752 LISS_HOTSELECTED = 6,
755 enum GROUPHEADERSTATES {
756 LVGH_OPEN = 1,
757 LVGH_OPENHOT = 2,
758 LVGH_OPENSELECTED = 3,
759 LVGH_OPENSELECTEDHOT = 4,
760 LVGH_OPENSELECTEDNOTFOCUSED = 5,
761 LVGH_OPENSELECTEDNOTFOCUSEDHOT = 6,
762 LVGH_OPENMIXEDSELECTION = 7,
763 LVGH_OPENMIXEDSELECTIONHOT = 8,
764 LVGH_CLOSE = 9,
765 LVGH_CLOSEHOT = 10,
766 LVGH_CLOSESELECTED = 11,
767 LVGH_CLOSESELECTEDHOT = 12,
768 LVGH_CLOSESELECTEDNOTFOCUSED = 13,
769 LVGH_CLOSESELECTEDNOTFOCUSEDHOT = 14,
770 LVGH_CLOSEMIXEDSELECTION = 15,
771 LVGH_CLOSEMIXEDSELECTIONHOT = 16,
774 enum GROUPHEADERLINESTATES {
775 LVGHL_OPEN = 1,
776 LVGHL_OPENHOT = 2,
777 LVGHL_OPENSELECTED = 3,
778 LVGHL_OPENSELECTEDHOT = 4,
779 LVGHL_OPENSELECTEDNOTFOCUSED = 5,
780 LVGHL_OPENSELECTEDNOTFOCUSEDHOT = 6,
781 LVGHL_OPENMIXEDSELECTION = 7,
782 LVGHL_OPENMIXEDSELECTIONHOT = 8,
783 LVGHL_CLOSE = 9,
784 LVGHL_CLOSEHOT = 10,
785 LVGHL_CLOSESELECTED = 11,
786 LVGHL_CLOSESELECTEDHOT = 12,
787 LVGHL_CLOSESELECTEDNOTFOCUSED = 13,
788 LVGHL_CLOSESELECTEDNOTFOCUSEDHOT = 14,
789 LVGHL_CLOSEMIXEDSELECTION = 15,
790 LVGHL_CLOSEMIXEDSELECTIONHOT = 16,
793 enum EXPANDBUTTONSTATES {
794 LVEB_NORMAL = 1,
795 LVEB_HOVER = 2,
796 LVEB_PUSHED = 3,
799 enum COLLAPSEBUTTONSTATES {
800 LVCB_NORMAL = 1,
801 LVCB_HOVER = 2,
802 LVCB_PUSHED = 3,
805 /* MENUSTYLE class */
806 #if defined(_MSC_VER) || defined(__MINGW32__)
807 #define VSCLASS_MENUSTYLE L"MENUSTYLE"
808 #define VSCLASS_MENU L"MENU"
809 #else
810 static const WCHAR VSCLASS_MENUSTYLE [] = {'M','E','N','U','S','T','Y','L','E',0};
811 static const WCHAR VSCLASS_MENU [] = {'M','E','N','U',0};
812 #endif
814 enum MENUPARTS {
815 MENU_MENUITEM_TMSCHEMA = 1,
816 MENU_MENUDROPDOWN_TMSCHEMA = 2,
817 MENU_MENUBARITEM_TMSCHEMA = 3,
818 MENU_MENUBARDROPDOWN_TMSCHEMA = 4,
819 MENU_CHEVRON_TMSCHEMA = 5,
820 MENU_SEPARATOR_TMSCHEMA = 6,
821 MENU_BARBACKGROUND = 7,
822 MENU_BARITEM = 8,
823 MENU_POPUPBACKGROUND = 9,
824 MENU_POPUPBORDERS = 10,
825 MENU_POPUPCHECK = 11,
826 MENU_POPUPCHECKBACKGROUND = 12,
827 MENU_POPUPGUTTER = 13,
828 MENU_POPUPITEM = 14,
829 MENU_POPUPSEPARATOR = 15,
830 MENU_POPUPSUBMENU = 16,
831 MENU_SYSTEMCLOSE = 17,
832 MENU_SYSTEMMAXIMIZE = 18,
833 MENU_SYSTEMMINIMIZE = 19,
834 MENU_SYSTEMRESTORE = 20,
837 #define MENUSTYLEPARTS MENUPARTS;
839 enum BARBACKGROUNDSTATES {
840 MB_ACTIVE = 1,
841 MB_INACTIVE = 2,
844 enum BARITEMSTATES {
845 MBI_NORMAL = 1,
846 MBI_HOT = 2,
847 MBI_PUSHED = 3,
848 MBI_DISABLED = 4,
849 MBI_DISABLEDHOT = 5,
850 MBI_DISABLEDPUSHED = 6,
853 enum POPUPCHECKSTATES {
854 MC_CHECKMARKNORMAL = 1,
855 MC_CHECKMARKDISABLED = 2,
856 MC_BULLETNORMAL = 3,
857 MC_BULLETDISABLED = 4,
860 enum POPUPCHECKBACKGROUNDSTATES {
861 MCB_DISABLED = 1,
862 MCB_NORMAL = 2,
863 MCB_BITMAP = 3,
866 enum POPUPITEMSTATES {
867 MPI_NORMAL = 1,
868 MPI_HOT = 2,
869 MPI_DISABLED = 3,
870 MPI_DISABLEDHOT = 4,
873 enum POPUPSUBMENUSTATES {
874 MSM_NORMAL = 1,
875 MSM_DISABLED = 2,
878 enum SYSTEMCLOSESTATES {
879 MSYSC_NORMAL = 1,
880 MSYSC_DISABLED = 2,
883 enum SYSTEMMAXIMIZESTATES {
884 MSYSMX_NORMAL = 1,
885 MSYSMX_DISABLED = 2,
888 enum SYSTEMMINIMIZESTATES {
889 MSYSMN_NORMAL = 1,
890 MSYSMN_DISABLED = 2,
893 enum SYSTEMRESTORESTATES {
894 MSYSR_NORMAL = 1,
895 MSYSR_DISABLED = 2,
898 /* NAVIGATION class */
899 #if defined(_MSC_VER) || defined(__MINGW32__)
900 #define VSCLASS_NAVIGATION L"NAVIGATION"
901 #else
902 static const WCHAR VSCLASS_NAVIGATION [] = {'N','A','V','I','G','A','T','I','O','N',0};
903 #endif
905 enum NAVIGATIONPARTS {
906 NAV_BACKBUTTON = 1,
907 NAV_FORWARDBUTTON = 2,
908 NAV_MENUBUTTON = 3,
911 enum NAV_BACKBUTTONSTATES {
912 NAV_BB_NORMAL = 1,
913 NAV_BB_HOT = 2,
914 NAV_BB_PRESSED = 3,
915 NAV_BB_DISABLED = 4,
918 enum NAV_FORWARDBUTTONSTATES {
919 NAV_FB_NORMAL = 1,
920 NAV_FB_HOT = 2,
921 NAV_FB_PRESSED = 3,
922 NAV_FB_DISABLED = 4,
925 enum NAV_MENUBUTTONSTATES {
926 NAV_MB_NORMAL = 1,
927 NAV_MB_HOT = 2,
928 NAV_MB_PRESSED = 3,
929 NAV_MB_DISABLED = 4,
932 /* PROGRESSSTYLE class */
933 #if defined(_MSC_VER) || defined(__MINGW32__)
934 #define VSCLASS_PROGRESSSTYLE L"PROGRESSSTYLE"
935 #define VSCLASS_PROGRESS L"PROGRESS"
936 #else
937 static const WCHAR VSCLASS_PROGRESSSTYLE [] = {'P','R','O','G','R','E','S','S','S','T','Y','L','E',0};
938 static const WCHAR VSCLASS_PROGRESS [] = {'P','R','O','G','R','E','S','S',0};
939 #endif
941 enum PROGRESSPARTS {
942 PP_BAR = 1,
943 PP_BARVERT = 2,
944 PP_CHUNK = 3,
945 PP_CHUNKVERT = 4,
946 PP_FILL = 5,
947 PP_FILLVERT = 6,
948 PP_PULSEOVERLAY = 7,
949 PP_MOVEOVERLAY = 8,
950 PP_PULSEOVERLAYVERT = 9,
951 PP_MOVEOVERLAYVERT = 10,
952 PP_TRANSPARENTBAR = 11,
953 PP_TRANSPARENTBARVERT = 12,
956 #define PROGRESSSTYLEPARTS PROGRESSPARTS;
958 enum TRANSPARENTBARSTATES {
959 PBBS_NORMAL = 1,
960 PBBS_PARTIAL = 2,
963 enum TRANSPARENTBARVERTSTATES {
964 PBBVS_NORMAL = 1,
965 PBBVS_PARTIAL = 2,
968 enum FILLSTATES {
969 PBFS_NORMAL = 1,
970 PBFS_ERROR = 2,
971 PBFS_PAUSED = 3,
972 PBFS_PARTIAL = 4,
975 enum FILLVERTSTATES {
976 PBFVS_NORMAL = 1,
977 PBFVS_ERROR = 2,
978 PBFVS_PAUSED = 3,
979 PBFVS_PARTIAL = 4,
982 /* REBARSTYLE class */
983 #if defined(_MSC_VER) || defined(__MINGW32__)
984 #define VSCLASS_REBARSTYLE L"REBARSTYLE"
985 #define VSCLASS_REBAR L"REBAR"
986 #else
987 static const WCHAR VSCLASS_REBARSTYLE [] = {'R','E','B','A','R','S','T','Y','L','E',0};
988 static const WCHAR VSCLASS_REBAR [] = {'R','E','B','A','R',0};
989 #endif
991 enum REBARPARTS {
992 RP_GRIPPER = 1,
993 RP_GRIPPERVERT = 2,
994 RP_BAND = 3,
995 RP_CHEVRON = 4,
996 RP_CHEVRONVERT = 5,
997 RP_BACKGROUND = 6,
998 RP_SPLITTER = 7,
999 RP_SPLITTERVERT = 8,
1002 #define REBARSTYLEPARTS REBARPARTS;
1004 enum CHEVRONSTATES {
1005 CHEVS_NORMAL = 1,
1006 CHEVS_HOT = 2,
1007 CHEVS_PRESSED = 3,
1010 enum CHEVRONVERTSTATES {
1011 CHEVSV_NORMAL = 1,
1012 CHEVSV_HOT = 2,
1013 CHEVSV_PRESSED = 3,
1016 enum SPLITTERSTATES {
1017 SPLITS_NORMAL = 1,
1018 SPLITS_HOT = 2,
1019 SPLITS_PRESSED = 3,
1022 enum SPLITTERVERTSTATES {
1023 SPLITSV_NORMAL = 1,
1024 SPLITSV_HOT = 2,
1025 SPLITSV_PRESSED = 3,
1028 /* SCROLLBARSTYLE class */
1029 #if defined(_MSC_VER) || defined(__MINGW32__)
1030 #define VSCLASS_SCROLLBARSTYLE L"SCROLLBARSTYLE"
1031 #define VSCLASS_SCROLLBAR L"SCROLLBAR"
1032 #else
1033 static const WCHAR VSCLASS_SCROLLBARSTYLE [] = {'S','C','R','O','L','L','B','A','R','S','T','Y','L','E',0};
1034 static const WCHAR VSCLASS_SCROLLBAR [] = {'S','C','R','O','L','L','B','A','R',0};
1035 #endif
1037 enum SCROLLBARPARTS {
1038 SBP_ARROWBTN = 1,
1039 SBP_THUMBBTNHORZ = 2,
1040 SBP_THUMBBTNVERT = 3,
1041 SBP_LOWERTRACKHORZ = 4,
1042 SBP_UPPERTRACKHORZ = 5,
1043 SBP_LOWERTRACKVERT = 6,
1044 SBP_UPPERTRACKVERT = 7,
1045 SBP_GRIPPERHORZ = 8,
1046 SBP_GRIPPERVERT = 9,
1047 SBP_SIZEBOX = 10,
1048 SBP_SIZEBOXBKGND = 11,
1051 #define SCROLLBARSTYLEPARTS SCROLLBARPARTS;
1053 enum ARROWBTNSTATES {
1054 ABS_UPNORMAL = 1,
1055 ABS_UPHOT = 2,
1056 ABS_UPPRESSED = 3,
1057 ABS_UPDISABLED = 4,
1058 ABS_DOWNNORMAL = 5,
1059 ABS_DOWNHOT = 6,
1060 ABS_DOWNPRESSED = 7,
1061 ABS_DOWNDISABLED = 8,
1062 ABS_LEFTNORMAL = 9,
1063 ABS_LEFTHOT = 10,
1064 ABS_LEFTPRESSED = 11,
1065 ABS_LEFTDISABLED = 12,
1066 ABS_RIGHTNORMAL = 13,
1067 ABS_RIGHTHOT = 14,
1068 ABS_RIGHTPRESSED = 15,
1069 ABS_RIGHTDISABLED = 16,
1070 ABS_UPHOVER = 17,
1071 ABS_DOWNHOVER = 18,
1072 ABS_LEFTHOVER = 19,
1073 ABS_RIGHTHOVER = 20,
1076 enum SCROLLBARSTYLESTATES {
1077 SCRBS_NORMAL = 1,
1078 SCRBS_HOT = 2,
1079 SCRBS_PRESSED = 3,
1080 SCRBS_DISABLED = 4,
1081 SCRBS_HOVER = 5,
1084 enum SIZEBOXSTATES {
1085 SZB_RIGHTALIGN = 1,
1086 SZB_LEFTALIGN = 2,
1087 SZB_TOPRIGHTALIGN = 3,
1088 SZB_TOPLEFTALIGN = 4,
1089 SZB_HALFBOTTOMRIGHTALIGN = 5,
1090 SZB_HALFBOTTOMLEFTALIGN = 6,
1091 SZB_HALFTOPRIGHTALIGN = 7,
1092 SZB_HALFTOPLEFTALIGN = 8,
1095 /* SPINSTYLE class */
1096 #if defined(_MSC_VER) || defined(__MINGW32__)
1097 #define VSCLASS_SPINSTYLE L"SPINSTYLE"
1098 #else
1099 static const WCHAR VSCLASS_SPINSTYLE [] = {'S','P','I','N','S','T','Y','L','E',0};
1100 #endif
1101 #if defined(_MSC_VER) || defined(__MINGW32__)
1102 #define VSCLASS_SPIN L"SPIN"
1103 #else
1104 static const WCHAR VSCLASS_SPIN [] = {'S','P','I','N',0};
1105 #endif
1107 enum SPINPARTS {
1108 SPNP_UP = 1,
1109 SPNP_DOWN = 2,
1110 SPNP_UPHORZ = 3,
1111 SPNP_DOWNHORZ = 4,
1114 #define SPINSTYLEPARTS SPINPARTS;
1116 enum UPSTATES {
1117 UPS_NORMAL = 1,
1118 UPS_HOT = 2,
1119 UPS_PRESSED = 3,
1120 UPS_DISABLED = 4,
1123 enum DOWNSTATES {
1124 DNS_NORMAL = 1,
1125 DNS_HOT = 2,
1126 DNS_PRESSED = 3,
1127 DNS_DISABLED = 4,
1130 enum UPHORZSTATES {
1131 UPHZS_NORMAL = 1,
1132 UPHZS_HOT = 2,
1133 UPHZS_PRESSED = 3,
1134 UPHZS_DISABLED = 4,
1137 enum DOWNHORZSTATES {
1138 DNHZS_NORMAL = 1,
1139 DNHZS_HOT = 2,
1140 DNHZS_PRESSED = 3,
1141 DNHZS_DISABLED = 4,
1144 /* STATUSSTYLE class */
1145 #if defined(_MSC_VER) || defined(__MINGW32__)
1146 #define VSCLASS_STATUSSTYLE L"STATUSSTYLE"
1147 #define VSCLASS_STATUS L"STATUS"
1148 #else
1149 static const WCHAR VSCLASS_STATUSSTYLE [] = {'S','T','A','T','U','S','S','T','Y','L','E',0};
1150 static const WCHAR VSCLASS_STATUS [] = {'S','T','A','T','U','S',0};
1151 #endif
1153 enum STATUSPARTS {
1154 SP_PANE = 1,
1155 SP_GRIPPERPANE = 2,
1156 SP_GRIPPER = 3,
1159 #define STATUSSTYLEPARTS STATUSPARTS;
1161 /* TABSTYLE class */
1162 #if defined(_MSC_VER) || defined(__MINGW32__)
1163 #define VSCLASS_TABSTYLE L"TABSTYLE"
1164 #define VSCLASS_TAB L"TAB"
1165 #else
1166 static const WCHAR VSCLASS_TABSTYLE [] = {'T','A','B','S','T','Y','L','E',0};
1167 static const WCHAR VSCLASS_TAB [] = {'T','A','B',0};
1168 #endif
1170 enum TABPARTS {
1171 TABP_TABITEM = 1,
1172 TABP_TABITEMLEFTEDGE = 2,
1173 TABP_TABITEMRIGHTEDGE = 3,
1174 TABP_TABITEMBOTHEDGE = 4,
1175 TABP_TOPTABITEM = 5,
1176 TABP_TOPTABITEMLEFTEDGE = 6,
1177 TABP_TOPTABITEMRIGHTEDGE = 7,
1178 TABP_TOPTABITEMBOTHEDGE = 8,
1179 TABP_PANE = 9,
1180 TABP_BODY = 10,
1181 TABP_AEROWIZARDBODY = 11,
1184 #define TABSTYLEPARTS TABPARTS;
1186 enum TABITEMSTATES {
1187 TIS_NORMAL = 1,
1188 TIS_HOT = 2,
1189 TIS_SELECTED = 3,
1190 TIS_DISABLED = 4,
1191 TIS_FOCUSED = 5,
1194 enum TABITEMLEFTEDGESTATES {
1195 TILES_NORMAL = 1,
1196 TILES_HOT = 2,
1197 TILES_SELECTED = 3,
1198 TILES_DISABLED = 4,
1199 TILES_FOCUSED = 5,
1202 enum TABITEMRIGHTEDGESTATES {
1203 TIRES_NORMAL = 1,
1204 TIRES_HOT = 2,
1205 TIRES_SELECTED = 3,
1206 TIRES_DISABLED = 4,
1207 TIRES_FOCUSED = 5,
1210 enum TABITEMBOTHEDGESTATES {
1211 TIBES_NORMAL = 1,
1212 TIBES_HOT = 2,
1213 TIBES_SELECTED = 3,
1214 TIBES_DISABLED = 4,
1215 TIBES_FOCUSED = 5,
1218 enum TOPTABITEMSTATES {
1219 TTIS_NORMAL = 1,
1220 TTIS_HOT = 2,
1221 TTIS_SELECTED = 3,
1222 TTIS_DISABLED = 4,
1223 TTIS_FOCUSED = 5,
1226 enum TOPTABITEMLEFTEDGESTATES {
1227 TTILES_NORMAL = 1,
1228 TTILES_HOT = 2,
1229 TTILES_SELECTED = 3,
1230 TTILES_DISABLED = 4,
1231 TTILES_FOCUSED = 5,
1234 enum TOPTABITEMRIGHTEDGESTATES {
1235 TTIRES_NORMAL = 1,
1236 TTIRES_HOT = 2,
1237 TTIRES_SELECTED = 3,
1238 TTIRES_DISABLED = 4,
1239 TTIRES_FOCUSED = 5,
1242 enum TOPTABITEMBOTHEDGESTATES {
1243 TTIBES_NORMAL = 1,
1244 TTIBES_HOT = 2,
1245 TTIBES_SELECTED = 3,
1246 TTIBES_DISABLED = 4,
1247 TTIBES_FOCUSED = 5,
1250 /* TASKDIALOGSTYLE class */
1251 #if defined(_MSC_VER) || defined(__MINGW32__)
1252 #define VSCLASS_TASKDIALOGSTYLE L"TASKDIALOGSTYLE"
1253 #define VSCLASS_TASKDIALOG L"TASKDIALOG"
1254 #else
1255 static const WCHAR VSCLASS_TASKDIALOGSTYLE[] = {'T','A','S','K','D','I','A','L','O','G','S','T','Y','L','E',0};
1256 static const WCHAR VSCLASS_TASKDIALOG [] = {'T','A','S','K','D','I','A','L','O','G',0};
1257 #endif
1259 enum TASKDIALOGPARTS {
1260 TDLG_PRIMARYPANEL = 1,
1261 TDLG_MAININSTRUCTIONPANE = 2,
1262 TDLG_MAINICON = 3,
1263 TDLG_CONTENTPANE = 4,
1264 TDLG_CONTENTICON = 5,
1265 TDLG_EXPANDEDCONTENT = 6,
1266 TDLG_COMMANDLINKPANE = 7,
1267 TDLG_SECONDARYPANEL = 8,
1268 TDLG_CONTROLPANE = 9,
1269 TDLG_BUTTONSECTION = 10,
1270 TDLG_BUTTONWRAPPER = 11,
1271 TDLG_EXPANDOTEXT = 12,
1272 TDLG_EXPANDOBUTTON = 13,
1273 TDLG_VERIFICATIONTEXT = 14,
1274 TDLG_FOOTNOTEPANE = 15,
1275 TDLG_FOOTNOTEAREA = 16,
1276 TDLG_FOOTNOTESEPARATOR = 17,
1277 TDLG_EXPANDEDFOOTERAREA = 18,
1278 TDLG_PROGRESSBAR = 19,
1279 TDLG_IMAGEALIGNMENT = 20,
1280 TDLG_RADIOBUTTONPANE = 21,
1283 #define TASKDIALOGSTYLEPARTS TASKDIALOGPARTS;
1285 enum CONTENTPANESTATES {
1286 TDLGCPS_STANDALONE = 1,
1289 enum EXPANDOBUTTONSTATES {
1290 TDLGEBS_NORMAL = 1,
1291 TDLGEBS_HOVER = 2,
1292 TDLGEBS_PRESSED = 3,
1293 TDLGEBS_EXPANDEDNORMAL = 4,
1294 TDLGEBS_EXPANDEDHOVER = 5,
1295 TDLGEBS_EXPANDEDPRESSED = 6,
1296 TDLGEBS_NORMALDISABLED = 7,
1297 TDLGEBS_EXPANDEDDISABLED = 8,
1300 /* TEXTSTYLE class */
1301 #if defined(_MSC_VER) || defined(__MINGW32__)
1302 #define VSCLASS_TEXTSTYLE L"TEXTSTYLE"
1303 #else
1304 static const WCHAR VSCLASS_TEXTSTYLE [] = {'T','E','X','T','S','T','Y','L','E',0};
1305 #endif
1307 enum TEXTSTYLEPARTS {
1308 TEXT_MAININSTRUCTION = 1,
1309 TEXT_INSTRUCTION = 2,
1310 TEXT_BODYTITLE = 3,
1311 TEXT_BODYTEXT = 4,
1312 TEXT_SECONDARYTEXT = 5,
1313 TEXT_HYPERLINKTEXT = 6,
1314 TEXT_EXPANDED = 7,
1315 TEXT_LABEL = 8,
1316 TEXT_CONTROLLABEL = 9,
1319 enum HYPERLINKTEXTSTATES {
1320 TS_HYPERLINK_NORMAL = 1,
1321 TS_HYPERLINK_HOT = 2,
1322 TS_HYPERLINK_PRESSED = 3,
1323 TS_HYPERLINK_DISABLED = 4,
1326 enum CONTROLLABELSTATES {
1327 TS_CONTROLLABEL_NORMAL = 1,
1328 TS_CONTROLLABEL_DISABLED = 2,
1331 /* TOOLBARSTYLE class */
1332 #if defined(_MSC_VER) || defined(__MINGW32__)
1333 #define VSCLASS_TOOLBARSTYLE L"TOOLBARSTYLE"
1334 #define VSCLASS_TOOLBAR L"TOOLBAR"
1335 #else
1336 static const WCHAR VSCLASS_TOOLBARSTYLE [] = {'T','O','O','L','B','A','R','S','T','Y','L','E',0};
1337 static const WCHAR VSCLASS_TOOLBAR[] = {'T','O','O','L','B','A','R',0};
1338 #endif
1340 enum TOOLBARPARTS {
1341 TP_BUTTON = 1,
1342 TP_DROPDOWNBUTTON = 2,
1343 TP_SPLITBUTTON = 3,
1344 TP_SPLITBUTTONDROPDOWN = 4,
1345 TP_SEPARATOR = 5,
1346 TP_SEPARATORVERT = 6,
1347 TP_DROPDOWNBUTTONGLYPH = 7,
1350 #define TOOLBARSTYLEPARTS TOOLBARPARTS;
1352 enum TOOLBARSTYLESTATES {
1353 TS_NORMAL = 1,
1354 TS_HOT = 2,
1355 TS_PRESSED = 3,
1356 TS_DISABLED = 4,
1357 TS_CHECKED = 5,
1358 TS_HOTCHECKED = 6,
1359 TS_NEARHOT = 7,
1360 TS_OTHERSIDEHOT = 8,
1363 /* TOOLTIPSTYLE class */
1364 #if defined(_MSC_VER) || defined(__MINGW32__)
1365 #define VSCLASS_TOOLTIPSTYLE L"TOOLTIPSTYLE"
1366 #define VSCLASS_TOOLTIP L"TOOLTIP"
1367 #else
1368 static const WCHAR VSCLASS_TOOLTIPSTYLE [] = {'T','O','O','L','T','I','P','S','T','Y','L','E',0};
1369 static const WCHAR VSCLASS_TOOLTIP[] = {'T','O','O','L','T','I','P',0};
1370 #endif
1372 enum TOOLTIPPARTS {
1373 TTP_STANDARD = 1,
1374 TTP_STANDARDTITLE = 2,
1375 TTP_BALLOON = 3,
1376 TTP_BALLOONTITLE = 4,
1377 TTP_CLOSE = 5,
1378 TTP_BALLOONSTEM = 6,
1379 TTP_WRENCH = 7,
1382 #define TOOLTIPSTYLEPARTS TOOLTIPPARTS;
1384 enum CLOSESTATES {
1385 TTCS_NORMAL = 1,
1386 TTCS_HOT = 2,
1387 TTCS_PRESSED = 3,
1390 enum STANDARDSTATES {
1391 TTSS_NORMAL = 1,
1392 TTSS_LINK = 2,
1395 enum BALLOONSTATES {
1396 TTBS_NORMAL = 1,
1397 TTBS_LINK = 2,
1400 enum BALLOONSTEMSTATES {
1401 TTBSS_POINTINGUPLEFTWALL = 1,
1402 TTBSS_POINTINGUPCENTERED = 2,
1403 TTBSS_POINTINGUPRIGHTWALL = 3,
1404 TTBSS_POINTINGDOWNRIGHTWALL = 4,
1405 TTBSS_POINTINGDOWNCENTERED = 5,
1406 TTBSS_POINTINGDOWNLEFTWALL = 6,
1409 enum WRENCHSTATES {
1410 TTWS_NORMAL = 1,
1411 TTWS_HOT = 2,
1412 TTWS_PRESSED = 3,
1415 /* TRACKBARSTYLE class */
1416 #if defined(_MSC_VER) || defined(__MINGW32__)
1417 #define VSCLASS_TRACKBARSTYLE L"TRACKBARSTYLE"
1418 #define VSCLASS_TRACKBAR L"TRACKBAR"
1419 #else
1420 static const WCHAR VSCLASS_TRACKBARSTYLE [] = {'T','R','A','C','K','B','A','R','S','T','Y','L','E',0};
1421 static const WCHAR VSCLASS_TRACKBAR [] = {'T','R','A','C','K','B','A','R',0};
1422 #endif
1424 enum TRACKBARPARTS {
1425 TKP_TRACK = 1,
1426 TKP_TRACKVERT = 2,
1427 TKP_THUMB = 3,
1428 TKP_THUMBBOTTOM = 4,
1429 TKP_THUMBTOP = 5,
1430 TKP_THUMBVERT = 6,
1431 TKP_THUMBLEFT = 7,
1432 TKP_THUMBRIGHT = 8,
1433 TKP_TICS = 9,
1434 TKP_TICSVERT = 10,
1437 #define TRACKBARSTYLEPARTS TRACKBARPARTS;
1439 enum TRACKBARSTYLESTATES {
1440 TKS_NORMAL = 1,
1443 enum TRACKSTATES {
1444 TRS_NORMAL = 1,
1447 enum TRACKVERTSTATES {
1448 TRVS_NORMAL = 1,
1451 enum THUMBSTATES {
1452 TUS_NORMAL = 1,
1453 TUS_HOT = 2,
1454 TUS_PRESSED = 3,
1455 TUS_FOCUSED = 4,
1456 TUS_DISABLED = 5,
1459 enum THUMBBOTTOMSTATES {
1460 TUBS_NORMAL = 1,
1461 TUBS_HOT = 2,
1462 TUBS_PRESSED = 3,
1463 TUBS_FOCUSED = 4,
1464 TUBS_DISABLED = 5,
1467 enum THUMBTOPSTATES {
1468 TUTS_NORMAL = 1,
1469 TUTS_HOT = 2,
1470 TUTS_PRESSED = 3,
1471 TUTS_FOCUSED = 4,
1472 TUTS_DISABLED = 5,
1475 enum THUMBVERTSTATES {
1476 TUVS_NORMAL = 1,
1477 TUVS_HOT = 2,
1478 TUVS_PRESSED = 3,
1479 TUVS_FOCUSED = 4,
1480 TUVS_DISABLED = 5,
1483 enum THUMBLEFTSTATES {
1484 TUVLS_NORMAL = 1,
1485 TUVLS_HOT = 2,
1486 TUVLS_PRESSED = 3,
1487 TUVLS_FOCUSED = 4,
1488 TUVLS_DISABLED = 5,
1491 enum THUMBRIGHTSTATES {
1492 TUVRS_NORMAL = 1,
1493 TUVRS_HOT = 2,
1494 TUVRS_PRESSED = 3,
1495 TUVRS_FOCUSED = 4,
1496 TUVRS_DISABLED = 5,
1499 enum TICSSTATES {
1500 TSS_NORMAL = 1,
1503 enum TICSVERTSTATES {
1504 TSVS_NORMAL = 1,
1507 /* TREEVIEWSTYLE class */
1508 #if defined(_MSC_VER) || defined(__MINGW32__)
1509 #define VSCLASS_TREEVIEWSTYLE L"TREEVIEWSTYLE"
1510 #define VSCLASS_TREEVIEW L"TREEVIEW"
1511 #else
1512 static const WCHAR VSCLASS_TREEVIEWSTYLE [] = {'T','R','E','E','V','I','E','W','S','T','Y','L','E',0};
1513 static const WCHAR VSCLASS_TREEVIEW [] = {'T','R','E','E','V','I','E','W',0};
1514 #endif
1516 enum TREEVIEWPARTS {
1517 TVP_TREEITEM = 1,
1518 TVP_GLYPH = 2,
1519 TVP_BRANCH = 3,
1520 TVP_HOTGLYPH = 4,
1523 #define TREEVIEWSTYLEPARTS TREEVIEWPARTS;
1525 enum TREEITEMSTATES {
1526 TREIS_NORMAL = 1,
1527 TREIS_HOT = 2,
1528 TREIS_SELECTED = 3,
1529 TREIS_DISABLED = 4,
1530 TREIS_SELECTEDNOTFOCUS = 5,
1531 TREIS_HOTSELECTED = 6,
1534 enum GLYPHSTATES {
1535 GLPS_CLOSED = 1,
1536 GLPS_OPENED = 2,
1539 enum HOTGLYPHSTATES {
1540 HGLPS_CLOSED = 1,
1541 HGLPS_OPENED = 2,
1544 /* WINDOWSTYLE class */
1545 #if defined(_MSC_VER) || defined(__MINGW32__)
1546 #define VSCLASS_WINDOWSTYLE L"WINDOWSTYLE"
1547 #define VSCLASS_WINDOW L"WINDOW"
1548 #else
1549 static const WCHAR VSCLASS_WINDOWSTYLE [] = {'W','I','N','D','O','W','S','T','Y','L','E',0};
1550 static const WCHAR VSCLASS_WINDOW [] = {'W','I','N','D','O','W',0};
1551 #endif
1553 enum WINDOWPARTS {
1554 WP_CAPTION = 1,
1555 WP_SMALLCAPTION = 2,
1556 WP_MINCAPTION = 3,
1557 WP_SMALLMINCAPTION = 4,
1558 WP_MAXCAPTION = 5,
1559 WP_SMALLMAXCAPTION = 6,
1560 WP_FRAMELEFT = 7,
1561 WP_FRAMERIGHT = 8,
1562 WP_FRAMEBOTTOM = 9,
1563 WP_SMALLFRAMELEFT = 10,
1564 WP_SMALLFRAMERIGHT = 11,
1565 WP_SMALLFRAMEBOTTOM = 12,
1566 WP_SYSBUTTON = 13,
1567 WP_MDISYSBUTTON = 14,
1568 WP_MINBUTTON = 15,
1569 WP_MDIMINBUTTON = 16,
1570 WP_MAXBUTTON = 17,
1571 WP_CLOSEBUTTON = 18,
1572 WP_SMALLCLOSEBUTTON = 19,
1573 WP_MDICLOSEBUTTON = 20,
1574 WP_RESTOREBUTTON = 21,
1575 WP_MDIRESTOREBUTTON = 22,
1576 WP_HELPBUTTON = 23,
1577 WP_MDIHELPBUTTON = 24,
1578 WP_HORZSCROLL = 25,
1579 WP_HORZTHUMB = 26,
1580 WP_VERTSCROLL = 27,
1581 WP_VERTTHUMB = 28,
1582 WP_DIALOG = 29,
1583 WP_CAPTIONSIZINGTEMPLATE = 30,
1584 WP_SMALLCAPTIONSIZINGTEMPLATE = 31,
1585 WP_FRAMELEFTSIZINGTEMPLATE = 32,
1586 WP_SMALLFRAMELEFTSIZINGTEMPLATE = 33,
1587 WP_FRAMERIGHTSIZINGTEMPLATE = 34,
1588 WP_SMALLFRAMERIGHTSIZINGTEMPLATE = 35,
1589 WP_FRAMEBOTTOMSIZINGTEMPLATE = 36,
1590 WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE = 37,
1591 WP_FRAME = 38,
1592 WP_BORDER = 39,
1595 #define WINDOWSTYLEPARTS WINDOWPARTS;
1597 enum FRAMESTATES {
1598 FS_ACTIVE = 1,
1599 FS_INACTIVE = 2,
1602 enum CAPTIONSTATES {
1603 CS_ACTIVE = 1,
1604 CS_INACTIVE = 2,
1605 CS_DISABLED = 3,
1608 enum MAXCAPTIONSTATES {
1609 MXCS_ACTIVE = 1,
1610 MXCS_INACTIVE = 2,
1611 MXCS_DISABLED = 3,
1614 enum MINCAPTIONSTATES {
1615 MNCS_ACTIVE = 1,
1616 MNCS_INACTIVE = 2,
1617 MNCS_DISABLED = 3,
1620 enum HORZSCROLLSTATES {
1621 HSS_NORMAL = 1,
1622 HSS_HOT = 2,
1623 HSS_PUSHED = 3,
1624 HSS_DISABLED = 4,
1627 enum HORZTHUMBSTATES {
1628 HTS_NORMAL = 1,
1629 HTS_HOT = 2,
1630 HTS_PUSHED = 3,
1631 HTS_DISABLED = 4,
1634 enum VERTSCROLLSTATES {
1635 VSS_NORMAL = 1,
1636 VSS_HOT = 2,
1637 VSS_PUSHED = 3,
1638 VSS_DISABLED = 4,
1641 enum VERTTHUMBSTATES {
1642 VTS_NORMAL = 1,
1643 VTS_HOT = 2,
1644 VTS_PUSHED = 3,
1645 VTS_DISABLED = 4,
1648 enum SYSBUTTONSTATES {
1649 SBS_NORMAL = 1,
1650 SBS_HOT = 2,
1651 SBS_PUSHED = 3,
1652 SBS_DISABLED = 4,
1655 enum MINBUTTONSTATES {
1656 MINBS_NORMAL = 1,
1657 MINBS_HOT = 2,
1658 MINBS_PUSHED = 3,
1659 MINBS_DISABLED = 4,
1662 enum MAXBUTTONSTATES {
1663 MAXBS_NORMAL = 1,
1664 MAXBS_HOT = 2,
1665 MAXBS_PUSHED = 3,
1666 MAXBS_DISABLED = 4,
1669 enum RESTOREBUTTONSTATES {
1670 RBS_NORMAL = 1,
1671 RBS_HOT = 2,
1672 RBS_PUSHED = 3,
1673 RBS_DISABLED = 4,
1676 enum HELPBUTTONSTATES {
1677 HBS_NORMAL = 1,
1678 HBS_HOT = 2,
1679 HBS_PUSHED = 3,
1680 HBS_DISABLED = 4,
1683 enum CLOSEBUTTONSTATES {
1684 CBS_NORMAL = 1,
1685 CBS_HOT = 2,
1686 CBS_PUSHED = 3,
1687 CBS_DISABLED = 4,
1690 #endif /* __VSSTYLE_H__ */