mfplat: Fix optional buffer argument handling in ConvertToContiguousBuffer().
[wine.git] / include / vsstyle.h
blobc5850111fb3796f57d96296bae00bcdc5c035037
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,
77 #define BUTTONSTYLEPARTS BUTTONPARTS;
79 enum PUSHBUTTONSTATES {
80 PBS_NORMAL = 1,
81 PBS_HOT = 2,
82 PBS_PRESSED = 3,
83 PBS_DISABLED = 4,
84 PBS_DEFAULTED = 5,
85 PBS_DEFAULTED_ANIMATING = 6,
88 enum RADIOBUTTONSTATES {
89 RBS_UNCHECKEDNORMAL = 1,
90 RBS_UNCHECKEDHOT = 2,
91 RBS_UNCHECKEDPRESSED = 3,
92 RBS_UNCHECKEDDISABLED = 4,
93 RBS_CHECKEDNORMAL = 5,
94 RBS_CHECKEDHOT = 6,
95 RBS_CHECKEDPRESSED = 7,
96 RBS_CHECKEDDISABLED = 8,
99 enum CHECKBOXSTATES {
100 CBS_UNCHECKEDNORMAL = 1,
101 CBS_UNCHECKEDHOT = 2,
102 CBS_UNCHECKEDPRESSED = 3,
103 CBS_UNCHECKEDDISABLED = 4,
104 CBS_CHECKEDNORMAL = 5,
105 CBS_CHECKEDHOT = 6,
106 CBS_CHECKEDPRESSED = 7,
107 CBS_CHECKEDDISABLED = 8,
108 CBS_MIXEDNORMAL = 9,
109 CBS_MIXEDHOT = 10,
110 CBS_MIXEDPRESSED = 11,
111 CBS_MIXEDDISABLED = 12,
112 CBS_IMPLICITNORMAL = 13,
113 CBS_IMPLICITHOT = 14,
114 CBS_IMPLICITPRESSED = 15,
115 CBS_IMPLICITDISABLED = 16,
116 CBS_EXCLUDEDNORMAL = 17,
117 CBS_EXCLUDEDHOT = 18,
118 CBS_EXCLUDEDPRESSED = 19,
119 CBS_EXCLUDEDDISABLED = 20,
122 enum GROUPBOXSTATES {
123 GBS_NORMAL = 1,
124 GBS_DISABLED = 2,
127 enum COMMANDLINKSTATES {
128 CMDLS_NORMAL = 1,
129 CMDLS_HOT = 2,
130 CMDLS_PRESSED = 3,
131 CMDLS_DISABLED = 4,
132 CMDLS_DEFAULTED = 5,
133 CMDLS_DEFAULTED_ANIMATING = 6,
136 enum COMMANDLINKGLYPHSTATES {
137 CMDLGS_NORMAL = 1,
138 CMDLGS_HOT = 2,
139 CMDLGS_PRESSED = 3,
140 CMDLGS_DISABLED = 4,
141 CMDLGS_DEFAULTED = 5,
144 /* COMBOBOXSTYLE class */
145 #if defined(_MSC_VER) || defined(__MINGW32__)
146 #define VSCLASS_COMBOBOXSTYLE L"COMBOBOXSTYLE"
147 #define VSCLASS_COMBOBOX L"COMBOBOX"
148 #else
149 static const WCHAR VSCLASS_COMBOBOXSTYLE [] = {'C','O','M','B','O','B','O','X','S','T','Y','L','E',0};
150 static const WCHAR VSCLASS_COMBOBOX [] = {'C','O','M','B','O','B','O','X',0};
151 #endif
153 enum COMBOBOXPARTS {
154 CP_DROPDOWNBUTTON = 1,
155 CP_BACKGROUND = 2,
156 CP_TRANSPARENTBACKGROUND = 3,
157 CP_BORDER = 4,
158 CP_READONLY = 5,
159 CP_DROPDOWNBUTTONRIGHT = 6,
160 CP_DROPDOWNBUTTONLEFT = 7,
161 CP_CUEBANNER = 8,
164 #define COMBOBOXSTYLEPARTS COMBOBOXPARTS;
166 enum COMBOBOXSTYLESTATES {
167 CBXS_NORMAL = 1,
168 CBXS_HOT = 2,
169 CBXS_PRESSED = 3,
170 CBXS_DISABLED = 4,
173 enum DROPDOWNBUTTONRIGHTSTATES {
174 CBXSR_NORMAL = 1,
175 CBXSR_HOT = 2,
176 CBXSR_PRESSED = 3,
177 CBXSR_DISABLED = 4,
180 enum DROPDOWNBUTTONLEFTSTATES {
181 CBXSL_NORMAL = 1,
182 CBXSL_HOT = 2,
183 CBXSL_PRESSED = 3,
184 CBXSL_DISABLED = 4,
187 enum TRANSPARENTBACKGROUNDSTATES {
188 CBTBS_NORMAL = 1,
189 CBTBS_HOT = 2,
190 CBTBS_DISABLED = 3,
191 CBTBS_FOCUSED = 4,
194 enum BORDERSTATES {
195 CBB_NORMAL = 1,
196 CBB_HOT = 2,
197 CBB_FOCUSED = 3,
198 CBB_DISABLED = 4,
201 enum READONLYSTATES {
202 CBRO_NORMAL = 1,
203 CBRO_HOT = 2,
204 CBRO_PRESSED = 3,
205 CBRO_DISABLED = 4,
208 enum CUEBANNERSTATES {
209 CBCB_NORMAL = 1,
210 CBCB_HOT = 2,
211 CBCB_PRESSED = 3,
212 CBCB_DISABLED = 4,
215 /* COMMUNICATIONSSTYLE class */
216 #if defined(_MSC_VER) || defined(__MINGW32__)
217 #define VSCLASS_COMMUNICATIONSSTYLE L"COMMUNICATIONSSTYLE"
218 #define VSCLASS_COMMUNICATIONS L"COMMUNICATIONS"
219 #else
220 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};
221 static const WCHAR VSCLASS_COMMUNICATIONS [] = {'C','O','M','M','U','N','I','C','A','T','I','O','N','S',0};
222 #endif
224 enum COMMUNICATIONSPARTS {
225 CSST_TAB = 1,
228 #define COMMUNICATIONSSTYLEPARTS COMMUNICATIONSPARTS;
230 enum TABSTATES {
231 CSTB_NORMAL = 1,
232 CSTB_HOT = 2,
233 CSTB_SELECTED = 3,
236 /* CONTROLPANELSTYLE class */
237 #if defined(_MSC_VER) || defined(__MINGW32__)
238 #define VSCLASS_CONTROLPANELSTYLE L"CONTROLPANELSTYLE"
239 #define VSCLASS_CONTROLPANEL L"CONTROLPANEL"
240 #else
241 static const WCHAR VSCLASS_CONTROLPANELSTYLE [] = {'C','O','N','T','R','O','L','P','A','N','E','L','S','T','Y','L','E',0};
242 static const WCHAR VSCLASS_CONTROLPANEL [] = {'C','O','N','T','R','O','L','P','A','N','E','L',0};
243 #endif
245 enum CONTROLPANELPARTS {
246 CPANEL_NAVIGATIONPANE = 1,
247 CPANEL_CONTENTPANE = 2,
248 CPANEL_NAVIGATIONPANELABEL = 3,
249 CPANEL_CONTENTPANELABEL = 4,
250 CPANEL_TITLE = 5,
251 CPANEL_BODYTEXT = 6,
252 CPANEL_HELPLINK = 7,
253 CPANEL_TASKLINK = 8,
254 CPANEL_GROUPTEXT = 9,
255 CPANEL_CONTENTLINK = 10,
256 CPANEL_SECTIONTITLELINK = 11,
257 CPANEL_LARGECOMMANDAREA = 12,
258 CPANEL_SMALLCOMMANDAREA = 13,
259 CPANEL_BUTTON = 14,
260 CPANEL_MESSAGETEXT = 15,
261 CPANEL_NAVIGATIONPANELINE = 16,
262 CPANEL_CONTENTPANELINE = 17,
263 CPANEL_BANNERAREA = 18,
264 CPANEL_BODYTITLE = 19,
267 #define CONTROLPANELSTYLEPARTS CONTROLPANELPARTS;
269 enum HELPLINKSTATES {
270 CPHL_NORMAL = 1,
271 CPHL_HOT = 2,
272 CPHL_PRESSED = 3,
273 CPHL_DISABLED = 4,
276 enum TASKLINKSTATES {
277 CPTL_NORMAL = 1,
278 CPTL_HOT = 2,
279 CPTL_PRESSED = 3,
280 CPTL_DISABLED = 4,
281 CPTL_PAGE = 5,
284 enum CONTENTLINKSTATES {
285 CPCL_NORMAL = 1,
286 CPCL_HOT = 2,
287 CPCL_PRESSED = 3,
288 CPCL_DISABLED = 4,
291 enum SECTIONTITLELINKSTATES {
292 CPSTL_NORMAL = 1,
293 CPSTL_HOT = 2,
296 /* DATEPICKERSTYLE class */
297 #if defined(_MSC_VER) || defined(__MINGW32__)
298 #define VSCLASS_DATEPICKERSTYLE L"DATEPICKERSTYLE"
299 #define VSCLASS_DATEPICKER L"DATEPICKER"
300 #else
301 static const WCHAR VSCLASS_DATEPICKERSTYLE[] = {'D','A','T','E','P','I','C','K','E','R','S','T','Y','L','E',0};
302 static const WCHAR VSCLASS_DATEPICKER [] = {'D','A','T','E','P','I','C','K','E','R',0};
303 #endif
305 enum DATEPICKERPARTS {
306 DP_DATETEXT = 1,
307 DP_DATEBORDER = 2,
308 DP_SHOWCALENDARBUTTONRIGHT = 3,
311 #define DATEPICKERSTYLEPARTS DATEPICKERPARTS;
313 enum DATETEXTSTATES {
314 DPDT_NORMAL = 1,
315 DPDT_DISABLED = 2,
316 DPDT_SELECTED = 3,
319 enum DATEBORDERSTATES {
320 DPDB_NORMAL = 1,
321 DPDB_HOT = 2,
322 DPDB_FOCUSED = 3,
323 DPDB_DISABLED = 4,
326 enum SHOWCALENDARBUTTONRIGHTSTATES {
327 DPSCBR_NORMAL = 1,
328 DPSCBR_HOT = 2,
329 DPSCBR_PRESSED = 3,
330 DPSCBR_DISABLED = 4,
333 /* DRAGDROPSTYLE class */
334 #if defined(_MSC_VER) || defined(__MINGW32__)
335 #define VSCLASS_DRAGDROPSTYLE L"DRAGDROPSTYLE"
336 #define VSCLASS_DRAGDROP L"DRAGDROP"
337 #else
338 static const WCHAR VSCLASS_DRAGDROPSTYLE [] = {'D','R','A','G','D','R','O','P','S','T','Y','L','E',0};
339 static const WCHAR VSCLASS_DRAGDROP [] = {'D','R','A','G','D','R','O','P',0};
340 #endif
342 enum DRAGDROPPARTS {
343 DD_COPY = 1,
344 DD_MOVE = 2,
345 DD_UPDATEMETADATA = 3,
346 DD_CREATELINK = 4,
347 DD_WARNING = 5,
348 DD_NONE = 6,
349 DD_IMAGEBG = 7,
350 DD_TEXTBG = 8,
353 #define DRAGDROPSTYLEPARTS DRAGDROPPARTS;
355 enum COPYSTATES {
356 DDCOPY_HIGHLIGHT = 1,
357 DDCOPY_NOHIGHLIGHT = 2,
360 enum MOVESTATES {
361 DDMOVE_HIGHLIGHT = 1,
362 DDMOVE_NOHIGHLIGHT = 2,
365 enum UPDATEMETADATASTATES {
366 DDUPDATEMETADATA_HIGHLIGHT = 1,
367 DDUPDATEMETADATA_NOHIGHLIGHT = 2,
370 enum CREATELINKSTATES {
371 DDCREATELINK_HIGHLIGHT = 1,
372 DDCREATELINK_NOHIGHLIGHT = 2,
375 enum WARNINGSTATES {
376 DDWARNING_HIGHLIGHT = 1,
377 DDWARNING_NOHIGHLIGHT = 2,
380 enum NONESTATES {
381 DDNONE_HIGHLIGHT = 1,
382 DDNONE_NOHIGHLIGHT = 2,
385 /* EDITSTYLE class */
386 #if defined(_MSC_VER) || defined(__MINGW32__)
387 #define VSCLASS_EDITSTYLE L"EDITSTYLE"
388 #define VSCLASS_EDIT L"EDIT"
389 #else
390 static const WCHAR VSCLASS_EDITSTYLE [] = {'E','D','I','T','S','T','Y','L','E',0};
391 static const WCHAR VSCLASS_EDIT [] = {'E','D','I','T',0};
392 #endif
394 enum EDITPARTS {
395 EP_EDITTEXT = 1,
396 EP_CARET = 2,
397 EP_BACKGROUND = 3,
398 EP_PASSWORD = 4,
399 EP_BACKGROUNDWITHBORDER = 5,
400 EP_EDITBORDER_NOSCROLL = 6,
401 EP_EDITBORDER_HSCROLL = 7,
402 EP_EDITBORDER_VSCROLL = 8,
403 EP_EDITBORDER_HVSCROLL = 9,
406 #define EDITSTYLEPARTS EDITPARTS;
408 enum EDITTEXTSTATES {
409 ETS_NORMAL = 1,
410 ETS_HOT = 2,
411 ETS_SELECTED = 3,
412 ETS_DISABLED = 4,
413 ETS_FOCUSED = 5,
414 ETS_READONLY = 6,
415 ETS_ASSIST = 7,
416 ETS_CUEBANNER = 8,
419 enum BACKGROUNDSTATES {
420 EBS_NORMAL = 1,
421 EBS_HOT = 2,
422 EBS_DISABLED = 3,
423 EBS_FOCUSED = 4,
424 EBS_READONLY = 5,
425 EBS_ASSIST = 6,
428 enum BACKGROUNDWITHBORDERSTATES {
429 EBWBS_NORMAL = 1,
430 EBWBS_HOT = 2,
431 EBWBS_DISABLED = 3,
432 EBWBS_FOCUSED = 4,
435 enum EDITBORDER_NOSCROLLSTATES {
436 EPSN_NORMAL = 1,
437 EPSN_HOT = 2,
438 EPSN_FOCUSED = 3,
439 EPSN_DISABLED = 4,
442 enum EDITBORDER_HSCROLLSTATES {
443 EPSH_NORMAL = 1,
444 EPSH_HOT = 2,
445 EPSH_FOCUSED = 3,
446 EPSH_DISABLED = 4,
449 enum EDITBORDER_VSCROLLSTATES {
450 EPSV_NORMAL = 1,
451 EPSV_HOT = 2,
452 EPSV_FOCUSED = 3,
453 EPSV_DISABLED = 4,
456 enum EDITBORDER_HVSCROLLSTATES {
457 EPSHV_NORMAL = 1,
458 EPSHV_HOT = 2,
459 EPSHV_FOCUSED = 3,
460 EPSHV_DISABLED = 4,
463 /* EXPLORERBARSTYLE class */
464 #if defined(_MSC_VER) || defined(__MINGW32__)
465 #define VSCLASS_EXPLORERBARSTYLE L"EXPLORERBARSTYLE"
466 #define VSCLASS_EXPLORERBAR L"EXPLORERBAR"
467 #else
468 static const WCHAR VSCLASS_EXPLORERBARSTYLE [] = {'E','X','P','L','O','R','E','R','B','A','R','S','T','Y','L','E',0};
469 static const WCHAR VSCLASS_EXPLORERBAR [] = {'E','X','P','L','O','R','E','R','B','A','R',0};
470 #endif
472 enum EXPLORERBARPARTS {
473 EBP_HEADERBACKGROUND = 1,
474 EBP_HEADERCLOSE = 2,
475 EBP_HEADERPIN = 3,
476 EBP_IEBARMENU = 4,
477 EBP_NORMALGROUPBACKGROUND = 5,
478 EBP_NORMALGROUPCOLLAPSE = 6,
479 EBP_NORMALGROUPEXPAND = 7,
480 EBP_NORMALGROUPHEAD = 8,
481 EBP_SPECIALGROUPBACKGROUND = 9,
482 EBP_SPECIALGROUPCOLLAPSE = 10,
483 EBP_SPECIALGROUPEXPAND = 11,
484 EBP_SPECIALGROUPHEAD = 12,
487 #define EXPLORERBARSTYLEPARTS EXPLORERBARPARTS;
489 enum HEADERCLOSESTATES {
490 EBHC_NORMAL = 1,
491 EBHC_HOT = 2,
492 EBHC_PRESSED = 3,
495 enum HEADERPINSTATES {
496 EBHP_NORMAL = 1,
497 EBHP_HOT = 2,
498 EBHP_PRESSED = 3,
499 EBHP_SELECTEDNORMAL = 4,
500 EBHP_SELECTEDHOT = 5,
501 EBHP_SELECTEDPRESSED = 6,
504 enum IEBARMENUSTATES {
505 EBM_NORMAL = 1,
506 EBM_HOT = 2,
507 EBM_PRESSED = 3,
510 enum NORMALGROUPCOLLAPSESTATES {
511 EBNGC_NORMAL = 1,
512 EBNGC_HOT = 2,
513 EBNGC_PRESSED = 3,
516 enum NORMALGROUPEXPANDSTATES {
517 EBNGE_NORMAL = 1,
518 EBNGE_HOT = 2,
519 EBNGE_PRESSED = 3,
522 enum SPECIALGROUPCOLLAPSESTATES {
523 EBSGC_NORMAL = 1,
524 EBSGC_HOT = 2,
525 EBSGC_PRESSED = 3,
528 enum SPECIALGROUPEXPANDSTATES {
529 EBSGE_NORMAL = 1,
530 EBSGE_HOT = 2,
531 EBSGE_PRESSED = 3,
534 /* FLYOUTSTYLE class */
535 #if defined(_MSC_VER) || defined(__MINGW32__)
536 #define VSCLASS_FLYOUTSTYLE L"FLYOUTSTYLE"
537 #define VSCLASS_FLYOUT L"FLYOUT"
538 #else
539 static const WCHAR VSCLASS_FLYOUTSTYLE [] = {'F','L','Y','O','U','T','S','T','Y','L','E',0};
540 static const WCHAR VSCLASS_FLYOUT [] = {'F','L','Y','O','U','T',0};
541 #endif
543 enum FLYOUTPARTS {
544 FLYOUT_HEADER = 1,
545 FLYOUT_BODY = 2,
546 FLYOUT_LABEL = 3,
547 FLYOUT_LINK = 4,
548 FLYOUT_DIVIDER = 5,
549 FLYOUT_WINDOW = 6,
550 FLYOUT_LINKAREA = 7,
551 FLYOUT_LINKHEADER = 8,
554 #define FLYOUTSTYLEPARTS FLYOUTPARTS;
556 enum LABELSTATES {
557 FLS_NORMAL = 1,
558 FLS_SELECTED = 2,
559 FLS_EMPHASIZED = 3,
560 FLS_DISABLED = 4,
563 enum LINKSTATES {
564 FLYOUTLINK_NORMAL = 1,
565 FLYOUTLINK_HOVER = 2,
568 enum BODYSTATES {
569 FBS_NORMAL = 1,
570 FBS_EMPHASIZED = 2,
573 enum LINKHEADERSTATES {
574 FLH_NORMAL = 1,
575 FLH_HOVER = 2,
578 /* HEADERSTYLE class */
579 #if defined(_MSC_VER) || defined(__MINGW32__)
580 #define VSCLASS_HEADERSTYLE L"HEADERSTYLE"
581 #define VSCLASS_HEADER L"HEADER"
582 #else
583 static const WCHAR VSCLASS_HEADERSTYLE [] = {'H','E','A','D','E','R','S','T','Y','L','E',0};
584 static const WCHAR VSCLASS_HEADER [] = {'H','E','A','D','E','R',0};
585 #endif
587 enum HEADERPARTS {
588 HP_HEADERITEM = 1,
589 HP_HEADERITEMLEFT = 2,
590 HP_HEADERITEMRIGHT = 3,
591 HP_HEADERSORTARROW = 4,
592 HP_HEADERDROPDOWN = 5,
593 HP_HEADERDROPDOWNFILTER = 6,
594 HP_HEADEROVERFLOW = 7,
597 #define HEADERSTYLEPARTS HEADERPARTS;
599 enum HEADERSTYLESTATES {
600 HBG_DETAILS = 1,
601 HBG_ICON = 2,
604 enum HEADERITEMSTATES {
605 HIS_NORMAL = 1,
606 HIS_HOT = 2,
607 HIS_PRESSED = 3,
608 HIS_SORTEDNORMAL = 4,
609 HIS_SORTEDHOT = 5,
610 HIS_SORTEDPRESSED = 6,
611 HIS_ICONNORMAL = 7,
612 HIS_ICONHOT = 8,
613 HIS_ICONPRESSED = 9,
614 HIS_ICONSORTEDNORMAL = 10,
615 HIS_ICONSORTEDHOT = 11,
616 HIS_ICONSORTEDPRESSED = 12,
619 enum HEADERITEMLEFTSTATES {
620 HILS_NORMAL = 1,
621 HILS_HOT = 2,
622 HILS_PRESSED = 3,
625 enum HEADERITEMRIGHTSTATES {
626 HIRS_NORMAL = 1,
627 HIRS_HOT = 2,
628 HIRS_PRESSED = 3,
631 enum HEADERSORTARROWSTATES {
632 HSAS_SORTEDUP = 1,
633 HSAS_SORTEDDOWN = 2,
636 enum HEADERDROPDOWNSTATES {
637 HDDS_NORMAL = 1,
638 HDDS_SOFTHOT = 2,
639 HDDS_HOT = 3,
642 enum HEADERDROPDOWNFILTERSTATES {
643 HDDFS_NORMAL = 1,
644 HDDFS_SOFTHOT = 2,
645 HDDFS_HOT = 3,
648 enum HEADEROVERFLOWSTATES {
649 HOFS_NORMAL = 1,
650 HOFS_HOT = 2,
653 /* LISTBOXSTYLE class */
654 #if defined(_MSC_VER) || defined(__MINGW32__)
655 #define VSCLASS_LISTBOXSTYLE L"LISTBOXSTYLE"
656 #define VSCLASS_LISTBOX L"LISTBOX"
657 #else
658 static const WCHAR VSCLASS_LISTBOXSTYLE [] = {'L','I','S','T','B','O','X','S','T','Y','L','E',0};
659 static const WCHAR VSCLASS_LISTBOX[] = {'L','I','S','T','B','O','X',0};
660 #endif
662 enum LISTBOXPARTS {
663 LBCP_BORDER_HSCROLL = 1,
664 LBCP_BORDER_HVSCROLL = 2,
665 LBCP_BORDER_NOSCROLL = 3,
666 LBCP_BORDER_VSCROLL = 4,
667 LBCP_ITEM = 5,
670 #define LISTBOXSTYLEPARTS LISTBOXPARTS;
672 enum BORDER_HSCROLLSTATES {
673 LBPSH_NORMAL = 1,
674 LBPSH_FOCUSED = 2,
675 LBPSH_HOT = 3,
676 LBPSH_DISABLED = 4,
679 enum BORDER_HVSCROLLSTATES {
680 LBPSHV_NORMAL = 1,
681 LBPSHV_FOCUSED = 2,
682 LBPSHV_HOT = 3,
683 LBPSHV_DISABLED = 4,
686 enum BORDER_NOSCROLLSTATES {
687 LBPSN_NORMAL = 1,
688 LBPSN_FOCUSED = 2,
689 LBPSN_HOT = 3,
690 LBPSN_DISABLED = 4,
693 enum BORDER_VSCROLLSTATES {
694 LBPSV_NORMAL = 1,
695 LBPSV_FOCUSED = 2,
696 LBPSV_HOT = 3,
697 LBPSV_DISABLED = 4,
700 enum ITEMSTATES {
701 LBPSI_HOT = 1,
702 LBPSI_HOTSELECTED = 2,
703 LBPSI_SELECTED = 3,
704 LBPSI_SELECTEDNOTFOCUS = 4,
707 /* LISTVIEWSTYLE class */
708 #if defined(_MSC_VER) || defined(__MINGW32__)
709 #define VSCLASS_LISTVIEWSTYLE L"LISTVIEWSTYLE"
710 #define VSCLASS_LISTVIEW L"LISTVIEW"
711 #else
712 static const WCHAR VSCLASS_LISTVIEWSTYLE [] = {'L','I','S','T','V','I','E','W','S','T','Y','L','E',0};
713 static const WCHAR VSCLASS_LISTVIEW [] = {'L','I','S','T','V','I','E','W',0};
714 #endif
716 enum LISTVIEWPARTS {
717 LVP_LISTITEM = 1,
718 LVP_LISTGROUP = 2,
719 LVP_LISTDETAIL = 3,
720 LVP_LISTSORTEDDETAIL = 4,
721 LVP_EMPTYTEXT = 5,
722 LVP_GROUPHEADER = 6,
723 LVP_GROUPHEADERLINE = 7,
724 LVP_EXPANDBUTTON = 8,
725 LVP_COLLAPSEBUTTON = 9,
726 LVP_COLUMNDETAIL = 10,
729 #define LISTVIEWSTYLEPARTS LISTVIEWPARTS;
731 enum LISTITEMSTATES {
732 LISS_NORMAL = 1,
733 LISS_HOT = 2,
734 LISS_SELECTED = 3,
735 LISS_DISABLED = 4,
736 LISS_SELECTEDNOTFOCUS = 5,
737 LISS_HOTSELECTED = 6,
740 enum GROUPHEADERSTATES {
741 LVGH_OPEN = 1,
742 LVGH_OPENHOT = 2,
743 LVGH_OPENSELECTED = 3,
744 LVGH_OPENSELECTEDHOT = 4,
745 LVGH_OPENSELECTEDNOTFOCUSED = 5,
746 LVGH_OPENSELECTEDNOTFOCUSEDHOT = 6,
747 LVGH_OPENMIXEDSELECTION = 7,
748 LVGH_OPENMIXEDSELECTIONHOT = 8,
749 LVGH_CLOSE = 9,
750 LVGH_CLOSEHOT = 10,
751 LVGH_CLOSESELECTED = 11,
752 LVGH_CLOSESELECTEDHOT = 12,
753 LVGH_CLOSESELECTEDNOTFOCUSED = 13,
754 LVGH_CLOSESELECTEDNOTFOCUSEDHOT = 14,
755 LVGH_CLOSEMIXEDSELECTION = 15,
756 LVGH_CLOSEMIXEDSELECTIONHOT = 16,
759 enum GROUPHEADERLINESTATES {
760 LVGHL_OPEN = 1,
761 LVGHL_OPENHOT = 2,
762 LVGHL_OPENSELECTED = 3,
763 LVGHL_OPENSELECTEDHOT = 4,
764 LVGHL_OPENSELECTEDNOTFOCUSED = 5,
765 LVGHL_OPENSELECTEDNOTFOCUSEDHOT = 6,
766 LVGHL_OPENMIXEDSELECTION = 7,
767 LVGHL_OPENMIXEDSELECTIONHOT = 8,
768 LVGHL_CLOSE = 9,
769 LVGHL_CLOSEHOT = 10,
770 LVGHL_CLOSESELECTED = 11,
771 LVGHL_CLOSESELECTEDHOT = 12,
772 LVGHL_CLOSESELECTEDNOTFOCUSED = 13,
773 LVGHL_CLOSESELECTEDNOTFOCUSEDHOT = 14,
774 LVGHL_CLOSEMIXEDSELECTION = 15,
775 LVGHL_CLOSEMIXEDSELECTIONHOT = 16,
778 enum EXPANDBUTTONSTATES {
779 LVEB_NORMAL = 1,
780 LVEB_HOVER = 2,
781 LVEB_PUSHED = 3,
784 enum COLLAPSEBUTTONSTATES {
785 LVCB_NORMAL = 1,
786 LVCB_HOVER = 2,
787 LVCB_PUSHED = 3,
790 /* MENUSTYLE class */
791 #if defined(_MSC_VER) || defined(__MINGW32__)
792 #define VSCLASS_MENUSTYLE L"MENUSTYLE"
793 #define VSCLASS_MENU L"MENU"
794 #else
795 static const WCHAR VSCLASS_MENUSTYLE [] = {'M','E','N','U','S','T','Y','L','E',0};
796 static const WCHAR VSCLASS_MENU [] = {'M','E','N','U',0};
797 #endif
799 enum MENUPARTS {
800 MENU_MENUITEM_TMSCHEMA = 1,
801 MENU_MENUDROPDOWN_TMSCHEMA = 2,
802 MENU_MENUBARITEM_TMSCHEMA = 3,
803 MENU_MENUBARDROPDOWN_TMSCHEMA = 4,
804 MENU_CHEVRON_TMSCHEMA = 5,
805 MENU_SEPARATOR_TMSCHEMA = 6,
806 MENU_BARBACKGROUND = 7,
807 MENU_BARITEM = 8,
808 MENU_POPUPBACKGROUND = 9,
809 MENU_POPUPBORDERS = 10,
810 MENU_POPUPCHECK = 11,
811 MENU_POPUPCHECKBACKGROUND = 12,
812 MENU_POPUPGUTTER = 13,
813 MENU_POPUPITEM = 14,
814 MENU_POPUPSEPARATOR = 15,
815 MENU_POPUPSUBMENU = 16,
816 MENU_SYSTEMCLOSE = 17,
817 MENU_SYSTEMMAXIMIZE = 18,
818 MENU_SYSTEMMINIMIZE = 19,
819 MENU_SYSTEMRESTORE = 20,
822 #define MENUSTYLEPARTS MENUPARTS;
824 enum BARBACKGROUNDSTATES {
825 MB_ACTIVE = 1,
826 MB_INACTIVE = 2,
829 enum BARITEMSTATES {
830 MBI_NORMAL = 1,
831 MBI_HOT = 2,
832 MBI_PUSHED = 3,
833 MBI_DISABLED = 4,
834 MBI_DISABLEDHOT = 5,
835 MBI_DISABLEDPUSHED = 6,
838 enum POPUPCHECKSTATES {
839 MC_CHECKMARKNORMAL = 1,
840 MC_CHECKMARKDISABLED = 2,
841 MC_BULLETNORMAL = 3,
842 MC_BULLETDISABLED = 4,
845 enum POPUPCHECKBACKGROUNDSTATES {
846 MCB_DISABLED = 1,
847 MCB_NORMAL = 2,
848 MCB_BITMAP = 3,
851 enum POPUPITEMSTATES {
852 MPI_NORMAL = 1,
853 MPI_HOT = 2,
854 MPI_DISABLED = 3,
855 MPI_DISABLEDHOT = 4,
858 enum POPUPSUBMENUSTATES {
859 MSM_NORMAL = 1,
860 MSM_DISABLED = 2,
863 enum SYSTEMCLOSESTATES {
864 MSYSC_NORMAL = 1,
865 MSYSC_DISABLED = 2,
868 enum SYSTEMMAXIMIZESTATES {
869 MSYSMX_NORMAL = 1,
870 MSYSMX_DISABLED = 2,
873 enum SYSTEMMINIMIZESTATES {
874 MSYSMN_NORMAL = 1,
875 MSYSMN_DISABLED = 2,
878 enum SYSTEMRESTORESTATES {
879 MSYSR_NORMAL = 1,
880 MSYSR_DISABLED = 2,
883 /* NAVIGATION class */
884 #if defined(_MSC_VER) || defined(__MINGW32__)
885 #define VSCLASS_NAVIGATION L"NAVIGATION"
886 #else
887 static const WCHAR VSCLASS_NAVIGATION [] = {'N','A','V','I','G','A','T','I','O','N',0};
888 #endif
890 enum NAVIGATIONPARTS {
891 NAV_BACKBUTTON = 1,
892 NAV_FORWARDBUTTON = 2,
893 NAV_MENUBUTTON = 3,
896 enum NAV_BACKBUTTONSTATES {
897 NAV_BB_NORMAL = 1,
898 NAV_BB_HOT = 2,
899 NAV_BB_PRESSED = 3,
900 NAV_BB_DISABLED = 4,
903 enum NAV_FORWARDBUTTONSTATES {
904 NAV_FB_NORMAL = 1,
905 NAV_FB_HOT = 2,
906 NAV_FB_PRESSED = 3,
907 NAV_FB_DISABLED = 4,
910 enum NAV_MENUBUTTONSTATES {
911 NAV_MB_NORMAL = 1,
912 NAV_MB_HOT = 2,
913 NAV_MB_PRESSED = 3,
914 NAV_MB_DISABLED = 4,
917 /* PROGRESSSTYLE class */
918 #if defined(_MSC_VER) || defined(__MINGW32__)
919 #define VSCLASS_PROGRESSSTYLE L"PROGRESSSTYLE"
920 #define VSCLASS_PROGRESS L"PROGRESS"
921 #else
922 static const WCHAR VSCLASS_PROGRESSSTYLE [] = {'P','R','O','G','R','E','S','S','S','T','Y','L','E',0};
923 static const WCHAR VSCLASS_PROGRESS [] = {'P','R','O','G','R','E','S','S',0};
924 #endif
926 enum PROGRESSPARTS {
927 PP_BAR = 1,
928 PP_BARVERT = 2,
929 PP_CHUNK = 3,
930 PP_CHUNKVERT = 4,
931 PP_FILL = 5,
932 PP_FILLVERT = 6,
933 PP_PULSEOVERLAY = 7,
934 PP_MOVEOVERLAY = 8,
935 PP_PULSEOVERLAYVERT = 9,
936 PP_MOVEOVERLAYVERT = 10,
937 PP_TRANSPARENTBAR = 11,
938 PP_TRANSPARENTBARVERT = 12,
941 #define PROGRESSSTYLEPARTS PROGRESSPARTS;
943 enum TRANSPARENTBARSTATES {
944 PBBS_NORMAL = 1,
945 PBBS_PARTIAL = 2,
948 enum TRANSPARENTBARVERTSTATES {
949 PBBVS_NORMAL = 1,
950 PBBVS_PARTIAL = 2,
953 enum FILLSTATES {
954 PBFS_NORMAL = 1,
955 PBFS_ERROR = 2,
956 PBFS_PAUSED = 3,
957 PBFS_PARTIAL = 4,
960 enum FILLVERTSTATES {
961 PBFVS_NORMAL = 1,
962 PBFVS_ERROR = 2,
963 PBFVS_PAUSED = 3,
964 PBFVS_PARTIAL = 4,
967 /* REBARSTYLE class */
968 #if defined(_MSC_VER) || defined(__MINGW32__)
969 #define VSCLASS_REBARSTYLE L"REBARSTYLE"
970 #define VSCLASS_REBAR L"REBAR"
971 #else
972 static const WCHAR VSCLASS_REBARSTYLE [] = {'R','E','B','A','R','S','T','Y','L','E',0};
973 static const WCHAR VSCLASS_REBAR [] = {'R','E','B','A','R',0};
974 #endif
976 enum REBARPARTS {
977 RP_GRIPPER = 1,
978 RP_GRIPPERVERT = 2,
979 RP_BAND = 3,
980 RP_CHEVRON = 4,
981 RP_CHEVRONVERT = 5,
982 RP_BACKGROUND = 6,
983 RP_SPLITTER = 7,
984 RP_SPLITTERVERT = 8,
987 #define REBARSTYLEPARTS REBARPARTS;
989 enum CHEVRONSTATES {
990 CHEVS_NORMAL = 1,
991 CHEVS_HOT = 2,
992 CHEVS_PRESSED = 3,
995 enum CHEVRONVERTSTATES {
996 CHEVSV_NORMAL = 1,
997 CHEVSV_HOT = 2,
998 CHEVSV_PRESSED = 3,
1001 enum SPLITTERSTATES {
1002 SPLITS_NORMAL = 1,
1003 SPLITS_HOT = 2,
1004 SPLITS_PRESSED = 3,
1007 enum SPLITTERVERTSTATES {
1008 SPLITSV_NORMAL = 1,
1009 SPLITSV_HOT = 2,
1010 SPLITSV_PRESSED = 3,
1013 /* SCROLLBARSTYLE class */
1014 #if defined(_MSC_VER) || defined(__MINGW32__)
1015 #define VSCLASS_SCROLLBARSTYLE L"SCROLLBARSTYLE"
1016 #define VSCLASS_SCROLLBAR L"SCROLLBAR"
1017 #else
1018 static const WCHAR VSCLASS_SCROLLBARSTYLE [] = {'S','C','R','O','L','L','B','A','R','S','T','Y','L','E',0};
1019 static const WCHAR VSCLASS_SCROLLBAR [] = {'S','C','R','O','L','L','B','A','R',0};
1020 #endif
1022 enum SCROLLBARPARTS {
1023 SBP_ARROWBTN = 1,
1024 SBP_THUMBBTNHORZ = 2,
1025 SBP_THUMBBTNVERT = 3,
1026 SBP_LOWERTRACKHORZ = 4,
1027 SBP_UPPERTRACKHORZ = 5,
1028 SBP_LOWERTRACKVERT = 6,
1029 SBP_UPPERTRACKVERT = 7,
1030 SBP_GRIPPERHORZ = 8,
1031 SBP_GRIPPERVERT = 9,
1032 SBP_SIZEBOX = 10,
1035 #define SCROLLBARSTYLEPARTS SCROLLBARPARTS;
1037 enum ARROWBTNSTATES {
1038 ABS_UPNORMAL = 1,
1039 ABS_UPHOT = 2,
1040 ABS_UPPRESSED = 3,
1041 ABS_UPDISABLED = 4,
1042 ABS_DOWNNORMAL = 5,
1043 ABS_DOWNHOT = 6,
1044 ABS_DOWNPRESSED = 7,
1045 ABS_DOWNDISABLED = 8,
1046 ABS_LEFTNORMAL = 9,
1047 ABS_LEFTHOT = 10,
1048 ABS_LEFTPRESSED = 11,
1049 ABS_LEFTDISABLED = 12,
1050 ABS_RIGHTNORMAL = 13,
1051 ABS_RIGHTHOT = 14,
1052 ABS_RIGHTPRESSED = 15,
1053 ABS_RIGHTDISABLED = 16,
1054 ABS_UPHOVER = 17,
1055 ABS_DOWNHOVER = 18,
1056 ABS_LEFTHOVER = 19,
1057 ABS_RIGHTHOVER = 20,
1060 enum SCROLLBARSTYLESTATES {
1061 SCRBS_NORMAL = 1,
1062 SCRBS_HOT = 2,
1063 SCRBS_PRESSED = 3,
1064 SCRBS_DISABLED = 4,
1065 SCRBS_HOVER = 5,
1068 enum SIZEBOXSTATES {
1069 SZB_RIGHTALIGN = 1,
1070 SZB_LEFTALIGN = 2,
1071 SZB_TOPRIGHTALIGN = 3,
1072 SZB_TOPLEFTALIGN = 4,
1073 SZB_HALFBOTTOMRIGHTALIGN = 5,
1074 SZB_HALFBOTTOMLEFTALIGN = 6,
1075 SZB_HALFTOPRIGHTALIGN = 7,
1076 SZB_HALFTOPLEFTALIGN = 8,
1079 /* SPINSTYLE class */
1080 #if defined(_MSC_VER) || defined(__MINGW32__)
1081 #define VSCLASS_SPINSTYLE L"SPINSTYLE"
1082 #else
1083 static const WCHAR VSCLASS_SPINSTYLE [] = {'S','P','I','N','S','T','Y','L','E',0};
1084 #endif
1085 #if defined(_MSC_VER) || defined(__MINGW32__)
1086 #define VSCLASS_SPIN L"SPIN"
1087 #else
1088 static const WCHAR VSCLASS_SPIN [] = {'S','P','I','N',0};
1089 #endif
1091 enum SPINPARTS {
1092 SPNP_UP = 1,
1093 SPNP_DOWN = 2,
1094 SPNP_UPHORZ = 3,
1095 SPNP_DOWNHORZ = 4,
1098 #define SPINSTYLEPARTS SPINPARTS;
1100 enum UPSTATES {
1101 UPS_NORMAL = 1,
1102 UPS_HOT = 2,
1103 UPS_PRESSED = 3,
1104 UPS_DISABLED = 4,
1107 enum DOWNSTATES {
1108 DNS_NORMAL = 1,
1109 DNS_HOT = 2,
1110 DNS_PRESSED = 3,
1111 DNS_DISABLED = 4,
1114 enum UPHORZSTATES {
1115 UPHZS_NORMAL = 1,
1116 UPHZS_HOT = 2,
1117 UPHZS_PRESSED = 3,
1118 UPHZS_DISABLED = 4,
1121 enum DOWNHORZSTATES {
1122 DNHZS_NORMAL = 1,
1123 DNHZS_HOT = 2,
1124 DNHZS_PRESSED = 3,
1125 DNHZS_DISABLED = 4,
1128 /* STATUSSTYLE class */
1129 #if defined(_MSC_VER) || defined(__MINGW32__)
1130 #define VSCLASS_STATUSSTYLE L"STATUSSTYLE"
1131 #define VSCLASS_STATUS L"STATUS"
1132 #else
1133 static const WCHAR VSCLASS_STATUSSTYLE [] = {'S','T','A','T','U','S','S','T','Y','L','E',0};
1134 static const WCHAR VSCLASS_STATUS [] = {'S','T','A','T','U','S',0};
1135 #endif
1137 enum STATUSPARTS {
1138 SP_PANE = 1,
1139 SP_GRIPPERPANE = 2,
1140 SP_GRIPPER = 3,
1143 #define STATUSSTYLEPARTS STATUSPARTS;
1145 /* TABSTYLE class */
1146 #if defined(_MSC_VER) || defined(__MINGW32__)
1147 #define VSCLASS_TABSTYLE L"TABSTYLE"
1148 #define VSCLASS_TAB L"TAB"
1149 #else
1150 static const WCHAR VSCLASS_TABSTYLE [] = {'T','A','B','S','T','Y','L','E',0};
1151 static const WCHAR VSCLASS_TAB [] = {'T','A','B',0};
1152 #endif
1154 enum TABPARTS {
1155 TABP_TABITEM = 1,
1156 TABP_TABITEMLEFTEDGE = 2,
1157 TABP_TABITEMRIGHTEDGE = 3,
1158 TABP_TABITEMBOTHEDGE = 4,
1159 TABP_TOPTABITEM = 5,
1160 TABP_TOPTABITEMLEFTEDGE = 6,
1161 TABP_TOPTABITEMRIGHTEDGE = 7,
1162 TABP_TOPTABITEMBOTHEDGE = 8,
1163 TABP_PANE = 9,
1164 TABP_BODY = 10,
1165 TABP_AEROWIZARDBODY = 11,
1168 #define TABSTYLEPARTS TABPARTS;
1170 enum TABITEMSTATES {
1171 TIS_NORMAL = 1,
1172 TIS_HOT = 2,
1173 TIS_SELECTED = 3,
1174 TIS_DISABLED = 4,
1175 TIS_FOCUSED = 5,
1178 enum TABITEMLEFTEDGESTATES {
1179 TILES_NORMAL = 1,
1180 TILES_HOT = 2,
1181 TILES_SELECTED = 3,
1182 TILES_DISABLED = 4,
1183 TILES_FOCUSED = 5,
1186 enum TABITEMRIGHTEDGESTATES {
1187 TIRES_NORMAL = 1,
1188 TIRES_HOT = 2,
1189 TIRES_SELECTED = 3,
1190 TIRES_DISABLED = 4,
1191 TIRES_FOCUSED = 5,
1194 enum TABITEMBOTHEDGESTATES {
1195 TIBES_NORMAL = 1,
1196 TIBES_HOT = 2,
1197 TIBES_SELECTED = 3,
1198 TIBES_DISABLED = 4,
1199 TIBES_FOCUSED = 5,
1202 enum TOPTABITEMSTATES {
1203 TTIS_NORMAL = 1,
1204 TTIS_HOT = 2,
1205 TTIS_SELECTED = 3,
1206 TTIS_DISABLED = 4,
1207 TTIS_FOCUSED = 5,
1210 enum TOPTABITEMLEFTEDGESTATES {
1211 TTILES_NORMAL = 1,
1212 TTILES_HOT = 2,
1213 TTILES_SELECTED = 3,
1214 TTILES_DISABLED = 4,
1215 TTILES_FOCUSED = 5,
1218 enum TOPTABITEMRIGHTEDGESTATES {
1219 TTIRES_NORMAL = 1,
1220 TTIRES_HOT = 2,
1221 TTIRES_SELECTED = 3,
1222 TTIRES_DISABLED = 4,
1223 TTIRES_FOCUSED = 5,
1226 enum TOPTABITEMBOTHEDGESTATES {
1227 TTIBES_NORMAL = 1,
1228 TTIBES_HOT = 2,
1229 TTIBES_SELECTED = 3,
1230 TTIBES_DISABLED = 4,
1231 TTIBES_FOCUSED = 5,
1234 /* TASKDIALOGSTYLE class */
1235 #if defined(_MSC_VER) || defined(__MINGW32__)
1236 #define VSCLASS_TASKDIALOGSTYLE L"TASKDIALOGSTYLE"
1237 #define VSCLASS_TASKDIALOG L"TASKDIALOG"
1238 #else
1239 static const WCHAR VSCLASS_TASKDIALOGSTYLE[] = {'T','A','S','K','D','I','A','L','O','G','S','T','Y','L','E',0};
1240 static const WCHAR VSCLASS_TASKDIALOG [] = {'T','A','S','K','D','I','A','L','O','G',0};
1241 #endif
1243 enum TASKDIALOGPARTS {
1244 TDLG_PRIMARYPANEL = 1,
1245 TDLG_MAININSTRUCTIONPANE = 2,
1246 TDLG_MAINICON = 3,
1247 TDLG_CONTENTPANE = 4,
1248 TDLG_CONTENTICON = 5,
1249 TDLG_EXPANDEDCONTENT = 6,
1250 TDLG_COMMANDLINKPANE = 7,
1251 TDLG_SECONDARYPANEL = 8,
1252 TDLG_CONTROLPANE = 9,
1253 TDLG_BUTTONSECTION = 10,
1254 TDLG_BUTTONWRAPPER = 11,
1255 TDLG_EXPANDOTEXT = 12,
1256 TDLG_EXPANDOBUTTON = 13,
1257 TDLG_VERIFICATIONTEXT = 14,
1258 TDLG_FOOTNOTEPANE = 15,
1259 TDLG_FOOTNOTEAREA = 16,
1260 TDLG_FOOTNOTESEPARATOR = 17,
1261 TDLG_EXPANDEDFOOTERAREA = 18,
1262 TDLG_PROGRESSBAR = 19,
1263 TDLG_IMAGEALIGNMENT = 20,
1264 TDLG_RADIOBUTTONPANE = 21,
1267 #define TASKDIALOGSTYLEPARTS TASKDIALOGPARTS;
1269 enum CONTENTPANESTATES {
1270 TDLGCPS_STANDALONE = 1,
1273 enum EXPANDOBUTTONSTATES {
1274 TDLGEBS_NORMAL = 1,
1275 TDLGEBS_HOVER = 2,
1276 TDLGEBS_PRESSED = 3,
1277 TDLGEBS_EXPANDEDNORMAL = 4,
1278 TDLGEBS_EXPANDEDHOVER = 5,
1279 TDLGEBS_EXPANDEDPRESSED = 6,
1282 /* TEXTSTYLE class */
1283 #if defined(_MSC_VER) || defined(__MINGW32__)
1284 #define VSCLASS_TEXTSTYLE L"TEXTSTYLE"
1285 #else
1286 static const WCHAR VSCLASS_TEXTSTYLE [] = {'T','E','X','T','S','T','Y','L','E',0};
1287 #endif
1289 enum TEXTSTYLEPARTS {
1290 TEXT_MAININSTRUCTION = 1,
1291 TEXT_INSTRUCTION = 2,
1292 TEXT_BODYTITLE = 3,
1293 TEXT_BODYTEXT = 4,
1294 TEXT_SECONDARYTEXT = 5,
1295 TEXT_HYPERLINKTEXT = 6,
1296 TEXT_EXPANDED = 7,
1297 TEXT_LABEL = 8,
1298 TEXT_CONTROLLABEL = 9,
1301 enum HYPERLINKTEXTSTATES {
1302 TS_HYPERLINK_NORMAL = 1,
1303 TS_HYPERLINK_HOT = 2,
1304 TS_HYPERLINK_PRESSED = 3,
1305 TS_HYPERLINK_DISABLED = 4,
1308 enum CONTROLLABELSTATES {
1309 TS_CONTROLLABEL_NORMAL = 1,
1310 TS_CONTROLLABEL_DISABLED = 2,
1313 /* TOOLBARSTYLE class */
1314 #if defined(_MSC_VER) || defined(__MINGW32__)
1315 #define VSCLASS_TOOLBARSTYLE L"TOOLBARSTYLE"
1316 #define VSCLASS_TOOLBAR L"TOOLBAR"
1317 #else
1318 static const WCHAR VSCLASS_TOOLBARSTYLE [] = {'T','O','O','L','B','A','R','S','T','Y','L','E',0};
1319 static const WCHAR VSCLASS_TOOLBAR[] = {'T','O','O','L','B','A','R',0};
1320 #endif
1322 enum TOOLBARPARTS {
1323 TP_BUTTON = 1,
1324 TP_DROPDOWNBUTTON = 2,
1325 TP_SPLITBUTTON = 3,
1326 TP_SPLITBUTTONDROPDOWN = 4,
1327 TP_SEPARATOR = 5,
1328 TP_SEPARATORVERT = 6,
1331 #define TOOLBARSTYLEPARTS TOOLBARPARTS;
1333 enum TOOLBARSTYLESTATES {
1334 TS_NORMAL = 1,
1335 TS_HOT = 2,
1336 TS_PRESSED = 3,
1337 TS_DISABLED = 4,
1338 TS_CHECKED = 5,
1339 TS_HOTCHECKED = 6,
1340 TS_NEARHOT = 7,
1341 TS_OTHERSIDEHOT = 8,
1344 /* TOOLTIPSTYLE class */
1345 #if defined(_MSC_VER) || defined(__MINGW32__)
1346 #define VSCLASS_TOOLTIPSTYLE L"TOOLTIPSTYLE"
1347 #define VSCLASS_TOOLTIP L"TOOLTIP"
1348 #else
1349 static const WCHAR VSCLASS_TOOLTIPSTYLE [] = {'T','O','O','L','T','I','P','S','T','Y','L','E',0};
1350 static const WCHAR VSCLASS_TOOLTIP[] = {'T','O','O','L','T','I','P',0};
1351 #endif
1353 enum TOOLTIPPARTS {
1354 TTP_STANDARD = 1,
1355 TTP_STANDARDTITLE = 2,
1356 TTP_BALLOON = 3,
1357 TTP_BALLOONTITLE = 4,
1358 TTP_CLOSE = 5,
1359 TTP_BALLOONSTEM = 6,
1362 #define TOOLTIPSTYLEPARTS TOOLTIPPARTS;
1364 enum CLOSESTATES {
1365 TTCS_NORMAL = 1,
1366 TTCS_HOT = 2,
1367 TTCS_PRESSED = 3,
1370 enum STANDARDSTATES {
1371 TTSS_NORMAL = 1,
1372 TTSS_LINK = 2,
1375 enum BALLOONSTATES {
1376 TTBS_NORMAL = 1,
1377 TTBS_LINK = 2,
1380 enum BALLOONSTEMSTATES {
1381 TTBSS_POINTINGUPLEFTWALL = 1,
1382 TTBSS_POINTINGUPCENTERED = 2,
1383 TTBSS_POINTINGUPRIGHTWALL = 3,
1384 TTBSS_POINTINGDOWNRIGHTWALL = 4,
1385 TTBSS_POINTINGDOWNCENTERED = 5,
1386 TTBSS_POINTINGDOWNLEFTWALL = 6,
1389 /* TRACKBARSTYLE class */
1390 #if defined(_MSC_VER) || defined(__MINGW32__)
1391 #define VSCLASS_TRACKBARSTYLE L"TRACKBARSTYLE"
1392 #define VSCLASS_TRACKBAR L"TRACKBAR"
1393 #else
1394 static const WCHAR VSCLASS_TRACKBARSTYLE [] = {'T','R','A','C','K','B','A','R','S','T','Y','L','E',0};
1395 static const WCHAR VSCLASS_TRACKBAR [] = {'T','R','A','C','K','B','A','R',0};
1396 #endif
1398 enum TRACKBARPARTS {
1399 TKP_TRACK = 1,
1400 TKP_TRACKVERT = 2,
1401 TKP_THUMB = 3,
1402 TKP_THUMBBOTTOM = 4,
1403 TKP_THUMBTOP = 5,
1404 TKP_THUMBVERT = 6,
1405 TKP_THUMBLEFT = 7,
1406 TKP_THUMBRIGHT = 8,
1407 TKP_TICS = 9,
1408 TKP_TICSVERT = 10,
1411 #define TRACKBARSTYLEPARTS TRACKBARPARTS;
1413 enum TRACKBARSTYLESTATES {
1414 TKS_NORMAL = 1,
1417 enum TRACKSTATES {
1418 TRS_NORMAL = 1,
1421 enum TRACKVERTSTATES {
1422 TRVS_NORMAL = 1,
1425 enum THUMBSTATES {
1426 TUS_NORMAL = 1,
1427 TUS_HOT = 2,
1428 TUS_PRESSED = 3,
1429 TUS_FOCUSED = 4,
1430 TUS_DISABLED = 5,
1433 enum THUMBBOTTOMSTATES {
1434 TUBS_NORMAL = 1,
1435 TUBS_HOT = 2,
1436 TUBS_PRESSED = 3,
1437 TUBS_FOCUSED = 4,
1438 TUBS_DISABLED = 5,
1441 enum THUMBTOPSTATES {
1442 TUTS_NORMAL = 1,
1443 TUTS_HOT = 2,
1444 TUTS_PRESSED = 3,
1445 TUTS_FOCUSED = 4,
1446 TUTS_DISABLED = 5,
1449 enum THUMBVERTSTATES {
1450 TUVS_NORMAL = 1,
1451 TUVS_HOT = 2,
1452 TUVS_PRESSED = 3,
1453 TUVS_FOCUSED = 4,
1454 TUVS_DISABLED = 5,
1457 enum THUMBLEFTSTATES {
1458 TUVLS_NORMAL = 1,
1459 TUVLS_HOT = 2,
1460 TUVLS_PRESSED = 3,
1461 TUVLS_FOCUSED = 4,
1462 TUVLS_DISABLED = 5,
1465 enum THUMBRIGHTSTATES {
1466 TUVRS_NORMAL = 1,
1467 TUVRS_HOT = 2,
1468 TUVRS_PRESSED = 3,
1469 TUVRS_FOCUSED = 4,
1470 TUVRS_DISABLED = 5,
1473 enum TICSSTATES {
1474 TSS_NORMAL = 1,
1477 enum TICSVERTSTATES {
1478 TSVS_NORMAL = 1,
1481 /* TREEVIEWSTYLE class */
1482 #if defined(_MSC_VER) || defined(__MINGW32__)
1483 #define VSCLASS_TREEVIEWSTYLE L"TREEVIEWSTYLE"
1484 #define VSCLASS_TREEVIEW L"TREEVIEW"
1485 #else
1486 static const WCHAR VSCLASS_TREEVIEWSTYLE [] = {'T','R','E','E','V','I','E','W','S','T','Y','L','E',0};
1487 static const WCHAR VSCLASS_TREEVIEW [] = {'T','R','E','E','V','I','E','W',0};
1488 #endif
1490 enum TREEVIEWPARTS {
1491 TVP_TREEITEM = 1,
1492 TVP_GLYPH = 2,
1493 TVP_BRANCH = 3,
1494 TVP_HOTGLYPH = 4,
1497 #define TREEVIEWSTYLEPARTS TREEVIEWPARTS;
1499 enum TREEITEMSTATES {
1500 TREIS_NORMAL = 1,
1501 TREIS_HOT = 2,
1502 TREIS_SELECTED = 3,
1503 TREIS_DISABLED = 4,
1504 TREIS_SELECTEDNOTFOCUS = 5,
1505 TREIS_HOTSELECTED = 6,
1508 enum GLYPHSTATES {
1509 GLPS_CLOSED = 1,
1510 GLPS_OPENED = 2,
1513 enum HOTGLYPHSTATES {
1514 HGLPS_CLOSED = 1,
1515 HGLPS_OPENED = 2,
1518 /* WINDOWSTYLE class */
1519 #if defined(_MSC_VER) || defined(__MINGW32__)
1520 #define VSCLASS_WINDOWSTYLE L"WINDOWSTYLE"
1521 #define VSCLASS_WINDOW L"WINDOW"
1522 #else
1523 static const WCHAR VSCLASS_WINDOWSTYLE [] = {'W','I','N','D','O','W','S','T','Y','L','E',0};
1524 static const WCHAR VSCLASS_WINDOW [] = {'W','I','N','D','O','W',0};
1525 #endif
1527 enum WINDOWPARTS {
1528 WP_CAPTION = 1,
1529 WP_SMALLCAPTION = 2,
1530 WP_MINCAPTION = 3,
1531 WP_SMALLMINCAPTION = 4,
1532 WP_MAXCAPTION = 5,
1533 WP_SMALLMAXCAPTION = 6,
1534 WP_FRAMELEFT = 7,
1535 WP_FRAMERIGHT = 8,
1536 WP_FRAMEBOTTOM = 9,
1537 WP_SMALLFRAMELEFT = 10,
1538 WP_SMALLFRAMERIGHT = 11,
1539 WP_SMALLFRAMEBOTTOM = 12,
1540 WP_SYSBUTTON = 13,
1541 WP_MDISYSBUTTON = 14,
1542 WP_MINBUTTON = 15,
1543 WP_MDIMINBUTTON = 16,
1544 WP_MAXBUTTON = 17,
1545 WP_CLOSEBUTTON = 18,
1546 WP_SMALLCLOSEBUTTON = 19,
1547 WP_MDICLOSEBUTTON = 20,
1548 WP_RESTOREBUTTON = 21,
1549 WP_MDIRESTOREBUTTON = 22,
1550 WP_HELPBUTTON = 23,
1551 WP_MDIHELPBUTTON = 24,
1552 WP_HORZSCROLL = 25,
1553 WP_HORZTHUMB = 26,
1554 WP_VERTSCROLL = 27,
1555 WP_VERTTHUMB = 28,
1556 WP_DIALOG = 29,
1557 WP_CAPTIONSIZINGTEMPLATE = 30,
1558 WP_SMALLCAPTIONSIZINGTEMPLATE = 31,
1559 WP_FRAMELEFTSIZINGTEMPLATE = 32,
1560 WP_SMALLFRAMELEFTSIZINGTEMPLATE = 33,
1561 WP_FRAMERIGHTSIZINGTEMPLATE = 34,
1562 WP_SMALLFRAMERIGHTSIZINGTEMPLATE = 35,
1563 WP_FRAMEBOTTOMSIZINGTEMPLATE = 36,
1564 WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE = 37,
1565 WP_FRAME = 38,
1568 #define WINDOWSTYLEPARTS WINDOWPARTS;
1570 enum FRAMESTATES {
1571 FS_ACTIVE = 1,
1572 FS_INACTIVE = 2,
1575 enum CAPTIONSTATES {
1576 CS_ACTIVE = 1,
1577 CS_INACTIVE = 2,
1578 CS_DISABLED = 3,
1581 enum MAXCAPTIONSTATES {
1582 MXCS_ACTIVE = 1,
1583 MXCS_INACTIVE = 2,
1584 MXCS_DISABLED = 3,
1587 enum MINCAPTIONSTATES {
1588 MNCS_ACTIVE = 1,
1589 MNCS_INACTIVE = 2,
1590 MNCS_DISABLED = 3,
1593 enum HORZSCROLLSTATES {
1594 HSS_NORMAL = 1,
1595 HSS_HOT = 2,
1596 HSS_PUSHED = 3,
1597 HSS_DISABLED = 4,
1600 enum HORZTHUMBSTATES {
1601 HTS_NORMAL = 1,
1602 HTS_HOT = 2,
1603 HTS_PUSHED = 3,
1604 HTS_DISABLED = 4,
1607 enum VERTSCROLLSTATES {
1608 VSS_NORMAL = 1,
1609 VSS_HOT = 2,
1610 VSS_PUSHED = 3,
1611 VSS_DISABLED = 4,
1614 enum VERTTHUMBSTATES {
1615 VTS_NORMAL = 1,
1616 VTS_HOT = 2,
1617 VTS_PUSHED = 3,
1618 VTS_DISABLED = 4,
1621 enum SYSBUTTONSTATES {
1622 SBS_NORMAL = 1,
1623 SBS_HOT = 2,
1624 SBS_PUSHED = 3,
1625 SBS_DISABLED = 4,
1628 enum MINBUTTONSTATES {
1629 MINBS_NORMAL = 1,
1630 MINBS_HOT = 2,
1631 MINBS_PUSHED = 3,
1632 MINBS_DISABLED = 4,
1635 enum RESTOREBUTTONSTATES {
1636 RBS_NORMAL = 1,
1637 RBS_HOT = 2,
1638 RBS_PUSHED = 3,
1639 RBS_DISABLED = 4,
1642 enum HELPBUTTONSTATES {
1643 HBS_NORMAL = 1,
1644 HBS_HOT = 2,
1645 HBS_PUSHED = 3,
1646 HBS_DISABLED = 4,
1649 enum CLOSEBUTTONSTATES {
1650 CBS_NORMAL = 1,
1651 CBS_HOT = 2,
1652 CBS_PUSHED = 3,
1653 CBS_DISABLED = 4,
1656 #endif /* __VSSTYLE_H__ */