ntdll: Change the virtual memory test to accept both READWRITE and WRITECOPY protections.
[wine.git] / include / vsstyle.h
blobce9f7c74f2f7988fa2fdd48142108713f2b5de67
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__
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
26 #define TMTVS_RESERVEDLOW 100000
27 #define TMTVS_RESERVEDHIGH 19999
29 /* AEROWIZARDSTYLE class */
30 #if defined(__GNUC__)
31 #define VSCLASS_AEROWIZARDSTYLE (const WCHAR []){'A','E','R','O','W','I','Z','A','R','D','S','T','Y','L','E',0}
32 #define VSCLASS_AEROWIZARD (const WCHAR []){'A','E','R','O','W','I','Z','A','R','D',0}
33 #elif defined(_MSC_VER)
34 #define VSCLASS_AEROWIZARDSTYLE L"AEROWIZARDSTYLE"
35 #define VSCLASS_AEROWIZARD L"AEROWIZARD"
36 #else
37 static const WCHAR VSCLASS_AEROWIZARDSTYLE[] = {'A','E','R','O','W','I','Z','A','R','D','S','T','Y','L','E',0};
38 static const WCHAR VSCLASS_AEROWIZARD [] = {'A','E','R','O','W','I','Z','A','R','D',0};
39 #endif
41 enum AEROWIZARDPARTS {
42 AW_TITLEBAR = 1,
43 AW_HEADERAREA = 2,
44 AW_CONTENTAREA = 3,
45 AW_COMMANDAREA = 4,
46 AW_BUTTON = 5,
49 #define AEROWIZARDSTYLEPARTS AEROWIZARDPARTS;
51 enum TITLEBARSTATES {
52 AW_S_TITLEBAR_ACTIVE = 1,
53 AW_S_TITLEBAR_INACTIVE = 2,
56 enum HEADERAREASTATES {
57 AW_S_HEADERAREA_NOMARGIN = 1,
60 enum CONTENTAREASTATES {
61 AW_S_CONTENTAREA_NOMARGIN = 1,
64 /* BUTTONSTYLE class */
65 #if defined(__GNUC__)
66 #define VSCLASS_BUTTONSTYLE (const WCHAR []){'B','U','T','T','O','N','S','T','Y','L','E',0}
67 #define VSCLASS_BUTTON (const WCHAR []){'B','U','T','T','O','N',0}
68 #elif defined(_MSC_VER)
69 #define VSCLASS_BUTTONSTYLE L"BUTTONSTYLE"
70 #define VSCLASS_BUTTON L"BUTTON"
71 #else
72 static const WCHAR VSCLASS_BUTTONSTYLE [] = {'B','U','T','T','O','N','S','T','Y','L','E',0};
73 static const WCHAR VSCLASS_BUTTON [] = {'B','U','T','T','O','N',0};
74 #endif
76 enum BUTTONPARTS {
77 BP_PUSHBUTTON = 1,
78 BP_RADIOBUTTON = 2,
79 BP_CHECKBOX = 3,
80 BP_GROUPBOX = 4,
81 BP_USERBUTTON = 5,
82 BP_COMMANDLINK = 6,
83 BP_COMMANDLINKGLYPH = 7,
86 #define BUTTONSTYLEPARTS BUTTONPARTS;
88 enum PUSHBUTTONSTATES {
89 PBS_NORMAL = 1,
90 PBS_HOT = 2,
91 PBS_PRESSED = 3,
92 PBS_DISABLED = 4,
93 PBS_DEFAULTED = 5,
94 PBS_DEFAULTED_ANIMATING = 6,
97 enum RADIOBUTTONSTATES {
98 RBS_UNCHECKEDNORMAL = 1,
99 RBS_UNCHECKEDHOT = 2,
100 RBS_UNCHECKEDPRESSED = 3,
101 RBS_UNCHECKEDDISABLED = 4,
102 RBS_CHECKEDNORMAL = 5,
103 RBS_CHECKEDHOT = 6,
104 RBS_CHECKEDPRESSED = 7,
105 RBS_CHECKEDDISABLED = 8,
108 enum CHECKBOXSTATES {
109 CBS_UNCHECKEDNORMAL = 1,
110 CBS_UNCHECKEDHOT = 2,
111 CBS_UNCHECKEDPRESSED = 3,
112 CBS_UNCHECKEDDISABLED = 4,
113 CBS_CHECKEDNORMAL = 5,
114 CBS_CHECKEDHOT = 6,
115 CBS_CHECKEDPRESSED = 7,
116 CBS_CHECKEDDISABLED = 8,
117 CBS_MIXEDNORMAL = 9,
118 CBS_MIXEDHOT = 10,
119 CBS_MIXEDPRESSED = 11,
120 CBS_MIXEDDISABLED = 12,
121 CBS_IMPLICITNORMAL = 13,
122 CBS_IMPLICITHOT = 14,
123 CBS_IMPLICITPRESSED = 15,
124 CBS_IMPLICITDISABLED = 16,
125 CBS_EXCLUDEDNORMAL = 17,
126 CBS_EXCLUDEDHOT = 18,
127 CBS_EXCLUDEDPRESSED = 19,
128 CBS_EXCLUDEDDISABLED = 20,
131 enum GROUPBOXSTATES {
132 GBS_NORMAL = 1,
133 GBS_DISABLED = 2,
136 enum COMMANDLINKSTATES {
137 CMDLS_NORMAL = 1,
138 CMDLS_HOT = 2,
139 CMDLS_PRESSED = 3,
140 CMDLS_DISABLED = 4,
141 CMDLS_DEFAULTED = 5,
142 CMDLS_DEFAULTED_ANIMATING = 6,
145 enum COMMANDLINKGLYPHSTATES {
146 CMDLGS_NORMAL = 1,
147 CMDLGS_HOT = 2,
148 CMDLGS_PRESSED = 3,
149 CMDLGS_DISABLED = 4,
150 CMDLGS_DEFAULTED = 5,
153 /* COMBOBOXSTYLE class */
154 #if defined(__GNUC__)
155 #define VSCLASS_COMBOBOXSTYLE (const WCHAR []){'C','O','M','B','O','B','O','X','S','T','Y','L','E',0}
156 #define VSCLASS_COMBOBOX (const WCHAR []){'C','O','M','B','O','B','O','X',0}
157 #elif defined(_MSC_VER)
158 #define VSCLASS_COMBOBOXSTYLE L"COMBOBOXSTYLE"
159 #define VSCLASS_COMBOBOX L"COMBOBOX"
160 #else
161 static const WCHAR VSCLASS_COMBOBOXSTYLE [] = {'C','O','M','B','O','B','O','X','S','T','Y','L','E',0};
162 static const WCHAR VSCLASS_COMBOBOX [] = {'C','O','M','B','O','B','O','X',0};
163 #endif
165 enum COMBOBOXPARTS {
166 CP_DROPDOWNBUTTON = 1,
167 CP_BACKGROUND = 2,
168 CP_TRANSPARENTBACKGROUND = 3,
169 CP_BORDER = 4,
170 CP_READONLY = 5,
171 CP_DROPDOWNBUTTONRIGHT = 6,
172 CP_DROPDOWNBUTTONLEFT = 7,
173 CP_CUEBANNER = 8,
176 #define COMBOBOXSTYLEPARTS COMBOBOXPARTS;
178 enum COMBOBOXSTYLESTATES {
179 CBXS_NORMAL = 1,
180 CBXS_HOT = 2,
181 CBXS_PRESSED = 3,
182 CBXS_DISABLED = 4,
185 enum DROPDOWNBUTTONRIGHTSTATES {
186 CBXSR_NORMAL = 1,
187 CBXSR_HOT = 2,
188 CBXSR_PRESSED = 3,
189 CBXSR_DISABLED = 4,
192 enum DROPDOWNBUTTONLEFTSTATES {
193 CBXSL_NORMAL = 1,
194 CBXSL_HOT = 2,
195 CBXSL_PRESSED = 3,
196 CBXSL_DISABLED = 4,
199 enum TRANSPARENTBACKGROUNDSTATES {
200 CBTBS_NORMAL = 1,
201 CBTBS_HOT = 2,
202 CBTBS_DISABLED = 3,
203 CBTBS_FOCUSED = 4,
206 enum BORDERSTATES {
207 CBB_NORMAL = 1,
208 CBB_HOT = 2,
209 CBB_FOCUSED = 3,
210 CBB_DISABLED = 4,
213 enum READONLYSTATES {
214 CBRO_NORMAL = 1,
215 CBRO_HOT = 2,
216 CBRO_PRESSED = 3,
217 CBRO_DISABLED = 4,
220 enum CUEBANNERSTATES {
221 CBCB_NORMAL = 1,
222 CBCB_HOT = 2,
223 CBCB_PRESSED = 3,
224 CBCB_DISABLED = 4,
227 /* COMMUNICATIONSSTYLE class */
228 #if defined(__GNUC__)
229 #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}
230 #define VSCLASS_COMMUNICATIONS (const WCHAR []){'C','O','M','M','U','N','I','C','A','T','I','O','N','S',0}
231 #elif defined(_MSC_VER)
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(__GNUC__)
253 #define VSCLASS_CONTROLPANELSTYLE (const WCHAR []){'C','O','N','T','R','O','L','P','A','N','E','L','S','T','Y','L','E',0}
254 #define VSCLASS_CONTROLPANEL (const WCHAR []){'C','O','N','T','R','O','L','P','A','N','E','L',0}
255 #elif defined(_MSC_VER)
256 #define VSCLASS_CONTROLPANELSTYLE L"CONTROLPANELSTYLE"
257 #define VSCLASS_CONTROLPANEL L"CONTROLPANEL"
258 #else
259 static const WCHAR VSCLASS_CONTROLPANELSTYLE [] = {'C','O','N','T','R','O','L','P','A','N','E','L','S','T','Y','L','E',0};
260 static const WCHAR VSCLASS_CONTROLPANEL [] = {'C','O','N','T','R','O','L','P','A','N','E','L',0};
261 #endif
263 enum CONTROLPANELPARTS {
264 CPANEL_NAVIGATIONPANE = 1,
265 CPANEL_CONTENTPANE = 2,
266 CPANEL_NAVIGATIONPANELABEL = 3,
267 CPANEL_CONTENTPANELABEL = 4,
268 CPANEL_TITLE = 5,
269 CPANEL_BODYTEXT = 6,
270 CPANEL_HELPLINK = 7,
271 CPANEL_TASKLINK = 8,
272 CPANEL_GROUPTEXT = 9,
273 CPANEL_CONTENTLINK = 10,
274 CPANEL_SECTIONTITLELINK = 11,
275 CPANEL_LARGECOMMANDAREA = 12,
276 CPANEL_SMALLCOMMANDAREA = 13,
277 CPANEL_BUTTON = 14,
278 CPANEL_MESSAGETEXT = 15,
279 CPANEL_NAVIGATIONPANELINE = 16,
280 CPANEL_CONTENTPANELINE = 17,
281 CPANEL_BANNERAREA = 18,
282 CPANEL_BODYTITLE = 19,
285 #define CONTROLPANELSTYLEPARTS CONTROLPANELPARTS;
287 enum HELPLINKSTATES {
288 CPHL_NORMAL = 1,
289 CPHL_HOT = 2,
290 CPHL_PRESSED = 3,
291 CPHL_DISABLED = 4,
294 enum TASKLINKSTATES {
295 CPTL_NORMAL = 1,
296 CPTL_HOT = 2,
297 CPTL_PRESSED = 3,
298 CPTL_DISABLED = 4,
299 CPTL_PAGE = 5,
302 enum CONTENTLINKSTATES {
303 CPCL_NORMAL = 1,
304 CPCL_HOT = 2,
305 CPCL_PRESSED = 3,
306 CPCL_DISABLED = 4,
309 enum SECTIONTITLELINKSTATES {
310 CPSTL_NORMAL = 1,
311 CPSTL_HOT = 2,
314 /* DATEPICKERSTYLE class */
315 #if defined(__GNUC__)
316 #define VSCLASS_DATEPICKERSTYLE (const WCHAR []){'D','A','T','E','P','I','C','K','E','R','S','T','Y','L','E',0}
317 #define VSCLASS_DATEPICKER (const WCHAR []){'D','A','T','E','P','I','C','K','E','R',0}
318 #elif defined(_MSC_VER)
319 #define VSCLASS_DATEPICKERSTYLE L"DATEPICKERSTYLE"
320 #define VSCLASS_DATEPICKER L"DATEPICKER"
321 #else
322 static const WCHAR VSCLASS_DATEPICKERSTYLE[] = {'D','A','T','E','P','I','C','K','E','R','S','T','Y','L','E',0};
323 static const WCHAR VSCLASS_DATEPICKER [] = {'D','A','T','E','P','I','C','K','E','R',0};
324 #endif
326 enum DATEPICKERPARTS {
327 DP_DATETEXT = 1,
328 DP_DATEBORDER = 2,
329 DP_SHOWCALENDARBUTTONRIGHT = 3,
332 #define DATEPICKERSTYLEPARTS DATEPICKERPARTS;
334 enum DATETEXTSTATES {
335 DPDT_NORMAL = 1,
336 DPDT_DISABLED = 2,
337 DPDT_SELECTED = 3,
340 enum DATEBORDERSTATES {
341 DPDB_NORMAL = 1,
342 DPDB_HOT = 2,
343 DPDB_FOCUSED = 3,
344 DPDB_DISABLED = 4,
347 enum SHOWCALENDARBUTTONRIGHTSTATES {
348 DPSCBR_NORMAL = 1,
349 DPSCBR_HOT = 2,
350 DPSCBR_PRESSED = 3,
351 DPSCBR_DISABLED = 4,
354 /* DRAGDROPSTYLE class */
355 #if defined(__GNUC__)
356 #define VSCLASS_DRAGDROPSTYLE (const WCHAR []){'D','R','A','G','D','R','O','P','S','T','Y','L','E',0}
357 #define VSCLASS_DRAGDROP (const WCHAR []){'D','R','A','G','D','R','O','P',0}
358 #elif defined(_MSC_VER)
359 #define VSCLASS_DRAGDROPSTYLE L"DRAGDROPSTYLE"
360 #define VSCLASS_DRAGDROP L"DRAGDROP"
361 #else
362 static const WCHAR VSCLASS_DRAGDROPSTYLE [] = {'D','R','A','G','D','R','O','P','S','T','Y','L','E',0};
363 static const WCHAR VSCLASS_DRAGDROP [] = {'D','R','A','G','D','R','O','P',0};
364 #endif
366 enum DRAGDROPPARTS {
367 DD_COPY = 1,
368 DD_MOVE = 2,
369 DD_UPDATEMETADATA = 3,
370 DD_CREATELINK = 4,
371 DD_WARNING = 5,
372 DD_NONE = 6,
373 DD_IMAGEBG = 7,
374 DD_TEXTBG = 8,
377 #define DRAGDROPSTYLEPARTS DRAGDROPPARTS;
379 enum COPYSTATES {
380 DDCOPY_HIGHLIGHT = 1,
381 DDCOPY_NOHIGHLIGHT = 2,
384 enum MOVESTATES {
385 DDMOVE_HIGHLIGHT = 1,
386 DDMOVE_NOHIGHLIGHT = 2,
389 enum UPDATEMETADATASTATES {
390 DDUPDATEMETADATA_HIGHLIGHT = 1,
391 DDUPDATEMETADATA_NOHIGHLIGHT = 2,
394 enum CREATELINKSTATES {
395 DDCREATELINK_HIGHLIGHT = 1,
396 DDCREATELINK_NOHIGHLIGHT = 2,
399 enum WARNINGSTATES {
400 DDWARNING_HIGHLIGHT = 1,
401 DDWARNING_NOHIGHLIGHT = 2,
404 enum NONESTATES {
405 DDNONE_HIGHLIGHT = 1,
406 DDNONE_NOHIGHLIGHT = 2,
409 /* EDITSTYLE class */
410 #if defined(__GNUC__)
411 #define VSCLASS_EDITSTYLE (const WCHAR []){'E','D','I','T','S','T','Y','L','E',0}
412 #define VSCLASS_EDIT (const WCHAR []){'E','D','I','T',0}
413 #elif defined(_MSC_VER)
414 #define VSCLASS_EDITSTYLE L"EDITSTYLE"
415 #define VSCLASS_EDIT L"EDIT"
416 #else
417 static const WCHAR VSCLASS_EDITSTYLE [] = {'E','D','I','T','S','T','Y','L','E',0};
418 static const WCHAR VSCLASS_EDIT [] = {'E','D','I','T',0};
419 #endif
421 enum EDITPARTS {
422 EP_EDITTEXT = 1,
423 EP_CARET = 2,
424 EP_BACKGROUND = 3,
425 EP_PASSWORD = 4,
426 EP_BACKGROUNDWITHBORDER = 5,
427 EP_EDITBORDER_NOSCROLL = 6,
428 EP_EDITBORDER_HSCROLL = 7,
429 EP_EDITBORDER_VSCROLL = 8,
430 EP_EDITBORDER_HVSCROLL = 9,
433 #define EDITSTYLEPARTS EDITPARTS;
435 enum EDITTEXTSTATES {
436 ETS_NORMAL = 1,
437 ETS_HOT = 2,
438 ETS_SELECTED = 3,
439 ETS_DISABLED = 4,
440 ETS_FOCUSED = 5,
441 ETS_READONLY = 6,
442 ETS_ASSIST = 7,
443 ETS_CUEBANNER = 8,
446 enum BACKGROUNDSTATES {
447 EBS_NORMAL = 1,
448 EBS_HOT = 2,
449 EBS_DISABLED = 3,
450 EBS_FOCUSED = 4,
451 EBS_READONLY = 5,
452 EBS_ASSIST = 6,
455 enum BACKGROUNDWITHBORDERSTATES {
456 EBWBS_NORMAL = 1,
457 EBWBS_HOT = 2,
458 EBWBS_DISABLED = 3,
459 EBWBS_FOCUSED = 4,
462 enum EDITBORDER_NOSCROLLSTATES {
463 EPSN_NORMAL = 1,
464 EPSN_HOT = 2,
465 EPSN_FOCUSED = 3,
466 EPSN_DISABLED = 4,
469 enum EDITBORDER_HSCROLLSTATES {
470 EPSH_NORMAL = 1,
471 EPSH_HOT = 2,
472 EPSH_FOCUSED = 3,
473 EPSH_DISABLED = 4,
476 enum EDITBORDER_VSCROLLSTATES {
477 EPSV_NORMAL = 1,
478 EPSV_HOT = 2,
479 EPSV_FOCUSED = 3,
480 EPSV_DISABLED = 4,
483 enum EDITBORDER_HVSCROLLSTATES {
484 EPSHV_NORMAL = 1,
485 EPSHV_HOT = 2,
486 EPSHV_FOCUSED = 3,
487 EPSHV_DISABLED = 4,
490 /* EXPLORERBARSTYLE class */
491 #if defined(__GNUC__)
492 #define VSCLASS_EXPLORERBARSTYLE (const WCHAR []){'E','X','P','L','O','R','E','R','B','A','R','S','T','Y','L','E',0}
493 #define VSCLASS_EXPLORERBAR (const WCHAR []){'E','X','P','L','O','R','E','R','B','A','R',0}
494 #elif defined(_MSC_VER)
495 #define VSCLASS_EXPLORERBARSTYLE L"EXPLORERBARSTYLE"
496 #define VSCLASS_EXPLORERBAR L"EXPLORERBAR"
497 #else
498 static const WCHAR VSCLASS_EXPLORERBARSTYLE [] = {'E','X','P','L','O','R','E','R','B','A','R','S','T','Y','L','E',0};
499 static const WCHAR VSCLASS_EXPLORERBAR [] = {'E','X','P','L','O','R','E','R','B','A','R',0};
500 #endif
502 enum EXPLORERBARPARTS {
503 EBP_HEADERBACKGROUND = 1,
504 EBP_HEADERCLOSE = 2,
505 EBP_HEADERPIN = 3,
506 EBP_IEBARMENU = 4,
507 EBP_NORMALGROUPBACKGROUND = 5,
508 EBP_NORMALGROUPCOLLAPSE = 6,
509 EBP_NORMALGROUPEXPAND = 7,
510 EBP_NORMALGROUPHEAD = 8,
511 EBP_SPECIALGROUPBACKGROUND = 9,
512 EBP_SPECIALGROUPCOLLAPSE = 10,
513 EBP_SPECIALGROUPEXPAND = 11,
514 EBP_SPECIALGROUPHEAD = 12,
517 #define EXPLORERBARSTYLEPARTS EXPLORERBARPARTS;
519 enum HEADERCLOSESTATES {
520 EBHC_NORMAL = 1,
521 EBHC_HOT = 2,
522 EBHC_PRESSED = 3,
525 enum HEADERPINSTATES {
526 EBHP_NORMAL = 1,
527 EBHP_HOT = 2,
528 EBHP_PRESSED = 3,
529 EBHP_SELECTEDNORMAL = 4,
530 EBHP_SELECTEDHOT = 5,
531 EBHP_SELECTEDPRESSED = 6,
534 enum IEBARMENUSTATES {
535 EBM_NORMAL = 1,
536 EBM_HOT = 2,
537 EBM_PRESSED = 3,
540 enum NORMALGROUPCOLLAPSESTATES {
541 EBNGC_NORMAL = 1,
542 EBNGC_HOT = 2,
543 EBNGC_PRESSED = 3,
546 enum NORMALGROUPEXPANDSTATES {
547 EBNGE_NORMAL = 1,
548 EBNGE_HOT = 2,
549 EBNGE_PRESSED = 3,
552 enum SPECIALGROUPCOLLAPSESTATES {
553 EBSGC_NORMAL = 1,
554 EBSGC_HOT = 2,
555 EBSGC_PRESSED = 3,
558 enum SPECIALGROUPEXPANDSTATES {
559 EBSGE_NORMAL = 1,
560 EBSGE_HOT = 2,
561 EBSGE_PRESSED = 3,
564 /* FLYOUTSTYLE class */
565 #if defined(__GNUC__)
566 #define VSCLASS_FLYOUTSTYLE (const WCHAR []){'F','L','Y','O','U','T','S','T','Y','L','E',0}
567 #define VSCLASS_FLYOUT (const WCHAR []){'F','L','Y','O','U','T',0}
568 #elif defined(_MSC_VER)
569 #define VSCLASS_FLYOUTSTYLE L"FLYOUTSTYLE"
570 #define VSCLASS_FLYOUT L"FLYOUT"
571 #else
572 static const WCHAR VSCLASS_FLYOUTSTYLE [] = {'F','L','Y','O','U','T','S','T','Y','L','E',0};
573 static const WCHAR VSCLASS_FLYOUT [] = {'F','L','Y','O','U','T',0};
574 #endif
576 enum FLYOUTPARTS {
577 FLYOUT_HEADER = 1,
578 FLYOUT_BODY = 2,
579 FLYOUT_LABEL = 3,
580 FLYOUT_LINK = 4,
581 FLYOUT_DIVIDER = 5,
582 FLYOUT_WINDOW = 6,
583 FLYOUT_LINKAREA = 7,
584 FLYOUT_LINKHEADER = 8,
587 #define FLYOUTSTYLEPARTS FLYOUTPARTS;
589 enum LABELSTATES {
590 FLS_NORMAL = 1,
591 FLS_SELECTED = 2,
592 FLS_EMPHASIZED = 3,
593 FLS_DISABLED = 4,
596 enum LINKSTATES {
597 FLYOUTLINK_NORMAL = 1,
598 FLYOUTLINK_HOVER = 2,
601 enum BODYSTATES {
602 FBS_NORMAL = 1,
603 FBS_EMPHASIZED = 2,
606 enum LINKHEADERSTATES {
607 FLH_NORMAL = 1,
608 FLH_HOVER = 2,
611 /* HEADERSTYLE class */
612 #if defined(__GNUC__)
613 #define VSCLASS_HEADERSTYLE (const WCHAR []){'H','E','A','D','E','R','S','T','Y','L','E',0}
614 #define VSCLASS_HEADER (const WCHAR []){'H','E','A','D','E','R',0}
615 #elif defined(_MSC_VER)
616 #define VSCLASS_HEADERSTYLE L"HEADERSTYLE"
617 #define VSCLASS_HEADER L"HEADER"
618 #else
619 static const WCHAR VSCLASS_HEADERSTYLE [] = {'H','E','A','D','E','R','S','T','Y','L','E',0};
620 static const WCHAR VSCLASS_HEADER [] = {'H','E','A','D','E','R',0};
621 #endif
623 enum HEADERPARTS {
624 HP_HEADERITEM = 1,
625 HP_HEADERITEMLEFT = 2,
626 HP_HEADERITEMRIGHT = 3,
627 HP_HEADERSORTARROW = 4,
628 HP_HEADERDROPDOWN = 5,
629 HP_HEADERDROPDOWNFILTER = 6,
630 HP_HEADEROVERFLOW = 7,
633 #define HEADERSTYLEPARTS HEADERPARTS;
635 enum HEADERSTYLESTATES {
636 HBG_DETAILS = 1,
637 HBG_ICON = 2,
640 enum HEADERITEMSTATES {
641 HIS_NORMAL = 1,
642 HIS_HOT = 2,
643 HIS_PRESSED = 3,
644 HIS_SORTEDNORMAL = 4,
645 HIS_SORTEDHOT = 5,
646 HIS_SORTEDPRESSED = 6,
647 HIS_ICONNORMAL = 7,
648 HIS_ICONHOT = 8,
649 HIS_ICONPRESSED = 9,
650 HIS_ICONSORTEDNORMAL = 10,
651 HIS_ICONSORTEDHOT = 11,
652 HIS_ICONSORTEDPRESSED = 12,
655 enum HEADERITEMLEFTSTATES {
656 HILS_NORMAL = 1,
657 HILS_HOT = 2,
658 HILS_PRESSED = 3,
661 enum HEADERITEMRIGHTSTATES {
662 HIRS_NORMAL = 1,
663 HIRS_HOT = 2,
664 HIRS_PRESSED = 3,
667 enum HEADERSORTARROWSTATES {
668 HSAS_SORTEDUP = 1,
669 HSAS_SORTEDDOWN = 2,
672 enum HEADERDROPDOWNSTATES {
673 HDDS_NORMAL = 1,
674 HDDS_SOFTHOT = 2,
675 HDDS_HOT = 3,
678 enum HEADERDROPDOWNFILTERSTATES {
679 HDDFS_NORMAL = 1,
680 HDDFS_SOFTHOT = 2,
681 HDDFS_HOT = 3,
684 enum HEADEROVERFLOWSTATES {
685 HOFS_NORMAL = 1,
686 HOFS_HOT = 2,
689 /* LISTBOXSTYLE class */
690 #if defined(__GNUC__)
691 #define VSCLASS_LISTBOXSTYLE (const WCHAR []){'L','I','S','T','B','O','X','S','T','Y','L','E',0}
692 #define VSCLASS_LISTBOX (const WCHAR []){'L','I','S','T','B','O','X',0}
693 #elif defined(_MSC_VER)
694 #define VSCLASS_LISTBOXSTYLE L"LISTBOXSTYLE"
695 #define VSCLASS_LISTBOX L"LISTBOX"
696 #else
697 static const WCHAR VSCLASS_LISTBOXSTYLE [] = {'L','I','S','T','B','O','X','S','T','Y','L','E',0};
698 static const WCHAR VSCLASS_LISTBOX[] = {'L','I','S','T','B','O','X',0};
699 #endif
701 enum LISTBOXPARTS {
702 LBCP_BORDER_HSCROLL = 1,
703 LBCP_BORDER_HVSCROLL = 2,
704 LBCP_BORDER_NOSCROLL = 3,
705 LBCP_BORDER_VSCROLL = 4,
706 LBCP_ITEM = 5,
709 #define LISTBOXSTYLEPARTS LISTBOXPARTS;
711 enum BORDER_HSCROLLSTATES {
712 LBPSH_NORMAL = 1,
713 LBPSH_FOCUSED = 2,
714 LBPSH_HOT = 3,
715 LBPSH_DISABLED = 4,
718 enum BORDER_HVSCROLLSTATES {
719 LBPSHV_NORMAL = 1,
720 LBPSHV_FOCUSED = 2,
721 LBPSHV_HOT = 3,
722 LBPSHV_DISABLED = 4,
725 enum BORDER_NOSCROLLSTATES {
726 LBPSN_NORMAL = 1,
727 LBPSN_FOCUSED = 2,
728 LBPSN_HOT = 3,
729 LBPSN_DISABLED = 4,
732 enum BORDER_VSCROLLSTATES {
733 LBPSV_NORMAL = 1,
734 LBPSV_FOCUSED = 2,
735 LBPSV_HOT = 3,
736 LBPSV_DISABLED = 4,
739 enum ITEMSTATES {
740 LBPSI_HOT = 1,
741 LBPSI_HOTSELECTED = 2,
742 LBPSI_SELECTED = 3,
743 LBPSI_SELECTEDNOTFOCUS = 4,
746 /* LISTVIEWSTYLE class */
747 #if defined(__GNUC__)
748 #define VSCLASS_LISTVIEWSTYLE (const WCHAR []){'L','I','S','T','V','I','E','W','S','T','Y','L','E',0}
749 #define VSCLASS_LISTVIEW (const WCHAR []){'L','I','S','T','V','I','E','W',0}
750 #elif defined(_MSC_VER)
751 #define VSCLASS_LISTVIEWSTYLE L"LISTVIEWSTYLE"
752 #define VSCLASS_LISTVIEW L"LISTVIEW"
753 #else
754 static const WCHAR VSCLASS_LISTVIEWSTYLE [] = {'L','I','S','T','V','I','E','W','S','T','Y','L','E',0};
755 static const WCHAR VSCLASS_LISTVIEW [] = {'L','I','S','T','V','I','E','W',0};
756 #endif
758 enum LISTVIEWPARTS {
759 LVP_LISTITEM = 1,
760 LVP_LISTGROUP = 2,
761 LVP_LISTDETAIL = 3,
762 LVP_LISTSORTEDDETAIL = 4,
763 LVP_EMPTYTEXT = 5,
764 LVP_GROUPHEADER = 6,
765 LVP_GROUPHEADERLINE = 7,
766 LVP_EXPANDBUTTON = 8,
767 LVP_COLLAPSEBUTTON = 9,
768 LVP_COLUMNDETAIL = 10,
771 #define LISTVIEWSTYLEPARTS LISTVIEWPARTS;
773 enum LISTITEMSTATES {
774 LISS_NORMAL = 1,
775 LISS_HOT = 2,
776 LISS_SELECTED = 3,
777 LISS_DISABLED = 4,
778 LISS_SELECTEDNOTFOCUS = 5,
779 LISS_HOTSELECTED = 6,
782 enum GROUPHEADERSTATES {
783 LVGH_OPEN = 1,
784 LVGH_OPENHOT = 2,
785 LVGH_OPENSELECTED = 3,
786 LVGH_OPENSELECTEDHOT = 4,
787 LVGH_OPENSELECTEDNOTFOCUSED = 5,
788 LVGH_OPENSELECTEDNOTFOCUSEDHOT = 6,
789 LVGH_OPENMIXEDSELECTION = 7,
790 LVGH_OPENMIXEDSELECTIONHOT = 8,
791 LVGH_CLOSE = 9,
792 LVGH_CLOSEHOT = 10,
793 LVGH_CLOSESELECTED = 11,
794 LVGH_CLOSESELECTEDHOT = 12,
795 LVGH_CLOSESELECTEDNOTFOCUSED = 13,
796 LVGH_CLOSESELECTEDNOTFOCUSEDHOT = 14,
797 LVGH_CLOSEMIXEDSELECTION = 15,
798 LVGH_CLOSEMIXEDSELECTIONHOT = 16,
801 enum GROUPHEADERLINESTATES {
802 LVGHL_OPEN = 1,
803 LVGHL_OPENHOT = 2,
804 LVGHL_OPENSELECTED = 3,
805 LVGHL_OPENSELECTEDHOT = 4,
806 LVGHL_OPENSELECTEDNOTFOCUSED = 5,
807 LVGHL_OPENSELECTEDNOTFOCUSEDHOT = 6,
808 LVGHL_OPENMIXEDSELECTION = 7,
809 LVGHL_OPENMIXEDSELECTIONHOT = 8,
810 LVGHL_CLOSE = 9,
811 LVGHL_CLOSEHOT = 10,
812 LVGHL_CLOSESELECTED = 11,
813 LVGHL_CLOSESELECTEDHOT = 12,
814 LVGHL_CLOSESELECTEDNOTFOCUSED = 13,
815 LVGHL_CLOSESELECTEDNOTFOCUSEDHOT = 14,
816 LVGHL_CLOSEMIXEDSELECTION = 15,
817 LVGHL_CLOSEMIXEDSELECTIONHOT = 16,
820 enum EXPANDBUTTONSTATES {
821 LVEB_NORMAL = 1,
822 LVEB_HOVER = 2,
823 LVEB_PUSHED = 3,
826 enum COLLAPSEBUTTONSTATES {
827 LVCB_NORMAL = 1,
828 LVCB_HOVER = 2,
829 LVCB_PUSHED = 3,
832 /* MENUSTYLE class */
833 #if defined(__GNUC__)
834 #define VSCLASS_MENUSTYLE (const WCHAR []){'M','E','N','U','S','T','Y','L','E',0}
835 #define VSCLASS_MENU (const WCHAR []){'M','E','N','U',0}
836 #elif defined(_MSC_VER)
837 #define VSCLASS_MENUSTYLE L"MENUSTYLE"
838 #define VSCLASS_MENU L"MENU"
839 #else
840 static const WCHAR VSCLASS_MENUSTYLE [] = {'M','E','N','U','S','T','Y','L','E',0};
841 static const WCHAR VSCLASS_MENU [] = {'M','E','N','U',0};
842 #endif
844 enum MENUPARTS {
845 MENU_MENUITEM_TMSCHEMA = 1,
846 MENU_MENUDROPDOWN_TMSCHEMA = 2,
847 MENU_MENUBARITEM_TMSCHEMA = 3,
848 MENU_MENUBARDROPDOWN_TMSCHEMA = 4,
849 MENU_CHEVRON_TMSCHEMA = 5,
850 MENU_SEPARATOR_TMSCHEMA = 6,
851 MENU_BARBACKGROUND = 7,
852 MENU_BARITEM = 8,
853 MENU_POPUPBACKGROUND = 9,
854 MENU_POPUPBORDERS = 10,
855 MENU_POPUPCHECK = 11,
856 MENU_POPUPCHECKBACKGROUND = 12,
857 MENU_POPUPGUTTER = 13,
858 MENU_POPUPITEM = 14,
859 MENU_POPUPSEPARATOR = 15,
860 MENU_POPUPSUBMENU = 16,
861 MENU_SYSTEMCLOSE = 17,
862 MENU_SYSTEMMAXIMIZE = 18,
863 MENU_SYSTEMMINIMIZE = 19,
864 MENU_SYSTEMRESTORE = 20,
867 #define MENUSTYLEPARTS MENUPARTS;
869 enum BARBACKGROUNDSTATES {
870 MB_ACTIVE = 1,
871 MB_INACTIVE = 2,
874 enum BARITEMSTATES {
875 MBI_NORMAL = 1,
876 MBI_HOT = 2,
877 MBI_PUSHED = 3,
878 MBI_DISABLED = 4,
879 MBI_DISABLEDHOT = 5,
880 MBI_DISABLEDPUSHED = 6,
883 enum POPUPCHECKSTATES {
884 MC_CHECKMARKNORMAL = 1,
885 MC_CHECKMARKDISABLED = 2,
886 MC_BULLETNORMAL = 3,
887 MC_BULLETDISABLED = 4,
890 enum POPUPCHECKBACKGROUNDSTATES {
891 MCB_DISABLED = 1,
892 MCB_NORMAL = 2,
893 MCB_BITMAP = 3,
896 enum POPUPITEMSTATES {
897 MPI_NORMAL = 1,
898 MPI_HOT = 2,
899 MPI_DISABLED = 3,
900 MPI_DISABLEDHOT = 4,
903 enum POPUPSUBMENUSTATES {
904 MSM_NORMAL = 1,
905 MSM_DISABLED = 2,
908 enum SYSTEMCLOSESTATES {
909 MSYSC_NORMAL = 1,
910 MSYSC_DISABLED = 2,
913 enum SYSTEMMAXIMIZESTATES {
914 MSYSMX_NORMAL = 1,
915 MSYSMX_DISABLED = 2,
918 enum SYSTEMMINIMIZESTATES {
919 MSYSMN_NORMAL = 1,
920 MSYSMN_DISABLED = 2,
923 enum SYSTEMRESTORESTATES {
924 MSYSR_NORMAL = 1,
925 MSYSR_DISABLED = 2,
928 /* NAVIGATION class */
929 #if defined(__GNUC__)
930 #define VSCLASS_NAVIGATION (const WCHAR []){'N','A','V','I','G','A','T','I','O','N',0}
931 #elif defined(_MSC_VER)
932 #define VSCLASS_NAVIGATION L"NAVIGATION"
933 #else
934 static const WCHAR VSCLASS_NAVIGATION [] = {'N','A','V','I','G','A','T','I','O','N',0};
935 #endif
937 enum NAVIGATIONPARTS {
938 NAV_BACKBUTTON = 1,
939 NAV_FORWARDBUTTON = 2,
940 NAV_MENUBUTTON = 3,
943 enum NAV_BACKBUTTONSTATES {
944 NAV_BB_NORMAL = 1,
945 NAV_BB_HOT = 2,
946 NAV_BB_PRESSED = 3,
947 NAV_BB_DISABLED = 4,
950 enum NAV_FORWARDBUTTONSTATES {
951 NAV_FB_NORMAL = 1,
952 NAV_FB_HOT = 2,
953 NAV_FB_PRESSED = 3,
954 NAV_FB_DISABLED = 4,
957 enum NAV_MENUBUTTONSTATES {
958 NAV_MB_NORMAL = 1,
959 NAV_MB_HOT = 2,
960 NAV_MB_PRESSED = 3,
961 NAV_MB_DISABLED = 4,
964 /* PROGRESSSTYLE class */
965 #if defined(__GNUC__)
966 #define VSCLASS_PROGRESSSTYLE (const WCHAR []){'P','R','O','G','R','E','S','S','S','T','Y','L','E',0}
967 #define VSCLASS_PROGRESS (const WCHAR []){'P','R','O','G','R','E','S','S',0}
968 #elif defined(_MSC_VER)
969 #define VSCLASS_PROGRESSSTYLE L"PROGRESSSTYLE"
970 #define VSCLASS_PROGRESS L"PROGRESS"
971 #else
972 static const WCHAR VSCLASS_PROGRESSSTYLE [] = {'P','R','O','G','R','E','S','S','S','T','Y','L','E',0};
973 static const WCHAR VSCLASS_PROGRESS [] = {'P','R','O','G','R','E','S','S',0};
974 #endif
976 enum PROGRESSPARTS {
977 PP_BAR = 1,
978 PP_BARVERT = 2,
979 PP_CHUNK = 3,
980 PP_CHUNKVERT = 4,
981 PP_FILL = 5,
982 PP_FILLVERT = 6,
983 PP_PULSEOVERLAY = 7,
984 PP_MOVEOVERLAY = 8,
985 PP_PULSEOVERLAYVERT = 9,
986 PP_MOVEOVERLAYVERT = 10,
987 PP_TRANSPARENTBAR = 11,
988 PP_TRANSPARENTBARVERT = 12,
991 #define PROGRESSSTYLEPARTS PROGRESSPARTS;
993 enum TRANSPARENTBARSTATES {
994 PBBS_NORMAL = 1,
995 PBBS_PARTIAL = 2,
998 enum TRANSPARENTBARVERTSTATES {
999 PBBVS_NORMAL = 1,
1000 PBBVS_PARTIAL = 2,
1003 enum FILLSTATES {
1004 PBFS_NORMAL = 1,
1005 PBFS_ERROR = 2,
1006 PBFS_PAUSED = 3,
1007 PBFS_PARTIAL = 4,
1010 enum FILLVERTSTATES {
1011 PBFVS_NORMAL = 1,
1012 PBFVS_ERROR = 2,
1013 PBFVS_PAUSED = 3,
1014 PBFVS_PARTIAL = 4,
1017 /* REBARSTYLE class */
1018 #if defined(__GNUC__)
1019 #define VSCLASS_REBARSTYLE (const WCHAR []){'R','E','B','A','R','S','T','Y','L','E',0}
1020 #define VSCLASS_REBAR (const WCHAR []){'R','E','B','A','R',0}
1021 #elif defined(_MSC_VER)
1022 #define VSCLASS_REBARSTYLE L"REBARSTYLE"
1023 #define VSCLASS_REBAR L"REBAR"
1024 #else
1025 static const WCHAR VSCLASS_REBARSTYLE [] = {'R','E','B','A','R','S','T','Y','L','E',0};
1026 static const WCHAR VSCLASS_REBAR [] = {'R','E','B','A','R',0};
1027 #endif
1029 enum REBARPARTS {
1030 RP_GRIPPER = 1,
1031 RP_GRIPPERVERT = 2,
1032 RP_BAND = 3,
1033 RP_CHEVRON = 4,
1034 RP_CHEVRONVERT = 5,
1035 RP_BACKGROUND = 6,
1036 RP_SPLITTER = 7,
1037 RP_SPLITTERVERT = 8,
1040 #define REBARSTYLEPARTS REBARPARTS;
1042 enum CHEVRONSTATES {
1043 CHEVS_NORMAL = 1,
1044 CHEVS_HOT = 2,
1045 CHEVS_PRESSED = 3,
1048 enum CHEVRONVERTSTATES {
1049 CHEVSV_NORMAL = 1,
1050 CHEVSV_HOT = 2,
1051 CHEVSV_PRESSED = 3,
1054 enum SPLITTERSTATES {
1055 SPLITS_NORMAL = 1,
1056 SPLITS_HOT = 2,
1057 SPLITS_PRESSED = 3,
1060 enum SPLITTERVERTSTATES {
1061 SPLITSV_NORMAL = 1,
1062 SPLITSV_HOT = 2,
1063 SPLITSV_PRESSED = 3,
1066 /* SCROLLBARSTYLE class */
1067 #if defined(__GNUC__)
1068 #define VSCLASS_SCROLLBARSTYLE (const WCHAR []){'S','C','R','O','L','L','B','A','R','S','T','Y','L','E',0}
1069 #define VSCLASS_SCROLLBAR (const WCHAR []){'S','C','R','O','L','L','B','A','R',0}
1070 #elif defined(_MSC_VER)
1071 #define VSCLASS_SCROLLBARSTYLE L"SCROLLBARSTYLE"
1072 #define VSCLASS_SCROLLBAR L"SCROLLBAR"
1073 #else
1074 static const WCHAR VSCLASS_SCROLLBARSTYLE [] = {'S','C','R','O','L','L','B','A','R','S','T','Y','L','E',0};
1075 static const WCHAR VSCLASS_SCROLLBAR [] = {'S','C','R','O','L','L','B','A','R',0};
1076 #endif
1078 enum SCROLLBARPARTS {
1079 SBP_ARROWBTN = 1,
1080 SBP_THUMBBTNHORZ = 2,
1081 SBP_THUMBBTNVERT = 3,
1082 SBP_LOWERTRACKHORZ = 4,
1083 SBP_UPPERTRACKHORZ = 5,
1084 SBP_LOWERTRACKVERT = 6,
1085 SBP_UPPERTRACKVERT = 7,
1086 SBP_GRIPPERHORZ = 8,
1087 SBP_GRIPPERVERT = 9,
1088 SBP_SIZEBOX = 10,
1091 #define SCROLLBARSTYLEPARTS SCROLLBARPARTS;
1093 enum ARROWBTNSTATES {
1094 ABS_UPNORMAL = 1,
1095 ABS_UPHOT = 2,
1096 ABS_UPPRESSED = 3,
1097 ABS_UPDISABLED = 4,
1098 ABS_DOWNNORMAL = 5,
1099 ABS_DOWNHOT = 6,
1100 ABS_DOWNPRESSED = 7,
1101 ABS_DOWNDISABLED = 8,
1102 ABS_LEFTNORMAL = 9,
1103 ABS_LEFTHOT = 10,
1104 ABS_LEFTPRESSED = 11,
1105 ABS_LEFTDISABLED = 12,
1106 ABS_RIGHTNORMAL = 13,
1107 ABS_RIGHTHOT = 14,
1108 ABS_RIGHTPRESSED = 15,
1109 ABS_RIGHTDISABLED = 16,
1110 ABS_UPHOVER = 17,
1111 ABS_DOWNHOVER = 18,
1112 ABS_LEFTHOVER = 19,
1113 ABS_RIGHTHOVER = 20,
1116 enum SCROLLBARSTYLESTATES {
1117 SCRBS_NORMAL = 1,
1118 SCRBS_HOT = 2,
1119 SCRBS_PRESSED = 3,
1120 SCRBS_DISABLED = 4,
1121 SCRBS_HOVER = 5,
1124 enum SIZEBOXSTATES {
1125 SZB_RIGHTALIGN = 1,
1126 SZB_LEFTALIGN = 2,
1127 SZB_TOPRIGHTALIGN = 3,
1128 SZB_TOPLEFTALIGN = 4,
1129 SZB_HALFBOTTOMRIGHTALIGN = 5,
1130 SZB_HALFBOTTOMLEFTALIGN = 6,
1131 SZB_HALFTOPRIGHTALIGN = 7,
1132 SZB_HALFTOPLEFTALIGN = 8,
1135 /* SPINSTYLE class */
1136 #if defined(__GNUC__)
1137 #define VSCLASS_SPINSTYLE (const WCHAR []){'S','P','I','N','S','T','Y','L','E',0}
1138 #elif defined(_MSC_VER)
1139 #define VSCLASS_SPINSTYLE L"SPINSTYLE"
1140 #else
1141 static const WCHAR VSCLASS_SPINSTYLE [] = {'S','P','I','N','S','T','Y','L','E',0};
1142 #endif
1143 #if defined(__GNUC__)
1144 #define VSCLASS_SPIN (const WCHAR []){'S','P','I','N',0}
1145 #elif defined(_MSC_VER)
1146 #define VSCLASS_SPIN L"SPIN"
1147 #else
1148 static const WCHAR VSCLASS_SPIN [] = {'S','P','I','N',0};
1149 #endif
1151 enum SPINPARTS {
1152 SPNP_UP = 1,
1153 SPNP_DOWN = 2,
1154 SPNP_UPHORZ = 3,
1155 SPNP_DOWNHORZ = 4,
1158 #define SPINSTYLEPARTS SPINPARTS;
1160 enum UPSTATES {
1161 UPS_NORMAL = 1,
1162 UPS_HOT = 2,
1163 UPS_PRESSED = 3,
1164 UPS_DISABLED = 4,
1167 enum DOWNSTATES {
1168 DNS_NORMAL = 1,
1169 DNS_HOT = 2,
1170 DNS_PRESSED = 3,
1171 DNS_DISABLED = 4,
1174 enum UPHORZSTATES {
1175 UPHZS_NORMAL = 1,
1176 UPHZS_HOT = 2,
1177 UPHZS_PRESSED = 3,
1178 UPHZS_DISABLED = 4,
1181 enum DOWNHORZSTATES {
1182 DNHZS_NORMAL = 1,
1183 DNHZS_HOT = 2,
1184 DNHZS_PRESSED = 3,
1185 DNHZS_DISABLED = 4,
1188 /* STATUSSTYLE class */
1189 #if defined(__GNUC__)
1190 #define VSCLASS_STATUSSTYLE (const WCHAR []){'S','T','A','T','U','S','S','T','Y','L','E',0}
1191 #define VSCLASS_STATUS (const WCHAR []){'S','T','A','T','U','S',0}
1192 #elif defined(_MSC_VER)
1193 #define VSCLASS_STATUSSTYLE L"STATUSSTYLE"
1194 #define VSCLASS_STATUS L"STATUS"
1195 #else
1196 static const WCHAR VSCLASS_STATUSSTYLE [] = {'S','T','A','T','U','S','S','T','Y','L','E',0};
1197 static const WCHAR VSCLASS_STATUS [] = {'S','T','A','T','U','S',0};
1198 #endif
1200 enum STATUSPARTS {
1201 SP_PANE = 1,
1202 SP_GRIPPERPANE = 2,
1203 SP_GRIPPER = 3,
1206 #define STATUSSTYLEPARTS STATUSPARTS;
1208 /* TABSTYLE class */
1209 #if defined(__GNUC__)
1210 #define VSCLASS_TABSTYLE (const WCHAR []){'T','A','B','S','T','Y','L','E',0}
1211 #define VSCLASS_TAB (const WCHAR []){'T','A','B',0}
1212 #elif defined(_MSC_VER)
1213 #define VSCLASS_TABSTYLE L"TABSTYLE"
1214 #define VSCLASS_TAB L"TAB"
1215 #else
1216 static const WCHAR VSCLASS_TABSTYLE [] = {'T','A','B','S','T','Y','L','E',0};
1217 static const WCHAR VSCLASS_TAB [] = {'T','A','B',0};
1218 #endif
1220 enum TABPARTS {
1221 TABP_TABITEM = 1,
1222 TABP_TABITEMLEFTEDGE = 2,
1223 TABP_TABITEMRIGHTEDGE = 3,
1224 TABP_TABITEMBOTHEDGE = 4,
1225 TABP_TOPTABITEM = 5,
1226 TABP_TOPTABITEMLEFTEDGE = 6,
1227 TABP_TOPTABITEMRIGHTEDGE = 7,
1228 TABP_TOPTABITEMBOTHEDGE = 8,
1229 TABP_PANE = 9,
1230 TABP_BODY = 10,
1231 TABP_AEROWIZARDBODY = 11,
1234 #define TABSTYLEPARTS TABPARTS;
1236 enum TABITEMSTATES {
1237 TIS_NORMAL = 1,
1238 TIS_HOT = 2,
1239 TIS_SELECTED = 3,
1240 TIS_DISABLED = 4,
1241 TIS_FOCUSED = 5,
1244 enum TABITEMLEFTEDGESTATES {
1245 TILES_NORMAL = 1,
1246 TILES_HOT = 2,
1247 TILES_SELECTED = 3,
1248 TILES_DISABLED = 4,
1249 TILES_FOCUSED = 5,
1252 enum TABITEMRIGHTEDGESTATES {
1253 TIRES_NORMAL = 1,
1254 TIRES_HOT = 2,
1255 TIRES_SELECTED = 3,
1256 TIRES_DISABLED = 4,
1257 TIRES_FOCUSED = 5,
1260 enum TABITEMBOTHEDGESTATES {
1261 TIBES_NORMAL = 1,
1262 TIBES_HOT = 2,
1263 TIBES_SELECTED = 3,
1264 TIBES_DISABLED = 4,
1265 TIBES_FOCUSED = 5,
1268 enum TOPTABITEMSTATES {
1269 TTIS_NORMAL = 1,
1270 TTIS_HOT = 2,
1271 TTIS_SELECTED = 3,
1272 TTIS_DISABLED = 4,
1273 TTIS_FOCUSED = 5,
1276 enum TOPTABITEMLEFTEDGESTATES {
1277 TTILES_NORMAL = 1,
1278 TTILES_HOT = 2,
1279 TTILES_SELECTED = 3,
1280 TTILES_DISABLED = 4,
1281 TTILES_FOCUSED = 5,
1284 enum TOPTABITEMRIGHTEDGESTATES {
1285 TTIRES_NORMAL = 1,
1286 TTIRES_HOT = 2,
1287 TTIRES_SELECTED = 3,
1288 TTIRES_DISABLED = 4,
1289 TTIRES_FOCUSED = 5,
1292 enum TOPTABITEMBOTHEDGESTATES {
1293 TTIBES_NORMAL = 1,
1294 TTIBES_HOT = 2,
1295 TTIBES_SELECTED = 3,
1296 TTIBES_DISABLED = 4,
1297 TTIBES_FOCUSED = 5,
1300 /* TASKDIALOGSTYLE class */
1301 #if defined(__GNUC__)
1302 #define VSCLASS_TASKDIALOGSTYLE (const WCHAR []){'T','A','S','K','D','I','A','L','O','G','S','T','Y','L','E',0}
1303 #define VSCLASS_TASKDIALOG (const WCHAR []){'T','A','S','K','D','I','A','L','O','G',0}
1304 #elif defined(_MSC_VER)
1305 #define VSCLASS_TASKDIALOGSTYLE L"TASKDIALOGSTYLE"
1306 #define VSCLASS_TASKDIALOG L"TASKDIALOG"
1307 #else
1308 static const WCHAR VSCLASS_TASKDIALOGSTYLE[] = {'T','A','S','K','D','I','A','L','O','G','S','T','Y','L','E',0};
1309 static const WCHAR VSCLASS_TASKDIALOG [] = {'T','A','S','K','D','I','A','L','O','G',0};
1310 #endif
1312 enum TASKDIALOGPARTS {
1313 TDLG_PRIMARYPANEL = 1,
1314 TDLG_MAININSTRUCTIONPANE = 2,
1315 TDLG_MAINICON = 3,
1316 TDLG_CONTENTPANE = 4,
1317 TDLG_CONTENTICON = 5,
1318 TDLG_EXPANDEDCONTENT = 6,
1319 TDLG_COMMANDLINKPANE = 7,
1320 TDLG_SECONDARYPANEL = 8,
1321 TDLG_CONTROLPANE = 9,
1322 TDLG_BUTTONSECTION = 10,
1323 TDLG_BUTTONWRAPPER = 11,
1324 TDLG_EXPANDOTEXT = 12,
1325 TDLG_EXPANDOBUTTON = 13,
1326 TDLG_VERIFICATIONTEXT = 14,
1327 TDLG_FOOTNOTEPANE = 15,
1328 TDLG_FOOTNOTEAREA = 16,
1329 TDLG_FOOTNOTESEPARATOR = 17,
1330 TDLG_EXPANDEDFOOTERAREA = 18,
1331 TDLG_PROGRESSBAR = 19,
1332 TDLG_IMAGEALIGNMENT = 20,
1333 TDLG_RADIOBUTTONPANE = 21,
1336 #define TASKDIALOGSTYLEPARTS TASKDIALOGPARTS;
1338 enum CONTENTPANESTATES {
1339 TDLGCPS_STANDALONE = 1,
1342 enum EXPANDOBUTTONSTATES {
1343 TDLGEBS_NORMAL = 1,
1344 TDLGEBS_HOVER = 2,
1345 TDLGEBS_PRESSED = 3,
1346 TDLGEBS_EXPANDEDNORMAL = 4,
1347 TDLGEBS_EXPANDEDHOVER = 5,
1348 TDLGEBS_EXPANDEDPRESSED = 6,
1351 /* TEXTSTYLE class */
1352 #if defined(__GNUC__)
1353 #define VSCLASS_TEXTSTYLE (const WCHAR []){'T','E','X','T','S','T','Y','L','E',0}
1354 #elif defined(_MSC_VER)
1355 #define VSCLASS_TEXTSTYLE L"TEXTSTYLE"
1356 #else
1357 static const WCHAR VSCLASS_TEXTSTYLE [] = {'T','E','X','T','S','T','Y','L','E',0};
1358 #endif
1360 enum TEXTSTYLEPARTS {
1361 TEXT_MAININSTRUCTION = 1,
1362 TEXT_INSTRUCTION = 2,
1363 TEXT_BODYTITLE = 3,
1364 TEXT_BODYTEXT = 4,
1365 TEXT_SECONDARYTEXT = 5,
1366 TEXT_HYPERLINKTEXT = 6,
1367 TEXT_EXPANDED = 7,
1368 TEXT_LABEL = 8,
1369 TEXT_CONTROLLABEL = 9,
1372 enum HYPERLINKTEXTSTATES {
1373 TS_HYPERLINK_NORMAL = 1,
1374 TS_HYPERLINK_HOT = 2,
1375 TS_HYPERLINK_PRESSED = 3,
1376 TS_HYPERLINK_DISABLED = 4,
1379 enum CONTROLLABELSTATES {
1380 TS_CONTROLLABEL_NORMAL = 1,
1381 TS_CONTROLLABEL_DISABLED = 2,
1384 /* TOOLBARSTYLE class */
1385 #if defined(__GNUC__)
1386 #define VSCLASS_TOOLBARSTYLE (const WCHAR []){'T','O','O','L','B','A','R','S','T','Y','L','E',0}
1387 #define VSCLASS_TOOLBAR (const WCHAR []){'T','O','O','L','B','A','R',0}
1388 #elif defined(_MSC_VER)
1389 #define VSCLASS_TOOLBARSTYLE L"TOOLBARSTYLE"
1390 #define VSCLASS_TOOLBAR L"TOOLBAR"
1391 #else
1392 static const WCHAR VSCLASS_TOOLBARSTYLE [] = {'T','O','O','L','B','A','R','S','T','Y','L','E',0};
1393 static const WCHAR VSCLASS_TOOLBAR[] = {'T','O','O','L','B','A','R',0};
1394 #endif
1396 enum TOOLBARPARTS {
1397 TP_BUTTON = 1,
1398 TP_DROPDOWNBUTTON = 2,
1399 TP_SPLITBUTTON = 3,
1400 TP_SPLITBUTTONDROPDOWN = 4,
1401 TP_SEPARATOR = 5,
1402 TP_SEPARATORVERT = 6,
1405 #define TOOLBARSTYLEPARTS TOOLBARPARTS;
1407 enum TOOLBARSTYLESTATES {
1408 TS_NORMAL = 1,
1409 TS_HOT = 2,
1410 TS_PRESSED = 3,
1411 TS_DISABLED = 4,
1412 TS_CHECKED = 5,
1413 TS_HOTCHECKED = 6,
1414 TS_NEARHOT = 7,
1415 TS_OTHERSIDEHOT = 8,
1418 /* TOOLTIPSTYLE class */
1419 #if defined(__GNUC__)
1420 #define VSCLASS_TOOLTIPSTYLE (const WCHAR []){'T','O','O','L','T','I','P','S','T','Y','L','E',0}
1421 #define VSCLASS_TOOLTIP (const WCHAR []){'T','O','O','L','T','I','P',0}
1422 #elif defined(_MSC_VER)
1423 #define VSCLASS_TOOLTIPSTYLE L"TOOLTIPSTYLE"
1424 #define VSCLASS_TOOLTIP L"TOOLTIP"
1425 #else
1426 static const WCHAR VSCLASS_TOOLTIPSTYLE [] = {'T','O','O','L','T','I','P','S','T','Y','L','E',0};
1427 static const WCHAR VSCLASS_TOOLTIP[] = {'T','O','O','L','T','I','P',0};
1428 #endif
1430 enum TOOLTIPPARTS {
1431 TTP_STANDARD = 1,
1432 TTP_STANDARDTITLE = 2,
1433 TTP_BALLOON = 3,
1434 TTP_BALLOONTITLE = 4,
1435 TTP_CLOSE = 5,
1436 TTP_BALLOONSTEM = 6,
1439 #define TOOLTIPSTYLEPARTS TOOLTIPPARTS;
1441 enum CLOSESTATES {
1442 TTCS_NORMAL = 1,
1443 TTCS_HOT = 2,
1444 TTCS_PRESSED = 3,
1447 enum STANDARDSTATES {
1448 TTSS_NORMAL = 1,
1449 TTSS_LINK = 2,
1452 enum BALLOONSTATES {
1453 TTBS_NORMAL = 1,
1454 TTBS_LINK = 2,
1457 enum BALLOONSTEMSTATES {
1458 TTBSS_POINTINGUPLEFTWALL = 1,
1459 TTBSS_POINTINGUPCENTERED = 2,
1460 TTBSS_POINTINGUPRIGHTWALL = 3,
1461 TTBSS_POINTINGDOWNRIGHTWALL = 4,
1462 TTBSS_POINTINGDOWNCENTERED = 5,
1463 TTBSS_POINTINGDOWNLEFTWALL = 6,
1466 /* TRACKBARSTYLE class */
1467 #if defined(__GNUC__)
1468 #define VSCLASS_TRACKBARSTYLE (const WCHAR []){'T','R','A','C','K','B','A','R','S','T','Y','L','E',0}
1469 #define VSCLASS_TRACKBAR (const WCHAR []){'T','R','A','C','K','B','A','R',0}
1470 #elif defined(_MSC_VER)
1471 #define VSCLASS_TRACKBARSTYLE L"TRACKBARSTYLE"
1472 #define VSCLASS_TRACKBAR L"TRACKBAR"
1473 #else
1474 static const WCHAR VSCLASS_TRACKBARSTYLE [] = {'T','R','A','C','K','B','A','R','S','T','Y','L','E',0};
1475 static const WCHAR VSCLASS_TRACKBAR [] = {'T','R','A','C','K','B','A','R',0};
1476 #endif
1478 enum TRACKBARPARTS {
1479 TKP_TRACK = 1,
1480 TKP_TRACKVERT = 2,
1481 TKP_THUMB = 3,
1482 TKP_THUMBBOTTOM = 4,
1483 TKP_THUMBTOP = 5,
1484 TKP_THUMBVERT = 6,
1485 TKP_THUMBLEFT = 7,
1486 TKP_THUMBRIGHT = 8,
1487 TKP_TICS = 9,
1488 TKP_TICSVERT = 10,
1491 #define TRACKBARSTYLEPARTS TRACKBARPARTS;
1493 enum TRACKBARSTYLESTATES {
1494 TKS_NORMAL = 1,
1497 enum TRACKSTATES {
1498 TRS_NORMAL = 1,
1501 enum TRACKVERTSTATES {
1502 TRVS_NORMAL = 1,
1505 enum THUMBSTATES {
1506 TUS_NORMAL = 1,
1507 TUS_HOT = 2,
1508 TUS_PRESSED = 3,
1509 TUS_FOCUSED = 4,
1510 TUS_DISABLED = 5,
1513 enum THUMBBOTTOMSTATES {
1514 TUBS_NORMAL = 1,
1515 TUBS_HOT = 2,
1516 TUBS_PRESSED = 3,
1517 TUBS_FOCUSED = 4,
1518 TUBS_DISABLED = 5,
1521 enum THUMBTOPSTATES {
1522 TUTS_NORMAL = 1,
1523 TUTS_HOT = 2,
1524 TUTS_PRESSED = 3,
1525 TUTS_FOCUSED = 4,
1526 TUTS_DISABLED = 5,
1529 enum THUMBVERTSTATES {
1530 TUVS_NORMAL = 1,
1531 TUVS_HOT = 2,
1532 TUVS_PRESSED = 3,
1533 TUVS_FOCUSED = 4,
1534 TUVS_DISABLED = 5,
1537 enum THUMBLEFTSTATES {
1538 TUVLS_NORMAL = 1,
1539 TUVLS_HOT = 2,
1540 TUVLS_PRESSED = 3,
1541 TUVLS_FOCUSED = 4,
1542 TUVLS_DISABLED = 5,
1545 enum THUMBRIGHTSTATES {
1546 TUVRS_NORMAL = 1,
1547 TUVRS_HOT = 2,
1548 TUVRS_PRESSED = 3,
1549 TUVRS_FOCUSED = 4,
1550 TUVRS_DISABLED = 5,
1553 enum TICSSTATES {
1554 TSS_NORMAL = 1,
1557 enum TICSVERTSTATES {
1558 TSVS_NORMAL = 1,
1561 /* TREEVIEWSTYLE class */
1562 #if defined(__GNUC__)
1563 #define VSCLASS_TREEVIEWSTYLE (const WCHAR []){'T','R','E','E','V','I','E','W','S','T','Y','L','E',0}
1564 #define VSCLASS_TREEVIEW (const WCHAR []){'T','R','E','E','V','I','E','W',0}
1565 #elif defined(_MSC_VER)
1566 #define VSCLASS_TREEVIEWSTYLE L"TREEVIEWSTYLE"
1567 #define VSCLASS_TREEVIEW L"TREEVIEW"
1568 #else
1569 static const WCHAR VSCLASS_TREEVIEWSTYLE [] = {'T','R','E','E','V','I','E','W','S','T','Y','L','E',0};
1570 static const WCHAR VSCLASS_TREEVIEW [] = {'T','R','E','E','V','I','E','W',0};
1571 #endif
1573 enum TREEVIEWPARTS {
1574 TVP_TREEITEM = 1,
1575 TVP_GLYPH = 2,
1576 TVP_BRANCH = 3,
1577 TVP_HOTGLYPH = 4,
1580 #define TREEVIEWSTYLEPARTS TREEVIEWPARTS;
1582 enum TREEITEMSTATES {
1583 TREIS_NORMAL = 1,
1584 TREIS_HOT = 2,
1585 TREIS_SELECTED = 3,
1586 TREIS_DISABLED = 4,
1587 TREIS_SELECTEDNOTFOCUS = 5,
1588 TREIS_HOTSELECTED = 6,
1591 enum GLYPHSTATES {
1592 GLPS_CLOSED = 1,
1593 GLPS_OPENED = 2,
1596 enum HOTGLYPHSTATES {
1597 HGLPS_CLOSED = 1,
1598 HGLPS_OPENED = 2,
1601 /* WINDOWSTYLE class */
1602 #if defined(__GNUC__)
1603 #define VSCLASS_WINDOWSTYLE (const WCHAR []){'W','I','N','D','O','W','S','T','Y','L','E',0}
1604 #define VSCLASS_WINDOW (const WCHAR []){'W','I','N','D','O','W',0}
1605 #elif defined(_MSC_VER)
1606 #define VSCLASS_WINDOWSTYLE L"WINDOWSTYLE"
1607 #define VSCLASS_WINDOW L"WINDOW"
1608 #else
1609 static const WCHAR VSCLASS_WINDOWSTYLE [] = {'W','I','N','D','O','W','S','T','Y','L','E',0};
1610 static const WCHAR VSCLASS_WINDOW [] = {'W','I','N','D','O','W',0};
1611 #endif
1613 enum WINDOWPARTS {
1614 WP_CAPTION = 1,
1615 WP_SMALLCAPTION = 2,
1616 WP_MINCAPTION = 3,
1617 WP_SMALLMINCAPTION = 4,
1618 WP_MAXCAPTION = 5,
1619 WP_SMALLMAXCAPTION = 6,
1620 WP_FRAMELEFT = 7,
1621 WP_FRAMERIGHT = 8,
1622 WP_FRAMEBOTTOM = 9,
1623 WP_SMALLFRAMELEFT = 10,
1624 WP_SMALLFRAMERIGHT = 11,
1625 WP_SMALLFRAMEBOTTOM = 12,
1626 WP_SYSBUTTON = 13,
1627 WP_MDISYSBUTTON = 14,
1628 WP_MINBUTTON = 15,
1629 WP_MDIMINBUTTON = 16,
1630 WP_MAXBUTTON = 17,
1631 WP_CLOSEBUTTON = 18,
1632 WP_SMALLCLOSEBUTTON = 19,
1633 WP_MDICLOSEBUTTON = 20,
1634 WP_RESTOREBUTTON = 21,
1635 WP_MDIRESTOREBUTTON = 22,
1636 WP_HELPBUTTON = 23,
1637 WP_MDIHELPBUTTON = 24,
1638 WP_HORZSCROLL = 25,
1639 WP_HORZTHUMB = 26,
1640 WP_VERTSCROLL = 27,
1641 WP_VERTTHUMB = 28,
1642 WP_DIALOG = 29,
1643 WP_CAPTIONSIZINGTEMPLATE = 30,
1644 WP_SMALLCAPTIONSIZINGTEMPLATE = 31,
1645 WP_FRAMELEFTSIZINGTEMPLATE = 32,
1646 WP_SMALLFRAMELEFTSIZINGTEMPLATE = 33,
1647 WP_FRAMERIGHTSIZINGTEMPLATE = 34,
1648 WP_SMALLFRAMERIGHTSIZINGTEMPLATE = 35,
1649 WP_FRAMEBOTTOMSIZINGTEMPLATE = 36,
1650 WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE = 37,
1651 WP_FRAME = 38,
1654 #define WINDOWSTYLEPARTS WINDOWPARTS;
1656 enum FRAMESTATES {
1657 FS_ACTIVE = 1,
1658 FS_INACTIVE = 2,
1661 enum CAPTIONSTATES {
1662 CS_ACTIVE = 1,
1663 CS_INACTIVE = 2,
1664 CS_DISABLED = 3,
1667 enum MAXCAPTIONSTATES {
1668 MXCS_ACTIVE = 1,
1669 MXCS_INACTIVE = 2,
1670 MXCS_DISABLED = 3,
1673 enum MINCAPTIONSTATES {
1674 MNCS_ACTIVE = 1,
1675 MNCS_INACTIVE = 2,
1676 MNCS_DISABLED = 3,
1679 enum HORZSCROLLSTATES {
1680 HSS_NORMAL = 1,
1681 HSS_HOT = 2,
1682 HSS_PUSHED = 3,
1683 HSS_DISABLED = 4,
1686 enum HORZTHUMBSTATES {
1687 HTS_NORMAL = 1,
1688 HTS_HOT = 2,
1689 HTS_PUSHED = 3,
1690 HTS_DISABLED = 4,
1693 enum VERTSCROLLSTATES {
1694 VSS_NORMAL = 1,
1695 VSS_HOT = 2,
1696 VSS_PUSHED = 3,
1697 VSS_DISABLED = 4,
1700 enum VERTTHUMBSTATES {
1701 VTS_NORMAL = 1,
1702 VTS_HOT = 2,
1703 VTS_PUSHED = 3,
1704 VTS_DISABLED = 4,
1707 enum SYSBUTTONSTATES {
1708 SBS_NORMAL = 1,
1709 SBS_HOT = 2,
1710 SBS_PUSHED = 3,
1711 SBS_DISABLED = 4,
1714 enum MINBUTTONSTATES {
1715 MINBS_NORMAL = 1,
1716 MINBS_HOT = 2,
1717 MINBS_PUSHED = 3,
1718 MINBS_DISABLED = 4,
1721 enum RESTOREBUTTONSTATES {
1722 RBS_NORMAL = 1,
1723 RBS_HOT = 2,
1724 RBS_PUSHED = 3,
1725 RBS_DISABLED = 4,
1728 enum HELPBUTTONSTATES {
1729 HBS_NORMAL = 1,
1730 HBS_HOT = 2,
1731 HBS_PUSHED = 3,
1732 HBS_DISABLED = 4,
1735 enum CLOSEBUTTONSTATES {
1736 CBS_NORMAL = 1,
1737 CBS_HOT = 2,
1738 CBS_PUSHED = 3,
1739 CBS_DISABLED = 4,
1742 #ifdef __cplusplus
1744 #endif
1746 #endif /* __VSSTYLE_H__ */