Add AppDefaults app selection to control panel
[wine/gsoc-2012-control.git] / include / vsstyle.h
blobe6fb1a373a415c33d55d3cefa5751ee734c05560
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(__GNUC__)
28 #define VSCLASS_AEROWIZARDSTYLE (const WCHAR []){'A','E','R','O','W','I','Z','A','R','D','S','T','Y','L','E',0}
29 #define VSCLASS_AEROWIZARD (const WCHAR []){'A','E','R','O','W','I','Z','A','R','D',0}
30 #elif defined(_MSC_VER)
31 #define VSCLASS_AEROWIZARDSTYLE L"AEROWIZARDSTYLE"
32 #define VSCLASS_AEROWIZARD L"AEROWIZARD"
33 #else
34 static const WCHAR VSCLASS_AEROWIZARDSTYLE[] = {'A','E','R','O','W','I','Z','A','R','D','S','T','Y','L','E',0};
35 static const WCHAR VSCLASS_AEROWIZARD [] = {'A','E','R','O','W','I','Z','A','R','D',0};
36 #endif
38 enum AEROWIZARDPARTS {
39 AW_TITLEBAR = 1,
40 AW_HEADERAREA = 2,
41 AW_CONTENTAREA = 3,
42 AW_COMMANDAREA = 4,
43 AW_BUTTON = 5,
46 #define AEROWIZARDSTYLEPARTS AEROWIZARDPARTS;
48 enum TITLEBARSTATES {
49 AW_S_TITLEBAR_ACTIVE = 1,
50 AW_S_TITLEBAR_INACTIVE = 2,
53 enum HEADERAREASTATES {
54 AW_S_HEADERAREA_NOMARGIN = 1,
57 enum CONTENTAREASTATES {
58 AW_S_CONTENTAREA_NOMARGIN = 1,
61 /* BUTTONSTYLE class */
62 #if defined(__GNUC__)
63 #define VSCLASS_BUTTONSTYLE (const WCHAR []){'B','U','T','T','O','N','S','T','Y','L','E',0}
64 #define VSCLASS_BUTTON (const WCHAR []){'B','U','T','T','O','N',0}
65 #elif defined(_MSC_VER)
66 #define VSCLASS_BUTTONSTYLE L"BUTTONSTYLE"
67 #define VSCLASS_BUTTON L"BUTTON"
68 #else
69 static const WCHAR VSCLASS_BUTTONSTYLE [] = {'B','U','T','T','O','N','S','T','Y','L','E',0};
70 static const WCHAR VSCLASS_BUTTON [] = {'B','U','T','T','O','N',0};
71 #endif
73 enum BUTTONPARTS {
74 BP_PUSHBUTTON = 1,
75 BP_RADIOBUTTON = 2,
76 BP_CHECKBOX = 3,
77 BP_GROUPBOX = 4,
78 BP_USERBUTTON = 5,
79 BP_COMMANDLINK = 6,
80 BP_COMMANDLINKGLYPH = 7,
83 #define BUTTONSTYLEPARTS BUTTONPARTS;
85 enum PUSHBUTTONSTATES {
86 PBS_NORMAL = 1,
87 PBS_HOT = 2,
88 PBS_PRESSED = 3,
89 PBS_DISABLED = 4,
90 PBS_DEFAULTED = 5,
91 PBS_DEFAULTED_ANIMATING = 6,
94 enum RADIOBUTTONSTATES {
95 RBS_UNCHECKEDNORMAL = 1,
96 RBS_UNCHECKEDHOT = 2,
97 RBS_UNCHECKEDPRESSED = 3,
98 RBS_UNCHECKEDDISABLED = 4,
99 RBS_CHECKEDNORMAL = 5,
100 RBS_CHECKEDHOT = 6,
101 RBS_CHECKEDPRESSED = 7,
102 RBS_CHECKEDDISABLED = 8,
105 enum CHECKBOXSTATES {
106 CBS_UNCHECKEDNORMAL = 1,
107 CBS_UNCHECKEDHOT = 2,
108 CBS_UNCHECKEDPRESSED = 3,
109 CBS_UNCHECKEDDISABLED = 4,
110 CBS_CHECKEDNORMAL = 5,
111 CBS_CHECKEDHOT = 6,
112 CBS_CHECKEDPRESSED = 7,
113 CBS_CHECKEDDISABLED = 8,
114 CBS_MIXEDNORMAL = 9,
115 CBS_MIXEDHOT = 10,
116 CBS_MIXEDPRESSED = 11,
117 CBS_MIXEDDISABLED = 12,
118 CBS_IMPLICITNORMAL = 13,
119 CBS_IMPLICITHOT = 14,
120 CBS_IMPLICITPRESSED = 15,
121 CBS_IMPLICITDISABLED = 16,
122 CBS_EXCLUDEDNORMAL = 17,
123 CBS_EXCLUDEDHOT = 18,
124 CBS_EXCLUDEDPRESSED = 19,
125 CBS_EXCLUDEDDISABLED = 20,
128 enum GROUPBOXSTATES {
129 GBS_NORMAL = 1,
130 GBS_DISABLED = 2,
133 enum COMMANDLINKSTATES {
134 CMDLS_NORMAL = 1,
135 CMDLS_HOT = 2,
136 CMDLS_PRESSED = 3,
137 CMDLS_DISABLED = 4,
138 CMDLS_DEFAULTED = 5,
139 CMDLS_DEFAULTED_ANIMATING = 6,
142 enum COMMANDLINKGLYPHSTATES {
143 CMDLGS_NORMAL = 1,
144 CMDLGS_HOT = 2,
145 CMDLGS_PRESSED = 3,
146 CMDLGS_DISABLED = 4,
147 CMDLGS_DEFAULTED = 5,
150 /* COMBOBOXSTYLE class */
151 #if defined(__GNUC__)
152 #define VSCLASS_COMBOBOXSTYLE (const WCHAR []){'C','O','M','B','O','B','O','X','S','T','Y','L','E',0}
153 #define VSCLASS_COMBOBOX (const WCHAR []){'C','O','M','B','O','B','O','X',0}
154 #elif defined(_MSC_VER)
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,
173 #define COMBOBOXSTYLEPARTS COMBOBOXPARTS;
175 enum COMBOBOXSTYLESTATES {
176 CBXS_NORMAL = 1,
177 CBXS_HOT = 2,
178 CBXS_PRESSED = 3,
179 CBXS_DISABLED = 4,
182 enum DROPDOWNBUTTONRIGHTSTATES {
183 CBXSR_NORMAL = 1,
184 CBXSR_HOT = 2,
185 CBXSR_PRESSED = 3,
186 CBXSR_DISABLED = 4,
189 enum DROPDOWNBUTTONLEFTSTATES {
190 CBXSL_NORMAL = 1,
191 CBXSL_HOT = 2,
192 CBXSL_PRESSED = 3,
193 CBXSL_DISABLED = 4,
196 enum TRANSPARENTBACKGROUNDSTATES {
197 CBTBS_NORMAL = 1,
198 CBTBS_HOT = 2,
199 CBTBS_DISABLED = 3,
200 CBTBS_FOCUSED = 4,
203 enum BORDERSTATES {
204 CBB_NORMAL = 1,
205 CBB_HOT = 2,
206 CBB_FOCUSED = 3,
207 CBB_DISABLED = 4,
210 enum READONLYSTATES {
211 CBRO_NORMAL = 1,
212 CBRO_HOT = 2,
213 CBRO_PRESSED = 3,
214 CBRO_DISABLED = 4,
217 enum CUEBANNERSTATES {
218 CBCB_NORMAL = 1,
219 CBCB_HOT = 2,
220 CBCB_PRESSED = 3,
221 CBCB_DISABLED = 4,
224 /* COMMUNICATIONSSTYLE class */
225 #if defined(__GNUC__)
226 #define VSCLASS_COMMUNICATIONSSTYLE (const WCHAR []){'C','O','M','M','U','N','I','C','A','T','I','O','N','S','S','T','Y','L','E',0}
227 #define VSCLASS_COMMUNICATIONS (const WCHAR []){'C','O','M','M','U','N','I','C','A','T','I','O','N','S',0}
228 #elif defined(_MSC_VER)
229 #define VSCLASS_COMMUNICATIONSSTYLE L"COMMUNICATIONSSTYLE"
230 #define VSCLASS_COMMUNICATIONS L"COMMUNICATIONS"
231 #else
232 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};
233 static const WCHAR VSCLASS_COMMUNICATIONS [] = {'C','O','M','M','U','N','I','C','A','T','I','O','N','S',0};
234 #endif
236 enum COMMUNICATIONSPARTS {
237 CSST_TAB = 1,
240 #define COMMUNICATIONSSTYLEPARTS COMMUNICATIONSPARTS;
242 enum TABSTATES {
243 CSTB_NORMAL = 1,
244 CSTB_HOT = 2,
245 CSTB_SELECTED = 3,
248 /* CONTROLPANELSTYLE class */
249 #if defined(__GNUC__)
250 #define VSCLASS_CONTROLPANELSTYLE (const WCHAR []){'C','O','N','T','R','O','L','P','A','N','E','L','S','T','Y','L','E',0}
251 #define VSCLASS_CONTROLPANEL (const WCHAR []){'C','O','N','T','R','O','L','P','A','N','E','L',0}
252 #elif defined(_MSC_VER)
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(__GNUC__)
313 #define VSCLASS_DATEPICKERSTYLE (const WCHAR []){'D','A','T','E','P','I','C','K','E','R','S','T','Y','L','E',0}
314 #define VSCLASS_DATEPICKER (const WCHAR []){'D','A','T','E','P','I','C','K','E','R',0}
315 #elif defined(_MSC_VER)
316 #define VSCLASS_DATEPICKERSTYLE L"DATEPICKERSTYLE"
317 #define VSCLASS_DATEPICKER L"DATEPICKER"
318 #else
319 static const WCHAR VSCLASS_DATEPICKERSTYLE[] = {'D','A','T','E','P','I','C','K','E','R','S','T','Y','L','E',0};
320 static const WCHAR VSCLASS_DATEPICKER [] = {'D','A','T','E','P','I','C','K','E','R',0};
321 #endif
323 enum DATEPICKERPARTS {
324 DP_DATETEXT = 1,
325 DP_DATEBORDER = 2,
326 DP_SHOWCALENDARBUTTONRIGHT = 3,
329 #define DATEPICKERSTYLEPARTS DATEPICKERPARTS;
331 enum DATETEXTSTATES {
332 DPDT_NORMAL = 1,
333 DPDT_DISABLED = 2,
334 DPDT_SELECTED = 3,
337 enum DATEBORDERSTATES {
338 DPDB_NORMAL = 1,
339 DPDB_HOT = 2,
340 DPDB_FOCUSED = 3,
341 DPDB_DISABLED = 4,
344 enum SHOWCALENDARBUTTONRIGHTSTATES {
345 DPSCBR_NORMAL = 1,
346 DPSCBR_HOT = 2,
347 DPSCBR_PRESSED = 3,
348 DPSCBR_DISABLED = 4,
351 /* DRAGDROPSTYLE class */
352 #if defined(__GNUC__)
353 #define VSCLASS_DRAGDROPSTYLE (const WCHAR []){'D','R','A','G','D','R','O','P','S','T','Y','L','E',0}
354 #define VSCLASS_DRAGDROP (const WCHAR []){'D','R','A','G','D','R','O','P',0}
355 #elif defined(_MSC_VER)
356 #define VSCLASS_DRAGDROPSTYLE L"DRAGDROPSTYLE"
357 #define VSCLASS_DRAGDROP L"DRAGDROP"
358 #else
359 static const WCHAR VSCLASS_DRAGDROPSTYLE [] = {'D','R','A','G','D','R','O','P','S','T','Y','L','E',0};
360 static const WCHAR VSCLASS_DRAGDROP [] = {'D','R','A','G','D','R','O','P',0};
361 #endif
363 enum DRAGDROPPARTS {
364 DD_COPY = 1,
365 DD_MOVE = 2,
366 DD_UPDATEMETADATA = 3,
367 DD_CREATELINK = 4,
368 DD_WARNING = 5,
369 DD_NONE = 6,
370 DD_IMAGEBG = 7,
371 DD_TEXTBG = 8,
374 #define DRAGDROPSTYLEPARTS DRAGDROPPARTS;
376 enum COPYSTATES {
377 DDCOPY_HIGHLIGHT = 1,
378 DDCOPY_NOHIGHLIGHT = 2,
381 enum MOVESTATES {
382 DDMOVE_HIGHLIGHT = 1,
383 DDMOVE_NOHIGHLIGHT = 2,
386 enum UPDATEMETADATASTATES {
387 DDUPDATEMETADATA_HIGHLIGHT = 1,
388 DDUPDATEMETADATA_NOHIGHLIGHT = 2,
391 enum CREATELINKSTATES {
392 DDCREATELINK_HIGHLIGHT = 1,
393 DDCREATELINK_NOHIGHLIGHT = 2,
396 enum WARNINGSTATES {
397 DDWARNING_HIGHLIGHT = 1,
398 DDWARNING_NOHIGHLIGHT = 2,
401 enum NONESTATES {
402 DDNONE_HIGHLIGHT = 1,
403 DDNONE_NOHIGHLIGHT = 2,
406 /* EDITSTYLE class */
407 #if defined(__GNUC__)
408 #define VSCLASS_EDITSTYLE (const WCHAR []){'E','D','I','T','S','T','Y','L','E',0}
409 #define VSCLASS_EDIT (const WCHAR []){'E','D','I','T',0}
410 #elif defined(_MSC_VER)
411 #define VSCLASS_EDITSTYLE L"EDITSTYLE"
412 #define VSCLASS_EDIT L"EDIT"
413 #else
414 static const WCHAR VSCLASS_EDITSTYLE [] = {'E','D','I','T','S','T','Y','L','E',0};
415 static const WCHAR VSCLASS_EDIT [] = {'E','D','I','T',0};
416 #endif
418 enum EDITPARTS {
419 EP_EDITTEXT = 1,
420 EP_CARET = 2,
421 EP_BACKGROUND = 3,
422 EP_PASSWORD = 4,
423 EP_BACKGROUNDWITHBORDER = 5,
424 EP_EDITBORDER_NOSCROLL = 6,
425 EP_EDITBORDER_HSCROLL = 7,
426 EP_EDITBORDER_VSCROLL = 8,
427 EP_EDITBORDER_HVSCROLL = 9,
430 #define EDITSTYLEPARTS EDITPARTS;
432 enum EDITTEXTSTATES {
433 ETS_NORMAL = 1,
434 ETS_HOT = 2,
435 ETS_SELECTED = 3,
436 ETS_DISABLED = 4,
437 ETS_FOCUSED = 5,
438 ETS_READONLY = 6,
439 ETS_ASSIST = 7,
440 ETS_CUEBANNER = 8,
443 enum BACKGROUNDSTATES {
444 EBS_NORMAL = 1,
445 EBS_HOT = 2,
446 EBS_DISABLED = 3,
447 EBS_FOCUSED = 4,
448 EBS_READONLY = 5,
449 EBS_ASSIST = 6,
452 enum BACKGROUNDWITHBORDERSTATES {
453 EBWBS_NORMAL = 1,
454 EBWBS_HOT = 2,
455 EBWBS_DISABLED = 3,
456 EBWBS_FOCUSED = 4,
459 enum EDITBORDER_NOSCROLLSTATES {
460 EPSN_NORMAL = 1,
461 EPSN_HOT = 2,
462 EPSN_FOCUSED = 3,
463 EPSN_DISABLED = 4,
466 enum EDITBORDER_HSCROLLSTATES {
467 EPSH_NORMAL = 1,
468 EPSH_HOT = 2,
469 EPSH_FOCUSED = 3,
470 EPSH_DISABLED = 4,
473 enum EDITBORDER_VSCROLLSTATES {
474 EPSV_NORMAL = 1,
475 EPSV_HOT = 2,
476 EPSV_FOCUSED = 3,
477 EPSV_DISABLED = 4,
480 enum EDITBORDER_HVSCROLLSTATES {
481 EPSHV_NORMAL = 1,
482 EPSHV_HOT = 2,
483 EPSHV_FOCUSED = 3,
484 EPSHV_DISABLED = 4,
487 /* EXPLORERBARSTYLE class */
488 #if defined(__GNUC__)
489 #define VSCLASS_EXPLORERBARSTYLE (const WCHAR []){'E','X','P','L','O','R','E','R','B','A','R','S','T','Y','L','E',0}
490 #define VSCLASS_EXPLORERBAR (const WCHAR []){'E','X','P','L','O','R','E','R','B','A','R',0}
491 #elif defined(_MSC_VER)
492 #define VSCLASS_EXPLORERBARSTYLE L"EXPLORERBARSTYLE"
493 #define VSCLASS_EXPLORERBAR L"EXPLORERBAR"
494 #else
495 static const WCHAR VSCLASS_EXPLORERBARSTYLE [] = {'E','X','P','L','O','R','E','R','B','A','R','S','T','Y','L','E',0};
496 static const WCHAR VSCLASS_EXPLORERBAR [] = {'E','X','P','L','O','R','E','R','B','A','R',0};
497 #endif
499 enum EXPLORERBARPARTS {
500 EBP_HEADERBACKGROUND = 1,
501 EBP_HEADERCLOSE = 2,
502 EBP_HEADERPIN = 3,
503 EBP_IEBARMENU = 4,
504 EBP_NORMALGROUPBACKGROUND = 5,
505 EBP_NORMALGROUPCOLLAPSE = 6,
506 EBP_NORMALGROUPEXPAND = 7,
507 EBP_NORMALGROUPHEAD = 8,
508 EBP_SPECIALGROUPBACKGROUND = 9,
509 EBP_SPECIALGROUPCOLLAPSE = 10,
510 EBP_SPECIALGROUPEXPAND = 11,
511 EBP_SPECIALGROUPHEAD = 12,
514 #define EXPLORERBARSTYLEPARTS EXPLORERBARPARTS;
516 enum HEADERCLOSESTATES {
517 EBHC_NORMAL = 1,
518 EBHC_HOT = 2,
519 EBHC_PRESSED = 3,
522 enum HEADERPINSTATES {
523 EBHP_NORMAL = 1,
524 EBHP_HOT = 2,
525 EBHP_PRESSED = 3,
526 EBHP_SELECTEDNORMAL = 4,
527 EBHP_SELECTEDHOT = 5,
528 EBHP_SELECTEDPRESSED = 6,
531 enum IEBARMENUSTATES {
532 EBM_NORMAL = 1,
533 EBM_HOT = 2,
534 EBM_PRESSED = 3,
537 enum NORMALGROUPCOLLAPSESTATES {
538 EBNGC_NORMAL = 1,
539 EBNGC_HOT = 2,
540 EBNGC_PRESSED = 3,
543 enum NORMALGROUPEXPANDSTATES {
544 EBNGE_NORMAL = 1,
545 EBNGE_HOT = 2,
546 EBNGE_PRESSED = 3,
549 enum SPECIALGROUPCOLLAPSESTATES {
550 EBSGC_NORMAL = 1,
551 EBSGC_HOT = 2,
552 EBSGC_PRESSED = 3,
555 enum SPECIALGROUPEXPANDSTATES {
556 EBSGE_NORMAL = 1,
557 EBSGE_HOT = 2,
558 EBSGE_PRESSED = 3,
561 /* FLYOUTSTYLE class */
562 #if defined(__GNUC__)
563 #define VSCLASS_FLYOUTSTYLE (const WCHAR []){'F','L','Y','O','U','T','S','T','Y','L','E',0}
564 #define VSCLASS_FLYOUT (const WCHAR []){'F','L','Y','O','U','T',0}
565 #elif defined(_MSC_VER)
566 #define VSCLASS_FLYOUTSTYLE L"FLYOUTSTYLE"
567 #define VSCLASS_FLYOUT L"FLYOUT"
568 #else
569 static const WCHAR VSCLASS_FLYOUTSTYLE [] = {'F','L','Y','O','U','T','S','T','Y','L','E',0};
570 static const WCHAR VSCLASS_FLYOUT [] = {'F','L','Y','O','U','T',0};
571 #endif
573 enum FLYOUTPARTS {
574 FLYOUT_HEADER = 1,
575 FLYOUT_BODY = 2,
576 FLYOUT_LABEL = 3,
577 FLYOUT_LINK = 4,
578 FLYOUT_DIVIDER = 5,
579 FLYOUT_WINDOW = 6,
580 FLYOUT_LINKAREA = 7,
581 FLYOUT_LINKHEADER = 8,
584 #define FLYOUTSTYLEPARTS FLYOUTPARTS;
586 enum LABELSTATES {
587 FLS_NORMAL = 1,
588 FLS_SELECTED = 2,
589 FLS_EMPHASIZED = 3,
590 FLS_DISABLED = 4,
593 enum LINKSTATES {
594 FLYOUTLINK_NORMAL = 1,
595 FLYOUTLINK_HOVER = 2,
598 enum BODYSTATES {
599 FBS_NORMAL = 1,
600 FBS_EMPHASIZED = 2,
603 enum LINKHEADERSTATES {
604 FLH_NORMAL = 1,
605 FLH_HOVER = 2,
608 /* HEADERSTYLE class */
609 #if defined(__GNUC__)
610 #define VSCLASS_HEADERSTYLE (const WCHAR []){'H','E','A','D','E','R','S','T','Y','L','E',0}
611 #define VSCLASS_HEADER (const WCHAR []){'H','E','A','D','E','R',0}
612 #elif defined(_MSC_VER)
613 #define VSCLASS_HEADERSTYLE L"HEADERSTYLE"
614 #define VSCLASS_HEADER L"HEADER"
615 #else
616 static const WCHAR VSCLASS_HEADERSTYLE [] = {'H','E','A','D','E','R','S','T','Y','L','E',0};
617 static const WCHAR VSCLASS_HEADER [] = {'H','E','A','D','E','R',0};
618 #endif
620 enum HEADERPARTS {
621 HP_HEADERITEM = 1,
622 HP_HEADERITEMLEFT = 2,
623 HP_HEADERITEMRIGHT = 3,
624 HP_HEADERSORTARROW = 4,
625 HP_HEADERDROPDOWN = 5,
626 HP_HEADERDROPDOWNFILTER = 6,
627 HP_HEADEROVERFLOW = 7,
630 #define HEADERSTYLEPARTS HEADERPARTS;
632 enum HEADERSTYLESTATES {
633 HBG_DETAILS = 1,
634 HBG_ICON = 2,
637 enum HEADERITEMSTATES {
638 HIS_NORMAL = 1,
639 HIS_HOT = 2,
640 HIS_PRESSED = 3,
641 HIS_SORTEDNORMAL = 4,
642 HIS_SORTEDHOT = 5,
643 HIS_SORTEDPRESSED = 6,
644 HIS_ICONNORMAL = 7,
645 HIS_ICONHOT = 8,
646 HIS_ICONPRESSED = 9,
647 HIS_ICONSORTEDNORMAL = 10,
648 HIS_ICONSORTEDHOT = 11,
649 HIS_ICONSORTEDPRESSED = 12,
652 enum HEADERITEMLEFTSTATES {
653 HILS_NORMAL = 1,
654 HILS_HOT = 2,
655 HILS_PRESSED = 3,
658 enum HEADERITEMRIGHTSTATES {
659 HIRS_NORMAL = 1,
660 HIRS_HOT = 2,
661 HIRS_PRESSED = 3,
664 enum HEADERSORTARROWSTATES {
665 HSAS_SORTEDUP = 1,
666 HSAS_SORTEDDOWN = 2,
669 enum HEADERDROPDOWNSTATES {
670 HDDS_NORMAL = 1,
671 HDDS_SOFTHOT = 2,
672 HDDS_HOT = 3,
675 enum HEADERDROPDOWNFILTERSTATES {
676 HDDFS_NORMAL = 1,
677 HDDFS_SOFTHOT = 2,
678 HDDFS_HOT = 3,
681 enum HEADEROVERFLOWSTATES {
682 HOFS_NORMAL = 1,
683 HOFS_HOT = 2,
686 /* LISTBOXSTYLE class */
687 #if defined(__GNUC__)
688 #define VSCLASS_LISTBOXSTYLE (const WCHAR []){'L','I','S','T','B','O','X','S','T','Y','L','E',0}
689 #define VSCLASS_LISTBOX (const WCHAR []){'L','I','S','T','B','O','X',0}
690 #elif defined(_MSC_VER)
691 #define VSCLASS_LISTBOXSTYLE L"LISTBOXSTYLE"
692 #define VSCLASS_LISTBOX L"LISTBOX"
693 #else
694 static const WCHAR VSCLASS_LISTBOXSTYLE [] = {'L','I','S','T','B','O','X','S','T','Y','L','E',0};
695 static const WCHAR VSCLASS_LISTBOX[] = {'L','I','S','T','B','O','X',0};
696 #endif
698 enum LISTBOXPARTS {
699 LBCP_BORDER_HSCROLL = 1,
700 LBCP_BORDER_HVSCROLL = 2,
701 LBCP_BORDER_NOSCROLL = 3,
702 LBCP_BORDER_VSCROLL = 4,
703 LBCP_ITEM = 5,
706 #define LISTBOXSTYLEPARTS LISTBOXPARTS;
708 enum BORDER_HSCROLLSTATES {
709 LBPSH_NORMAL = 1,
710 LBPSH_FOCUSED = 2,
711 LBPSH_HOT = 3,
712 LBPSH_DISABLED = 4,
715 enum BORDER_HVSCROLLSTATES {
716 LBPSHV_NORMAL = 1,
717 LBPSHV_FOCUSED = 2,
718 LBPSHV_HOT = 3,
719 LBPSHV_DISABLED = 4,
722 enum BORDER_NOSCROLLSTATES {
723 LBPSN_NORMAL = 1,
724 LBPSN_FOCUSED = 2,
725 LBPSN_HOT = 3,
726 LBPSN_DISABLED = 4,
729 enum BORDER_VSCROLLSTATES {
730 LBPSV_NORMAL = 1,
731 LBPSV_FOCUSED = 2,
732 LBPSV_HOT = 3,
733 LBPSV_DISABLED = 4,
736 enum ITEMSTATES {
737 LBPSI_HOT = 1,
738 LBPSI_HOTSELECTED = 2,
739 LBPSI_SELECTED = 3,
740 LBPSI_SELECTEDNOTFOCUS = 4,
743 /* LISTVIEWSTYLE class */
744 #if defined(__GNUC__)
745 #define VSCLASS_LISTVIEWSTYLE (const WCHAR []){'L','I','S','T','V','I','E','W','S','T','Y','L','E',0}
746 #define VSCLASS_LISTVIEW (const WCHAR []){'L','I','S','T','V','I','E','W',0}
747 #elif defined(_MSC_VER)
748 #define VSCLASS_LISTVIEWSTYLE L"LISTVIEWSTYLE"
749 #define VSCLASS_LISTVIEW L"LISTVIEW"
750 #else
751 static const WCHAR VSCLASS_LISTVIEWSTYLE [] = {'L','I','S','T','V','I','E','W','S','T','Y','L','E',0};
752 static const WCHAR VSCLASS_LISTVIEW [] = {'L','I','S','T','V','I','E','W',0};
753 #endif
755 enum LISTVIEWPARTS {
756 LVP_LISTITEM = 1,
757 LVP_LISTGROUP = 2,
758 LVP_LISTDETAIL = 3,
759 LVP_LISTSORTEDDETAIL = 4,
760 LVP_EMPTYTEXT = 5,
761 LVP_GROUPHEADER = 6,
762 LVP_GROUPHEADERLINE = 7,
763 LVP_EXPANDBUTTON = 8,
764 LVP_COLLAPSEBUTTON = 9,
765 LVP_COLUMNDETAIL = 10,
768 #define LISTVIEWSTYLEPARTS LISTVIEWPARTS;
770 enum LISTITEMSTATES {
771 LISS_NORMAL = 1,
772 LISS_HOT = 2,
773 LISS_SELECTED = 3,
774 LISS_DISABLED = 4,
775 LISS_SELECTEDNOTFOCUS = 5,
776 LISS_HOTSELECTED = 6,
779 enum GROUPHEADERSTATES {
780 LVGH_OPEN = 1,
781 LVGH_OPENHOT = 2,
782 LVGH_OPENSELECTED = 3,
783 LVGH_OPENSELECTEDHOT = 4,
784 LVGH_OPENSELECTEDNOTFOCUSED = 5,
785 LVGH_OPENSELECTEDNOTFOCUSEDHOT = 6,
786 LVGH_OPENMIXEDSELECTION = 7,
787 LVGH_OPENMIXEDSELECTIONHOT = 8,
788 LVGH_CLOSE = 9,
789 LVGH_CLOSEHOT = 10,
790 LVGH_CLOSESELECTED = 11,
791 LVGH_CLOSESELECTEDHOT = 12,
792 LVGH_CLOSESELECTEDNOTFOCUSED = 13,
793 LVGH_CLOSESELECTEDNOTFOCUSEDHOT = 14,
794 LVGH_CLOSEMIXEDSELECTION = 15,
795 LVGH_CLOSEMIXEDSELECTIONHOT = 16,
798 enum GROUPHEADERLINESTATES {
799 LVGHL_OPEN = 1,
800 LVGHL_OPENHOT = 2,
801 LVGHL_OPENSELECTED = 3,
802 LVGHL_OPENSELECTEDHOT = 4,
803 LVGHL_OPENSELECTEDNOTFOCUSED = 5,
804 LVGHL_OPENSELECTEDNOTFOCUSEDHOT = 6,
805 LVGHL_OPENMIXEDSELECTION = 7,
806 LVGHL_OPENMIXEDSELECTIONHOT = 8,
807 LVGHL_CLOSE = 9,
808 LVGHL_CLOSEHOT = 10,
809 LVGHL_CLOSESELECTED = 11,
810 LVGHL_CLOSESELECTEDHOT = 12,
811 LVGHL_CLOSESELECTEDNOTFOCUSED = 13,
812 LVGHL_CLOSESELECTEDNOTFOCUSEDHOT = 14,
813 LVGHL_CLOSEMIXEDSELECTION = 15,
814 LVGHL_CLOSEMIXEDSELECTIONHOT = 16,
817 enum EXPANDBUTTONSTATES {
818 LVEB_NORMAL = 1,
819 LVEB_HOVER = 2,
820 LVEB_PUSHED = 3,
823 enum COLLAPSEBUTTONSTATES {
824 LVCB_NORMAL = 1,
825 LVCB_HOVER = 2,
826 LVCB_PUSHED = 3,
829 /* MENUSTYLE class */
830 #if defined(__GNUC__)
831 #define VSCLASS_MENUSTYLE (const WCHAR []){'M','E','N','U','S','T','Y','L','E',0}
832 #define VSCLASS_MENU (const WCHAR []){'M','E','N','U',0}
833 #elif defined(_MSC_VER)
834 #define VSCLASS_MENUSTYLE L"MENUSTYLE"
835 #define VSCLASS_MENU L"MENU"
836 #else
837 static const WCHAR VSCLASS_MENUSTYLE [] = {'M','E','N','U','S','T','Y','L','E',0};
838 static const WCHAR VSCLASS_MENU [] = {'M','E','N','U',0};
839 #endif
841 enum MENUPARTS {
842 MENU_MENUITEM_TMSCHEMA = 1,
843 MENU_MENUDROPDOWN_TMSCHEMA = 2,
844 MENU_MENUBARITEM_TMSCHEMA = 3,
845 MENU_MENUBARDROPDOWN_TMSCHEMA = 4,
846 MENU_CHEVRON_TMSCHEMA = 5,
847 MENU_SEPARATOR_TMSCHEMA = 6,
848 MENU_BARBACKGROUND = 7,
849 MENU_BARITEM = 8,
850 MENU_POPUPBACKGROUND = 9,
851 MENU_POPUPBORDERS = 10,
852 MENU_POPUPCHECK = 11,
853 MENU_POPUPCHECKBACKGROUND = 12,
854 MENU_POPUPGUTTER = 13,
855 MENU_POPUPITEM = 14,
856 MENU_POPUPSEPARATOR = 15,
857 MENU_POPUPSUBMENU = 16,
858 MENU_SYSTEMCLOSE = 17,
859 MENU_SYSTEMMAXIMIZE = 18,
860 MENU_SYSTEMMINIMIZE = 19,
861 MENU_SYSTEMRESTORE = 20,
864 #define MENUSTYLEPARTS MENUPARTS;
866 enum BARBACKGROUNDSTATES {
867 MB_ACTIVE = 1,
868 MB_INACTIVE = 2,
871 enum BARITEMSTATES {
872 MBI_NORMAL = 1,
873 MBI_HOT = 2,
874 MBI_PUSHED = 3,
875 MBI_DISABLED = 4,
876 MBI_DISABLEDHOT = 5,
877 MBI_DISABLEDPUSHED = 6,
880 enum POPUPCHECKSTATES {
881 MC_CHECKMARKNORMAL = 1,
882 MC_CHECKMARKDISABLED = 2,
883 MC_BULLETNORMAL = 3,
884 MC_BULLETDISABLED = 4,
887 enum POPUPCHECKBACKGROUNDSTATES {
888 MCB_DISABLED = 1,
889 MCB_NORMAL = 2,
890 MCB_BITMAP = 3,
893 enum POPUPITEMSTATES {
894 MPI_NORMAL = 1,
895 MPI_HOT = 2,
896 MPI_DISABLED = 3,
897 MPI_DISABLEDHOT = 4,
900 enum POPUPSUBMENUSTATES {
901 MSM_NORMAL = 1,
902 MSM_DISABLED = 2,
905 enum SYSTEMCLOSESTATES {
906 MSYSC_NORMAL = 1,
907 MSYSC_DISABLED = 2,
910 enum SYSTEMMAXIMIZESTATES {
911 MSYSMX_NORMAL = 1,
912 MSYSMX_DISABLED = 2,
915 enum SYSTEMMINIMIZESTATES {
916 MSYSMN_NORMAL = 1,
917 MSYSMN_DISABLED = 2,
920 enum SYSTEMRESTORESTATES {
921 MSYSR_NORMAL = 1,
922 MSYSR_DISABLED = 2,
925 /* NAVIGATION class */
926 #if defined(__GNUC__)
927 #define VSCLASS_NAVIGATION (const WCHAR []){'N','A','V','I','G','A','T','I','O','N',0}
928 #elif defined(_MSC_VER)
929 #define VSCLASS_NAVIGATION L"NAVIGATION"
930 #else
931 static const WCHAR VSCLASS_NAVIGATION [] = {'N','A','V','I','G','A','T','I','O','N',0};
932 #endif
934 enum NAVIGATIONPARTS {
935 NAV_BACKBUTTON = 1,
936 NAV_FORWARDBUTTON = 2,
937 NAV_MENUBUTTON = 3,
940 enum NAV_BACKBUTTONSTATES {
941 NAV_BB_NORMAL = 1,
942 NAV_BB_HOT = 2,
943 NAV_BB_PRESSED = 3,
944 NAV_BB_DISABLED = 4,
947 enum NAV_FORWARDBUTTONSTATES {
948 NAV_FB_NORMAL = 1,
949 NAV_FB_HOT = 2,
950 NAV_FB_PRESSED = 3,
951 NAV_FB_DISABLED = 4,
954 enum NAV_MENUBUTTONSTATES {
955 NAV_MB_NORMAL = 1,
956 NAV_MB_HOT = 2,
957 NAV_MB_PRESSED = 3,
958 NAV_MB_DISABLED = 4,
961 /* PROGRESSSTYLE class */
962 #if defined(__GNUC__)
963 #define VSCLASS_PROGRESSSTYLE (const WCHAR []){'P','R','O','G','R','E','S','S','S','T','Y','L','E',0}
964 #define VSCLASS_PROGRESS (const WCHAR []){'P','R','O','G','R','E','S','S',0}
965 #elif defined(_MSC_VER)
966 #define VSCLASS_PROGRESSSTYLE L"PROGRESSSTYLE"
967 #define VSCLASS_PROGRESS L"PROGRESS"
968 #else
969 static const WCHAR VSCLASS_PROGRESSSTYLE [] = {'P','R','O','G','R','E','S','S','S','T','Y','L','E',0};
970 static const WCHAR VSCLASS_PROGRESS [] = {'P','R','O','G','R','E','S','S',0};
971 #endif
973 enum PROGRESSPARTS {
974 PP_BAR = 1,
975 PP_BARVERT = 2,
976 PP_CHUNK = 3,
977 PP_CHUNKVERT = 4,
978 PP_FILL = 5,
979 PP_FILLVERT = 6,
980 PP_PULSEOVERLAY = 7,
981 PP_MOVEOVERLAY = 8,
982 PP_PULSEOVERLAYVERT = 9,
983 PP_MOVEOVERLAYVERT = 10,
984 PP_TRANSPARENTBAR = 11,
985 PP_TRANSPARENTBARVERT = 12,
988 #define PROGRESSSTYLEPARTS PROGRESSPARTS;
990 enum TRANSPARENTBARSTATES {
991 PBBS_NORMAL = 1,
992 PBBS_PARTIAL = 2,
995 enum TRANSPARENTBARVERTSTATES {
996 PBBVS_NORMAL = 1,
997 PBBVS_PARTIAL = 2,
1000 enum FILLSTATES {
1001 PBFS_NORMAL = 1,
1002 PBFS_ERROR = 2,
1003 PBFS_PAUSED = 3,
1004 PBFS_PARTIAL = 4,
1007 enum FILLVERTSTATES {
1008 PBFVS_NORMAL = 1,
1009 PBFVS_ERROR = 2,
1010 PBFVS_PAUSED = 3,
1011 PBFVS_PARTIAL = 4,
1014 /* REBARSTYLE class */
1015 #if defined(__GNUC__)
1016 #define VSCLASS_REBARSTYLE (const WCHAR []){'R','E','B','A','R','S','T','Y','L','E',0}
1017 #define VSCLASS_REBAR (const WCHAR []){'R','E','B','A','R',0}
1018 #elif defined(_MSC_VER)
1019 #define VSCLASS_REBARSTYLE L"REBARSTYLE"
1020 #define VSCLASS_REBAR L"REBAR"
1021 #else
1022 static const WCHAR VSCLASS_REBARSTYLE [] = {'R','E','B','A','R','S','T','Y','L','E',0};
1023 static const WCHAR VSCLASS_REBAR [] = {'R','E','B','A','R',0};
1024 #endif
1026 enum REBARPARTS {
1027 RP_GRIPPER = 1,
1028 RP_GRIPPERVERT = 2,
1029 RP_BAND = 3,
1030 RP_CHEVRON = 4,
1031 RP_CHEVRONVERT = 5,
1032 RP_BACKGROUND = 6,
1033 RP_SPLITTER = 7,
1034 RP_SPLITTERVERT = 8,
1037 #define REBARSTYLEPARTS REBARPARTS;
1039 enum CHEVRONSTATES {
1040 CHEVS_NORMAL = 1,
1041 CHEVS_HOT = 2,
1042 CHEVS_PRESSED = 3,
1045 enum CHEVRONVERTSTATES {
1046 CHEVSV_NORMAL = 1,
1047 CHEVSV_HOT = 2,
1048 CHEVSV_PRESSED = 3,
1051 enum SPLITTERSTATES {
1052 SPLITS_NORMAL = 1,
1053 SPLITS_HOT = 2,
1054 SPLITS_PRESSED = 3,
1057 enum SPLITTERVERTSTATES {
1058 SPLITSV_NORMAL = 1,
1059 SPLITSV_HOT = 2,
1060 SPLITSV_PRESSED = 3,
1063 /* SCROLLBARSTYLE class */
1064 #if defined(__GNUC__)
1065 #define VSCLASS_SCROLLBARSTYLE (const WCHAR []){'S','C','R','O','L','L','B','A','R','S','T','Y','L','E',0}
1066 #define VSCLASS_SCROLLBAR (const WCHAR []){'S','C','R','O','L','L','B','A','R',0}
1067 #elif defined(_MSC_VER)
1068 #define VSCLASS_SCROLLBARSTYLE L"SCROLLBARSTYLE"
1069 #define VSCLASS_SCROLLBAR L"SCROLLBAR"
1070 #else
1071 static const WCHAR VSCLASS_SCROLLBARSTYLE [] = {'S','C','R','O','L','L','B','A','R','S','T','Y','L','E',0};
1072 static const WCHAR VSCLASS_SCROLLBAR [] = {'S','C','R','O','L','L','B','A','R',0};
1073 #endif
1075 enum SCROLLBARPARTS {
1076 SBP_ARROWBTN = 1,
1077 SBP_THUMBBTNHORZ = 2,
1078 SBP_THUMBBTNVERT = 3,
1079 SBP_LOWERTRACKHORZ = 4,
1080 SBP_UPPERTRACKHORZ = 5,
1081 SBP_LOWERTRACKVERT = 6,
1082 SBP_UPPERTRACKVERT = 7,
1083 SBP_GRIPPERHORZ = 8,
1084 SBP_GRIPPERVERT = 9,
1085 SBP_SIZEBOX = 10,
1088 #define SCROLLBARSTYLEPARTS SCROLLBARPARTS;
1090 enum ARROWBTNSTATES {
1091 ABS_UPNORMAL = 1,
1092 ABS_UPHOT = 2,
1093 ABS_UPPRESSED = 3,
1094 ABS_UPDISABLED = 4,
1095 ABS_DOWNNORMAL = 5,
1096 ABS_DOWNHOT = 6,
1097 ABS_DOWNPRESSED = 7,
1098 ABS_DOWNDISABLED = 8,
1099 ABS_LEFTNORMAL = 9,
1100 ABS_LEFTHOT = 10,
1101 ABS_LEFTPRESSED = 11,
1102 ABS_LEFTDISABLED = 12,
1103 ABS_RIGHTNORMAL = 13,
1104 ABS_RIGHTHOT = 14,
1105 ABS_RIGHTPRESSED = 15,
1106 ABS_RIGHTDISABLED = 16,
1107 ABS_UPHOVER = 17,
1108 ABS_DOWNHOVER = 18,
1109 ABS_LEFTHOVER = 19,
1110 ABS_RIGHTHOVER = 20,
1113 enum SCROLLBARSTYLESTATES {
1114 SCRBS_NORMAL = 1,
1115 SCRBS_HOT = 2,
1116 SCRBS_PRESSED = 3,
1117 SCRBS_DISABLED = 4,
1118 SCRBS_HOVER = 5,
1121 enum SIZEBOXSTATES {
1122 SZB_RIGHTALIGN = 1,
1123 SZB_LEFTALIGN = 2,
1124 SZB_TOPRIGHTALIGN = 3,
1125 SZB_TOPLEFTALIGN = 4,
1126 SZB_HALFBOTTOMRIGHTALIGN = 5,
1127 SZB_HALFBOTTOMLEFTALIGN = 6,
1128 SZB_HALFTOPRIGHTALIGN = 7,
1129 SZB_HALFTOPLEFTALIGN = 8,
1132 /* SPINSTYLE class */
1133 #if defined(__GNUC__)
1134 #define VSCLASS_SPINSTYLE (const WCHAR []){'S','P','I','N','S','T','Y','L','E',0}
1135 #elif defined(_MSC_VER)
1136 #define VSCLASS_SPINSTYLE L"SPINSTYLE"
1137 #else
1138 static const WCHAR VSCLASS_SPINSTYLE [] = {'S','P','I','N','S','T','Y','L','E',0};
1139 #endif
1140 #if defined(__GNUC__)
1141 #define VSCLASS_SPIN (const WCHAR []){'S','P','I','N',0}
1142 #elif defined(_MSC_VER)
1143 #define VSCLASS_SPIN L"SPIN"
1144 #else
1145 static const WCHAR VSCLASS_SPIN [] = {'S','P','I','N',0};
1146 #endif
1148 enum SPINPARTS {
1149 SPNP_UP = 1,
1150 SPNP_DOWN = 2,
1151 SPNP_UPHORZ = 3,
1152 SPNP_DOWNHORZ = 4,
1155 #define SPINSTYLEPARTS SPINPARTS;
1157 enum UPSTATES {
1158 UPS_NORMAL = 1,
1159 UPS_HOT = 2,
1160 UPS_PRESSED = 3,
1161 UPS_DISABLED = 4,
1164 enum DOWNSTATES {
1165 DNS_NORMAL = 1,
1166 DNS_HOT = 2,
1167 DNS_PRESSED = 3,
1168 DNS_DISABLED = 4,
1171 enum UPHORZSTATES {
1172 UPHZS_NORMAL = 1,
1173 UPHZS_HOT = 2,
1174 UPHZS_PRESSED = 3,
1175 UPHZS_DISABLED = 4,
1178 enum DOWNHORZSTATES {
1179 DNHZS_NORMAL = 1,
1180 DNHZS_HOT = 2,
1181 DNHZS_PRESSED = 3,
1182 DNHZS_DISABLED = 4,
1185 /* STATUSSTYLE class */
1186 #if defined(__GNUC__)
1187 #define VSCLASS_STATUSSTYLE (const WCHAR []){'S','T','A','T','U','S','S','T','Y','L','E',0}
1188 #define VSCLASS_STATUS (const WCHAR []){'S','T','A','T','U','S',0}
1189 #elif defined(_MSC_VER)
1190 #define VSCLASS_STATUSSTYLE L"STATUSSTYLE"
1191 #define VSCLASS_STATUS L"STATUS"
1192 #else
1193 static const WCHAR VSCLASS_STATUSSTYLE [] = {'S','T','A','T','U','S','S','T','Y','L','E',0};
1194 static const WCHAR VSCLASS_STATUS [] = {'S','T','A','T','U','S',0};
1195 #endif
1197 enum STATUSPARTS {
1198 SP_PANE = 1,
1199 SP_GRIPPERPANE = 2,
1200 SP_GRIPPER = 3,
1203 #define STATUSSTYLEPARTS STATUSPARTS;
1205 /* TABSTYLE class */
1206 #if defined(__GNUC__)
1207 #define VSCLASS_TABSTYLE (const WCHAR []){'T','A','B','S','T','Y','L','E',0}
1208 #define VSCLASS_TAB (const WCHAR []){'T','A','B',0}
1209 #elif defined(_MSC_VER)
1210 #define VSCLASS_TABSTYLE L"TABSTYLE"
1211 #define VSCLASS_TAB L"TAB"
1212 #else
1213 static const WCHAR VSCLASS_TABSTYLE [] = {'T','A','B','S','T','Y','L','E',0};
1214 static const WCHAR VSCLASS_TAB [] = {'T','A','B',0};
1215 #endif
1217 enum TABPARTS {
1218 TABP_TABITEM = 1,
1219 TABP_TABITEMLEFTEDGE = 2,
1220 TABP_TABITEMRIGHTEDGE = 3,
1221 TABP_TABITEMBOTHEDGE = 4,
1222 TABP_TOPTABITEM = 5,
1223 TABP_TOPTABITEMLEFTEDGE = 6,
1224 TABP_TOPTABITEMRIGHTEDGE = 7,
1225 TABP_TOPTABITEMBOTHEDGE = 8,
1226 TABP_PANE = 9,
1227 TABP_BODY = 10,
1228 TABP_AEROWIZARDBODY = 11,
1231 #define TABSTYLEPARTS TABPARTS;
1233 enum TABITEMSTATES {
1234 TIS_NORMAL = 1,
1235 TIS_HOT = 2,
1236 TIS_SELECTED = 3,
1237 TIS_DISABLED = 4,
1238 TIS_FOCUSED = 5,
1241 enum TABITEMLEFTEDGESTATES {
1242 TILES_NORMAL = 1,
1243 TILES_HOT = 2,
1244 TILES_SELECTED = 3,
1245 TILES_DISABLED = 4,
1246 TILES_FOCUSED = 5,
1249 enum TABITEMRIGHTEDGESTATES {
1250 TIRES_NORMAL = 1,
1251 TIRES_HOT = 2,
1252 TIRES_SELECTED = 3,
1253 TIRES_DISABLED = 4,
1254 TIRES_FOCUSED = 5,
1257 enum TABITEMBOTHEDGESTATES {
1258 TIBES_NORMAL = 1,
1259 TIBES_HOT = 2,
1260 TIBES_SELECTED = 3,
1261 TIBES_DISABLED = 4,
1262 TIBES_FOCUSED = 5,
1265 enum TOPTABITEMSTATES {
1266 TTIS_NORMAL = 1,
1267 TTIS_HOT = 2,
1268 TTIS_SELECTED = 3,
1269 TTIS_DISABLED = 4,
1270 TTIS_FOCUSED = 5,
1273 enum TOPTABITEMLEFTEDGESTATES {
1274 TTILES_NORMAL = 1,
1275 TTILES_HOT = 2,
1276 TTILES_SELECTED = 3,
1277 TTILES_DISABLED = 4,
1278 TTILES_FOCUSED = 5,
1281 enum TOPTABITEMRIGHTEDGESTATES {
1282 TTIRES_NORMAL = 1,
1283 TTIRES_HOT = 2,
1284 TTIRES_SELECTED = 3,
1285 TTIRES_DISABLED = 4,
1286 TTIRES_FOCUSED = 5,
1289 enum TOPTABITEMBOTHEDGESTATES {
1290 TTIBES_NORMAL = 1,
1291 TTIBES_HOT = 2,
1292 TTIBES_SELECTED = 3,
1293 TTIBES_DISABLED = 4,
1294 TTIBES_FOCUSED = 5,
1297 /* TASKDIALOGSTYLE class */
1298 #if defined(__GNUC__)
1299 #define VSCLASS_TASKDIALOGSTYLE (const WCHAR []){'T','A','S','K','D','I','A','L','O','G','S','T','Y','L','E',0}
1300 #define VSCLASS_TASKDIALOG (const WCHAR []){'T','A','S','K','D','I','A','L','O','G',0}
1301 #elif defined(_MSC_VER)
1302 #define VSCLASS_TASKDIALOGSTYLE L"TASKDIALOGSTYLE"
1303 #define VSCLASS_TASKDIALOG L"TASKDIALOG"
1304 #else
1305 static const WCHAR VSCLASS_TASKDIALOGSTYLE[] = {'T','A','S','K','D','I','A','L','O','G','S','T','Y','L','E',0};
1306 static const WCHAR VSCLASS_TASKDIALOG [] = {'T','A','S','K','D','I','A','L','O','G',0};
1307 #endif
1309 enum TASKDIALOGPARTS {
1310 TDLG_PRIMARYPANEL = 1,
1311 TDLG_MAININSTRUCTIONPANE = 2,
1312 TDLG_MAINICON = 3,
1313 TDLG_CONTENTPANE = 4,
1314 TDLG_CONTENTICON = 5,
1315 TDLG_EXPANDEDCONTENT = 6,
1316 TDLG_COMMANDLINKPANE = 7,
1317 TDLG_SECONDARYPANEL = 8,
1318 TDLG_CONTROLPANE = 9,
1319 TDLG_BUTTONSECTION = 10,
1320 TDLG_BUTTONWRAPPER = 11,
1321 TDLG_EXPANDOTEXT = 12,
1322 TDLG_EXPANDOBUTTON = 13,
1323 TDLG_VERIFICATIONTEXT = 14,
1324 TDLG_FOOTNOTEPANE = 15,
1325 TDLG_FOOTNOTEAREA = 16,
1326 TDLG_FOOTNOTESEPARATOR = 17,
1327 TDLG_EXPANDEDFOOTERAREA = 18,
1328 TDLG_PROGRESSBAR = 19,
1329 TDLG_IMAGEALIGNMENT = 20,
1330 TDLG_RADIOBUTTONPANE = 21,
1333 #define TASKDIALOGSTYLEPARTS TASKDIALOGPARTS;
1335 enum CONTENTPANESTATES {
1336 TDLGCPS_STANDALONE = 1,
1339 enum EXPANDOBUTTONSTATES {
1340 TDLGEBS_NORMAL = 1,
1341 TDLGEBS_HOVER = 2,
1342 TDLGEBS_PRESSED = 3,
1343 TDLGEBS_EXPANDEDNORMAL = 4,
1344 TDLGEBS_EXPANDEDHOVER = 5,
1345 TDLGEBS_EXPANDEDPRESSED = 6,
1348 /* TEXTSTYLE class */
1349 #if defined(__GNUC__)
1350 #define VSCLASS_TEXTSTYLE (const WCHAR []){'T','E','X','T','S','T','Y','L','E',0}
1351 #elif defined(_MSC_VER)
1352 #define VSCLASS_TEXTSTYLE L"TEXTSTYLE"
1353 #else
1354 static const WCHAR VSCLASS_TEXTSTYLE [] = {'T','E','X','T','S','T','Y','L','E',0};
1355 #endif
1357 enum TEXTSTYLEPARTS {
1358 TEXT_MAININSTRUCTION = 1,
1359 TEXT_INSTRUCTION = 2,
1360 TEXT_BODYTITLE = 3,
1361 TEXT_BODYTEXT = 4,
1362 TEXT_SECONDARYTEXT = 5,
1363 TEXT_HYPERLINKTEXT = 6,
1364 TEXT_EXPANDED = 7,
1365 TEXT_LABEL = 8,
1366 TEXT_CONTROLLABEL = 9,
1369 enum HYPERLINKTEXTSTATES {
1370 TS_HYPERLINK_NORMAL = 1,
1371 TS_HYPERLINK_HOT = 2,
1372 TS_HYPERLINK_PRESSED = 3,
1373 TS_HYPERLINK_DISABLED = 4,
1376 enum CONTROLLABELSTATES {
1377 TS_CONTROLLABEL_NORMAL = 1,
1378 TS_CONTROLLABEL_DISABLED = 2,
1381 /* TOOLBARSTYLE class */
1382 #if defined(__GNUC__)
1383 #define VSCLASS_TOOLBARSTYLE (const WCHAR []){'T','O','O','L','B','A','R','S','T','Y','L','E',0}
1384 #define VSCLASS_TOOLBAR (const WCHAR []){'T','O','O','L','B','A','R',0}
1385 #elif defined(_MSC_VER)
1386 #define VSCLASS_TOOLBARSTYLE L"TOOLBARSTYLE"
1387 #define VSCLASS_TOOLBAR L"TOOLBAR"
1388 #else
1389 static const WCHAR VSCLASS_TOOLBARSTYLE [] = {'T','O','O','L','B','A','R','S','T','Y','L','E',0};
1390 static const WCHAR VSCLASS_TOOLBAR[] = {'T','O','O','L','B','A','R',0};
1391 #endif
1393 enum TOOLBARPARTS {
1394 TP_BUTTON = 1,
1395 TP_DROPDOWNBUTTON = 2,
1396 TP_SPLITBUTTON = 3,
1397 TP_SPLITBUTTONDROPDOWN = 4,
1398 TP_SEPARATOR = 5,
1399 TP_SEPARATORVERT = 6,
1402 #define TOOLBARSTYLEPARTS TOOLBARPARTS;
1404 enum TOOLBARSTYLESTATES {
1405 TS_NORMAL = 1,
1406 TS_HOT = 2,
1407 TS_PRESSED = 3,
1408 TS_DISABLED = 4,
1409 TS_CHECKED = 5,
1410 TS_HOTCHECKED = 6,
1411 TS_NEARHOT = 7,
1412 TS_OTHERSIDEHOT = 8,
1415 /* TOOLTIPSTYLE class */
1416 #if defined(__GNUC__)
1417 #define VSCLASS_TOOLTIPSTYLE (const WCHAR []){'T','O','O','L','T','I','P','S','T','Y','L','E',0}
1418 #define VSCLASS_TOOLTIP (const WCHAR []){'T','O','O','L','T','I','P',0}
1419 #elif defined(_MSC_VER)
1420 #define VSCLASS_TOOLTIPSTYLE L"TOOLTIPSTYLE"
1421 #define VSCLASS_TOOLTIP L"TOOLTIP"
1422 #else
1423 static const WCHAR VSCLASS_TOOLTIPSTYLE [] = {'T','O','O','L','T','I','P','S','T','Y','L','E',0};
1424 static const WCHAR VSCLASS_TOOLTIP[] = {'T','O','O','L','T','I','P',0};
1425 #endif
1427 enum TOOLTIPPARTS {
1428 TTP_STANDARD = 1,
1429 TTP_STANDARDTITLE = 2,
1430 TTP_BALLOON = 3,
1431 TTP_BALLOONTITLE = 4,
1432 TTP_CLOSE = 5,
1433 TTP_BALLOONSTEM = 6,
1436 #define TOOLTIPSTYLEPARTS TOOLTIPPARTS;
1438 enum CLOSESTATES {
1439 TTCS_NORMAL = 1,
1440 TTCS_HOT = 2,
1441 TTCS_PRESSED = 3,
1444 enum STANDARDSTATES {
1445 TTSS_NORMAL = 1,
1446 TTSS_LINK = 2,
1449 enum BALLOONSTATES {
1450 TTBS_NORMAL = 1,
1451 TTBS_LINK = 2,
1454 enum BALLOONSTEMSTATES {
1455 TTBSS_POINTINGUPLEFTWALL = 1,
1456 TTBSS_POINTINGUPCENTERED = 2,
1457 TTBSS_POINTINGUPRIGHTWALL = 3,
1458 TTBSS_POINTINGDOWNRIGHTWALL = 4,
1459 TTBSS_POINTINGDOWNCENTERED = 5,
1460 TTBSS_POINTINGDOWNLEFTWALL = 6,
1463 /* TRACKBARSTYLE class */
1464 #if defined(__GNUC__)
1465 #define VSCLASS_TRACKBARSTYLE (const WCHAR []){'T','R','A','C','K','B','A','R','S','T','Y','L','E',0}
1466 #define VSCLASS_TRACKBAR (const WCHAR []){'T','R','A','C','K','B','A','R',0}
1467 #elif defined(_MSC_VER)
1468 #define VSCLASS_TRACKBARSTYLE L"TRACKBARSTYLE"
1469 #define VSCLASS_TRACKBAR L"TRACKBAR"
1470 #else
1471 static const WCHAR VSCLASS_TRACKBARSTYLE [] = {'T','R','A','C','K','B','A','R','S','T','Y','L','E',0};
1472 static const WCHAR VSCLASS_TRACKBAR [] = {'T','R','A','C','K','B','A','R',0};
1473 #endif
1475 enum TRACKBARPARTS {
1476 TKP_TRACK = 1,
1477 TKP_TRACKVERT = 2,
1478 TKP_THUMB = 3,
1479 TKP_THUMBBOTTOM = 4,
1480 TKP_THUMBTOP = 5,
1481 TKP_THUMBVERT = 6,
1482 TKP_THUMBLEFT = 7,
1483 TKP_THUMBRIGHT = 8,
1484 TKP_TICS = 9,
1485 TKP_TICSVERT = 10,
1488 #define TRACKBARSTYLEPARTS TRACKBARPARTS;
1490 enum TRACKBARSTYLESTATES {
1491 TKS_NORMAL = 1,
1494 enum TRACKSTATES {
1495 TRS_NORMAL = 1,
1498 enum TRACKVERTSTATES {
1499 TRVS_NORMAL = 1,
1502 enum THUMBSTATES {
1503 TUS_NORMAL = 1,
1504 TUS_HOT = 2,
1505 TUS_PRESSED = 3,
1506 TUS_FOCUSED = 4,
1507 TUS_DISABLED = 5,
1510 enum THUMBBOTTOMSTATES {
1511 TUBS_NORMAL = 1,
1512 TUBS_HOT = 2,
1513 TUBS_PRESSED = 3,
1514 TUBS_FOCUSED = 4,
1515 TUBS_DISABLED = 5,
1518 enum THUMBTOPSTATES {
1519 TUTS_NORMAL = 1,
1520 TUTS_HOT = 2,
1521 TUTS_PRESSED = 3,
1522 TUTS_FOCUSED = 4,
1523 TUTS_DISABLED = 5,
1526 enum THUMBVERTSTATES {
1527 TUVS_NORMAL = 1,
1528 TUVS_HOT = 2,
1529 TUVS_PRESSED = 3,
1530 TUVS_FOCUSED = 4,
1531 TUVS_DISABLED = 5,
1534 enum THUMBLEFTSTATES {
1535 TUVLS_NORMAL = 1,
1536 TUVLS_HOT = 2,
1537 TUVLS_PRESSED = 3,
1538 TUVLS_FOCUSED = 4,
1539 TUVLS_DISABLED = 5,
1542 enum THUMBRIGHTSTATES {
1543 TUVRS_NORMAL = 1,
1544 TUVRS_HOT = 2,
1545 TUVRS_PRESSED = 3,
1546 TUVRS_FOCUSED = 4,
1547 TUVRS_DISABLED = 5,
1550 enum TICSSTATES {
1551 TSS_NORMAL = 1,
1554 enum TICSVERTSTATES {
1555 TSVS_NORMAL = 1,
1558 /* TREEVIEWSTYLE class */
1559 #if defined(__GNUC__)
1560 #define VSCLASS_TREEVIEWSTYLE (const WCHAR []){'T','R','E','E','V','I','E','W','S','T','Y','L','E',0}
1561 #define VSCLASS_TREEVIEW (const WCHAR []){'T','R','E','E','V','I','E','W',0}
1562 #elif defined(_MSC_VER)
1563 #define VSCLASS_TREEVIEWSTYLE L"TREEVIEWSTYLE"
1564 #define VSCLASS_TREEVIEW L"TREEVIEW"
1565 #else
1566 static const WCHAR VSCLASS_TREEVIEWSTYLE [] = {'T','R','E','E','V','I','E','W','S','T','Y','L','E',0};
1567 static const WCHAR VSCLASS_TREEVIEW [] = {'T','R','E','E','V','I','E','W',0};
1568 #endif
1570 enum TREEVIEWPARTS {
1571 TVP_TREEITEM = 1,
1572 TVP_GLYPH = 2,
1573 TVP_BRANCH = 3,
1574 TVP_HOTGLYPH = 4,
1577 #define TREEVIEWSTYLEPARTS TREEVIEWPARTS;
1579 enum TREEITEMSTATES {
1580 TREIS_NORMAL = 1,
1581 TREIS_HOT = 2,
1582 TREIS_SELECTED = 3,
1583 TREIS_DISABLED = 4,
1584 TREIS_SELECTEDNOTFOCUS = 5,
1585 TREIS_HOTSELECTED = 6,
1588 enum GLYPHSTATES {
1589 GLPS_CLOSED = 1,
1590 GLPS_OPENED = 2,
1593 enum HOTGLYPHSTATES {
1594 HGLPS_CLOSED = 1,
1595 HGLPS_OPENED = 2,
1598 /* WINDOWSTYLE class */
1599 #if defined(__GNUC__)
1600 #define VSCLASS_WINDOWSTYLE (const WCHAR []){'W','I','N','D','O','W','S','T','Y','L','E',0}
1601 #define VSCLASS_WINDOW (const WCHAR []){'W','I','N','D','O','W',0}
1602 #elif defined(_MSC_VER)
1603 #define VSCLASS_WINDOWSTYLE L"WINDOWSTYLE"
1604 #define VSCLASS_WINDOW L"WINDOW"
1605 #else
1606 static const WCHAR VSCLASS_WINDOWSTYLE [] = {'W','I','N','D','O','W','S','T','Y','L','E',0};
1607 static const WCHAR VSCLASS_WINDOW [] = {'W','I','N','D','O','W',0};
1608 #endif
1610 enum WINDOWPARTS {
1611 WP_CAPTION = 1,
1612 WP_SMALLCAPTION = 2,
1613 WP_MINCAPTION = 3,
1614 WP_SMALLMINCAPTION = 4,
1615 WP_MAXCAPTION = 5,
1616 WP_SMALLMAXCAPTION = 6,
1617 WP_FRAMELEFT = 7,
1618 WP_FRAMERIGHT = 8,
1619 WP_FRAMEBOTTOM = 9,
1620 WP_SMALLFRAMELEFT = 10,
1621 WP_SMALLFRAMERIGHT = 11,
1622 WP_SMALLFRAMEBOTTOM = 12,
1623 WP_SYSBUTTON = 13,
1624 WP_MDISYSBUTTON = 14,
1625 WP_MINBUTTON = 15,
1626 WP_MDIMINBUTTON = 16,
1627 WP_MAXBUTTON = 17,
1628 WP_CLOSEBUTTON = 18,
1629 WP_SMALLCLOSEBUTTON = 19,
1630 WP_MDICLOSEBUTTON = 20,
1631 WP_RESTOREBUTTON = 21,
1632 WP_MDIRESTOREBUTTON = 22,
1633 WP_HELPBUTTON = 23,
1634 WP_MDIHELPBUTTON = 24,
1635 WP_HORZSCROLL = 25,
1636 WP_HORZTHUMB = 26,
1637 WP_VERTSCROLL = 27,
1638 WP_VERTTHUMB = 28,
1639 WP_DIALOG = 29,
1640 WP_CAPTIONSIZINGTEMPLATE = 30,
1641 WP_SMALLCAPTIONSIZINGTEMPLATE = 31,
1642 WP_FRAMELEFTSIZINGTEMPLATE = 32,
1643 WP_SMALLFRAMELEFTSIZINGTEMPLATE = 33,
1644 WP_FRAMERIGHTSIZINGTEMPLATE = 34,
1645 WP_SMALLFRAMERIGHTSIZINGTEMPLATE = 35,
1646 WP_FRAMEBOTTOMSIZINGTEMPLATE = 36,
1647 WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE = 37,
1648 WP_FRAME = 38,
1651 #define WINDOWSTYLEPARTS WINDOWPARTS;
1653 enum FRAMESTATES {
1654 FS_ACTIVE = 1,
1655 FS_INACTIVE = 2,
1658 enum CAPTIONSTATES {
1659 CS_ACTIVE = 1,
1660 CS_INACTIVE = 2,
1661 CS_DISABLED = 3,
1664 enum MAXCAPTIONSTATES {
1665 MXCS_ACTIVE = 1,
1666 MXCS_INACTIVE = 2,
1667 MXCS_DISABLED = 3,
1670 enum MINCAPTIONSTATES {
1671 MNCS_ACTIVE = 1,
1672 MNCS_INACTIVE = 2,
1673 MNCS_DISABLED = 3,
1676 enum HORZSCROLLSTATES {
1677 HSS_NORMAL = 1,
1678 HSS_HOT = 2,
1679 HSS_PUSHED = 3,
1680 HSS_DISABLED = 4,
1683 enum HORZTHUMBSTATES {
1684 HTS_NORMAL = 1,
1685 HTS_HOT = 2,
1686 HTS_PUSHED = 3,
1687 HTS_DISABLED = 4,
1690 enum VERTSCROLLSTATES {
1691 VSS_NORMAL = 1,
1692 VSS_HOT = 2,
1693 VSS_PUSHED = 3,
1694 VSS_DISABLED = 4,
1697 enum VERTTHUMBSTATES {
1698 VTS_NORMAL = 1,
1699 VTS_HOT = 2,
1700 VTS_PUSHED = 3,
1701 VTS_DISABLED = 4,
1704 enum SYSBUTTONSTATES {
1705 SBS_NORMAL = 1,
1706 SBS_HOT = 2,
1707 SBS_PUSHED = 3,
1708 SBS_DISABLED = 4,
1711 enum MINBUTTONSTATES {
1712 MINBS_NORMAL = 1,
1713 MINBS_HOT = 2,
1714 MINBS_PUSHED = 3,
1715 MINBS_DISABLED = 4,
1718 enum RESTOREBUTTONSTATES {
1719 RBS_NORMAL = 1,
1720 RBS_HOT = 2,
1721 RBS_PUSHED = 3,
1722 RBS_DISABLED = 4,
1725 enum HELPBUTTONSTATES {
1726 HBS_NORMAL = 1,
1727 HBS_HOT = 2,
1728 HBS_PUSHED = 3,
1729 HBS_DISABLED = 4,
1732 enum CLOSEBUTTONSTATES {
1733 CBS_NORMAL = 1,
1734 CBS_HOT = 2,
1735 CBS_PUSHED = 3,
1736 CBS_DISABLED = 4,
1739 #endif /* __VSSTYLE_H__ */