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
23 #define TMTVS_RESERVEDLOW 100000
24 #define TMTVS_RESERVEDHIGH 19999
26 /* AEROWIZARDSTYLE class */
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"
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};
38 enum AEROWIZARDPARTS {
46 #define AEROWIZARDSTYLEPARTS AEROWIZARDPARTS;
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 */
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"
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};
80 BP_COMMANDLINKGLYPH = 7,
83 #define BUTTONSTYLEPARTS BUTTONPARTS;
85 enum PUSHBUTTONSTATES {
91 PBS_DEFAULTED_ANIMATING = 6,
94 enum RADIOBUTTONSTATES {
95 RBS_UNCHECKEDNORMAL = 1,
97 RBS_UNCHECKEDPRESSED = 3,
98 RBS_UNCHECKEDDISABLED = 4,
99 RBS_CHECKEDNORMAL = 5,
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,
112 CBS_CHECKEDPRESSED = 7,
113 CBS_CHECKEDDISABLED = 8,
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 {
133 enum COMMANDLINKSTATES {
139 CMDLS_DEFAULTED_ANIMATING = 6,
142 enum COMMANDLINKGLYPHSTATES {
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"
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};
163 CP_DROPDOWNBUTTON = 1,
165 CP_TRANSPARENTBACKGROUND = 3,
168 CP_DROPDOWNBUTTONRIGHT = 6,
169 CP_DROPDOWNBUTTONLEFT = 7,
173 #define COMBOBOXSTYLEPARTS COMBOBOXPARTS;
175 enum COMBOBOXSTYLESTATES {
182 enum DROPDOWNBUTTONRIGHTSTATES {
189 enum DROPDOWNBUTTONLEFTSTATES {
196 enum TRANSPARENTBACKGROUNDSTATES {
210 enum READONLYSTATES {
217 enum CUEBANNERSTATES {
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"
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};
236 enum COMMUNICATIONSPARTS {
240 #define COMMUNICATIONSSTYLEPARTS COMMUNICATIONSPARTS;
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"
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};
260 enum CONTROLPANELPARTS {
261 CPANEL_NAVIGATIONPANE = 1,
262 CPANEL_CONTENTPANE = 2,
263 CPANEL_NAVIGATIONPANELABEL = 3,
264 CPANEL_CONTENTPANELABEL = 4,
269 CPANEL_GROUPTEXT = 9,
270 CPANEL_CONTENTLINK = 10,
271 CPANEL_SECTIONTITLELINK = 11,
272 CPANEL_LARGECOMMANDAREA = 12,
273 CPANEL_SMALLCOMMANDAREA = 13,
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 {
291 enum TASKLINKSTATES {
299 enum CONTENTLINKSTATES {
306 enum SECTIONTITLELINKSTATES {
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"
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};
323 enum DATEPICKERPARTS {
326 DP_SHOWCALENDARBUTTONRIGHT = 3,
329 #define DATEPICKERSTYLEPARTS DATEPICKERPARTS;
331 enum DATETEXTSTATES {
337 enum DATEBORDERSTATES {
344 enum SHOWCALENDARBUTTONRIGHTSTATES {
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"
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};
366 DD_UPDATEMETADATA = 3,
374 #define DRAGDROPSTYLEPARTS DRAGDROPPARTS;
377 DDCOPY_HIGHLIGHT = 1,
378 DDCOPY_NOHIGHLIGHT = 2,
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,
397 DDWARNING_HIGHLIGHT = 1,
398 DDWARNING_NOHIGHLIGHT = 2,
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"
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};
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 {
443 enum BACKGROUNDSTATES {
452 enum BACKGROUNDWITHBORDERSTATES {
459 enum EDITBORDER_NOSCROLLSTATES {
466 enum EDITBORDER_HSCROLLSTATES {
473 enum EDITBORDER_VSCROLLSTATES {
480 enum EDITBORDER_HVSCROLLSTATES {
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"
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};
499 enum EXPLORERBARPARTS {
500 EBP_HEADERBACKGROUND = 1,
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 {
522 enum HEADERPINSTATES {
526 EBHP_SELECTEDNORMAL = 4,
527 EBHP_SELECTEDHOT = 5,
528 EBHP_SELECTEDPRESSED = 6,
531 enum IEBARMENUSTATES {
537 enum NORMALGROUPCOLLAPSESTATES {
543 enum NORMALGROUPEXPANDSTATES {
549 enum SPECIALGROUPCOLLAPSESTATES {
555 enum SPECIALGROUPEXPANDSTATES {
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"
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};
581 FLYOUT_LINKHEADER = 8,
584 #define FLYOUTSTYLEPARTS FLYOUTPARTS;
594 FLYOUTLINK_NORMAL = 1,
595 FLYOUTLINK_HOVER = 2,
603 enum LINKHEADERSTATES {
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"
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};
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 {
637 enum HEADERITEMSTATES {
641 HIS_SORTEDNORMAL = 4,
643 HIS_SORTEDPRESSED = 6,
647 HIS_ICONSORTEDNORMAL = 10,
648 HIS_ICONSORTEDHOT = 11,
649 HIS_ICONSORTEDPRESSED = 12,
652 enum HEADERITEMLEFTSTATES {
658 enum HEADERITEMRIGHTSTATES {
664 enum HEADERSORTARROWSTATES {
669 enum HEADERDROPDOWNSTATES {
675 enum HEADERDROPDOWNFILTERSTATES {
681 enum HEADEROVERFLOWSTATES {
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"
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};
699 LBCP_BORDER_HSCROLL = 1,
700 LBCP_BORDER_HVSCROLL = 2,
701 LBCP_BORDER_NOSCROLL = 3,
702 LBCP_BORDER_VSCROLL = 4,
706 #define LISTBOXSTYLEPARTS LISTBOXPARTS;
708 enum BORDER_HSCROLLSTATES {
715 enum BORDER_HVSCROLLSTATES {
722 enum BORDER_NOSCROLLSTATES {
729 enum BORDER_VSCROLLSTATES {
738 LBPSI_HOTSELECTED = 2,
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"
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};
759 LVP_LISTSORTEDDETAIL = 4,
762 LVP_GROUPHEADERLINE = 7,
763 LVP_EXPANDBUTTON = 8,
764 LVP_COLLAPSEBUTTON = 9,
765 LVP_COLUMNDETAIL = 10,
768 #define LISTVIEWSTYLEPARTS LISTVIEWPARTS;
770 enum LISTITEMSTATES {
775 LISS_SELECTEDNOTFOCUS = 5,
776 LISS_HOTSELECTED = 6,
779 enum GROUPHEADERSTATES {
782 LVGH_OPENSELECTED = 3,
783 LVGH_OPENSELECTEDHOT = 4,
784 LVGH_OPENSELECTEDNOTFOCUSED = 5,
785 LVGH_OPENSELECTEDNOTFOCUSEDHOT = 6,
786 LVGH_OPENMIXEDSELECTION = 7,
787 LVGH_OPENMIXEDSELECTIONHOT = 8,
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 {
801 LVGHL_OPENSELECTED = 3,
802 LVGHL_OPENSELECTEDHOT = 4,
803 LVGHL_OPENSELECTEDNOTFOCUSED = 5,
804 LVGHL_OPENSELECTEDNOTFOCUSEDHOT = 6,
805 LVGHL_OPENMIXEDSELECTION = 7,
806 LVGHL_OPENMIXEDSELECTIONHOT = 8,
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 {
823 enum COLLAPSEBUTTONSTATES {
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"
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};
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,
850 MENU_POPUPBACKGROUND = 9,
851 MENU_POPUPBORDERS = 10,
852 MENU_POPUPCHECK = 11,
853 MENU_POPUPCHECKBACKGROUND = 12,
854 MENU_POPUPGUTTER = 13,
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 {
877 MBI_DISABLEDPUSHED = 6,
880 enum POPUPCHECKSTATES {
881 MC_CHECKMARKNORMAL = 1,
882 MC_CHECKMARKDISABLED = 2,
884 MC_BULLETDISABLED = 4,
887 enum POPUPCHECKBACKGROUNDSTATES {
893 enum POPUPITEMSTATES {
900 enum POPUPSUBMENUSTATES {
905 enum SYSTEMCLOSESTATES {
910 enum SYSTEMMAXIMIZESTATES {
915 enum SYSTEMMINIMIZESTATES {
920 enum SYSTEMRESTORESTATES {
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"
931 static const WCHAR VSCLASS_NAVIGATION [] = {'N','A','V','I','G','A','T','I','O','N',0};
934 enum NAVIGATIONPARTS {
936 NAV_FORWARDBUTTON = 2,
940 enum NAV_BACKBUTTONSTATES {
947 enum NAV_FORWARDBUTTONSTATES {
954 enum NAV_MENUBUTTONSTATES {
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"
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};
982 PP_PULSEOVERLAYVERT = 9,
983 PP_MOVEOVERLAYVERT = 10,
984 PP_TRANSPARENTBAR = 11,
985 PP_TRANSPARENTBARVERT = 12,
988 #define PROGRESSSTYLEPARTS PROGRESSPARTS;
990 enum TRANSPARENTBARSTATES {
995 enum TRANSPARENTBARVERTSTATES {
1007 enum FILLVERTSTATES {
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"
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};
1034 RP_SPLITTERVERT = 8,
1037 #define REBARSTYLEPARTS REBARPARTS;
1039 enum CHEVRONSTATES {
1045 enum CHEVRONVERTSTATES {
1051 enum SPLITTERSTATES {
1057 enum SPLITTERVERTSTATES {
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"
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};
1075 enum SCROLLBARPARTS {
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,
1088 #define SCROLLBARSTYLEPARTS SCROLLBARPARTS;
1090 enum ARROWBTNSTATES {
1097 ABS_DOWNPRESSED = 7,
1098 ABS_DOWNDISABLED = 8,
1101 ABS_LEFTPRESSED = 11,
1102 ABS_LEFTDISABLED = 12,
1103 ABS_RIGHTNORMAL = 13,
1105 ABS_RIGHTPRESSED = 15,
1106 ABS_RIGHTDISABLED = 16,
1110 ABS_RIGHTHOVER = 20,
1113 enum SCROLLBARSTYLESTATES {
1121 enum SIZEBOXSTATES {
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"
1138 static const WCHAR VSCLASS_SPINSTYLE [] = {'S','P','I','N','S','T','Y','L','E',0};
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"
1145 static const WCHAR VSCLASS_SPIN [] = {'S','P','I','N',0};
1155 #define SPINSTYLEPARTS SPINPARTS;
1178 enum DOWNHORZSTATES {
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"
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};
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"
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};
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,
1228 TABP_AEROWIZARDBODY = 11,
1231 #define TABSTYLEPARTS TABPARTS;
1233 enum TABITEMSTATES {
1241 enum TABITEMLEFTEDGESTATES {
1249 enum TABITEMRIGHTEDGESTATES {
1257 enum TABITEMBOTHEDGESTATES {
1265 enum TOPTABITEMSTATES {
1273 enum TOPTABITEMLEFTEDGESTATES {
1276 TTILES_SELECTED = 3,
1277 TTILES_DISABLED = 4,
1281 enum TOPTABITEMRIGHTEDGESTATES {
1284 TTIRES_SELECTED = 3,
1285 TTIRES_DISABLED = 4,
1289 enum TOPTABITEMBOTHEDGESTATES {
1292 TTIBES_SELECTED = 3,
1293 TTIBES_DISABLED = 4,
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"
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};
1309 enum TASKDIALOGPARTS {
1310 TDLG_PRIMARYPANEL = 1,
1311 TDLG_MAININSTRUCTIONPANE = 2,
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 {
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"
1354 static const WCHAR VSCLASS_TEXTSTYLE [] = {'T','E','X','T','S','T','Y','L','E',0};
1357 enum TEXTSTYLEPARTS {
1358 TEXT_MAININSTRUCTION = 1,
1359 TEXT_INSTRUCTION = 2,
1362 TEXT_SECONDARYTEXT = 5,
1363 TEXT_HYPERLINKTEXT = 6,
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"
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};
1395 TP_DROPDOWNBUTTON = 2,
1397 TP_SPLITBUTTONDROPDOWN = 4,
1399 TP_SEPARATORVERT = 6,
1402 #define TOOLBARSTYLEPARTS TOOLBARPARTS;
1404 enum TOOLBARSTYLESTATES {
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"
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};
1429 TTP_STANDARDTITLE = 2,
1431 TTP_BALLOONTITLE = 4,
1433 TTP_BALLOONSTEM = 6,
1436 #define TOOLTIPSTYLEPARTS TOOLTIPPARTS;
1444 enum STANDARDSTATES {
1449 enum BALLOONSTATES {
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"
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};
1475 enum TRACKBARPARTS {
1479 TKP_THUMBBOTTOM = 4,
1488 #define TRACKBARSTYLEPARTS TRACKBARPARTS;
1490 enum TRACKBARSTYLESTATES {
1498 enum TRACKVERTSTATES {
1510 enum THUMBBOTTOMSTATES {
1518 enum THUMBTOPSTATES {
1526 enum THUMBVERTSTATES {
1534 enum THUMBLEFTSTATES {
1542 enum THUMBRIGHTSTATES {
1554 enum TICSVERTSTATES {
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"
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};
1570 enum TREEVIEWPARTS {
1577 #define TREEVIEWSTYLEPARTS TREEVIEWPARTS;
1579 enum TREEITEMSTATES {
1584 TREIS_SELECTEDNOTFOCUS = 5,
1585 TREIS_HOTSELECTED = 6,
1593 enum HOTGLYPHSTATES {
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"
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};
1612 WP_SMALLCAPTION = 2,
1614 WP_SMALLMINCAPTION = 4,
1616 WP_SMALLMAXCAPTION = 6,
1620 WP_SMALLFRAMELEFT = 10,
1621 WP_SMALLFRAMERIGHT = 11,
1622 WP_SMALLFRAMEBOTTOM = 12,
1624 WP_MDISYSBUTTON = 14,
1626 WP_MDIMINBUTTON = 16,
1628 WP_CLOSEBUTTON = 18,
1629 WP_SMALLCLOSEBUTTON = 19,
1630 WP_MDICLOSEBUTTON = 20,
1631 WP_RESTOREBUTTON = 21,
1632 WP_MDIRESTOREBUTTON = 22,
1634 WP_MDIHELPBUTTON = 24,
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,
1651 #define WINDOWSTYLEPARTS WINDOWPARTS;
1658 enum CAPTIONSTATES {
1664 enum MAXCAPTIONSTATES {
1670 enum MINCAPTIONSTATES {
1676 enum HORZSCROLLSTATES {
1683 enum HORZTHUMBSTATES {
1690 enum VERTSCROLLSTATES {
1697 enum VERTTHUMBSTATES {
1704 enum SYSBUTTONSTATES {
1711 enum MINBUTTONSTATES {
1718 enum RESTOREBUTTONSTATES {
1725 enum HELPBUTTONSTATES {
1732 enum CLOSEBUTTONSTATES {
1739 #endif /* __VSSTYLE_H__ */