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
26 #define TMTVS_RESERVEDLOW 100000
27 #define TMTVS_RESERVEDHIGH 19999
29 /* AEROWIZARDSTYLE class */
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"
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};
41 enum AEROWIZARDPARTS {
49 #define AEROWIZARDSTYLEPARTS AEROWIZARDPARTS;
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 */
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"
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};
83 BP_COMMANDLINKGLYPH = 7,
86 #define BUTTONSTYLEPARTS BUTTONPARTS;
88 enum PUSHBUTTONSTATES {
94 PBS_DEFAULTED_ANIMATING = 6,
97 enum RADIOBUTTONSTATES {
98 RBS_UNCHECKEDNORMAL = 1,
100 RBS_UNCHECKEDPRESSED = 3,
101 RBS_UNCHECKEDDISABLED = 4,
102 RBS_CHECKEDNORMAL = 5,
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,
115 CBS_CHECKEDPRESSED = 7,
116 CBS_CHECKEDDISABLED = 8,
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 {
136 enum COMMANDLINKSTATES {
142 CMDLS_DEFAULTED_ANIMATING = 6,
145 enum COMMANDLINKGLYPHSTATES {
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"
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};
166 CP_DROPDOWNBUTTON = 1,
168 CP_TRANSPARENTBACKGROUND = 3,
171 CP_DROPDOWNBUTTONRIGHT = 6,
172 CP_DROPDOWNBUTTONLEFT = 7,
176 #define COMBOBOXSTYLEPARTS COMBOBOXPARTS;
178 enum COMBOBOXSTYLESTATES {
185 enum DROPDOWNBUTTONRIGHTSTATES {
192 enum DROPDOWNBUTTONLEFTSTATES {
199 enum TRANSPARENTBACKGROUNDSTATES {
213 enum READONLYSTATES {
220 enum CUEBANNERSTATES {
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"
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};
239 enum COMMUNICATIONSPARTS {
243 #define COMMUNICATIONSSTYLEPARTS COMMUNICATIONSPARTS;
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"
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};
263 enum CONTROLPANELPARTS {
264 CPANEL_NAVIGATIONPANE = 1,
265 CPANEL_CONTENTPANE = 2,
266 CPANEL_NAVIGATIONPANELABEL = 3,
267 CPANEL_CONTENTPANELABEL = 4,
272 CPANEL_GROUPTEXT = 9,
273 CPANEL_CONTENTLINK = 10,
274 CPANEL_SECTIONTITLELINK = 11,
275 CPANEL_LARGECOMMANDAREA = 12,
276 CPANEL_SMALLCOMMANDAREA = 13,
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 {
294 enum TASKLINKSTATES {
302 enum CONTENTLINKSTATES {
309 enum SECTIONTITLELINKSTATES {
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"
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};
326 enum DATEPICKERPARTS {
329 DP_SHOWCALENDARBUTTONRIGHT = 3,
332 #define DATEPICKERSTYLEPARTS DATEPICKERPARTS;
334 enum DATETEXTSTATES {
340 enum DATEBORDERSTATES {
347 enum SHOWCALENDARBUTTONRIGHTSTATES {
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"
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};
369 DD_UPDATEMETADATA = 3,
377 #define DRAGDROPSTYLEPARTS DRAGDROPPARTS;
380 DDCOPY_HIGHLIGHT = 1,
381 DDCOPY_NOHIGHLIGHT = 2,
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,
400 DDWARNING_HIGHLIGHT = 1,
401 DDWARNING_NOHIGHLIGHT = 2,
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"
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};
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 {
446 enum BACKGROUNDSTATES {
455 enum BACKGROUNDWITHBORDERSTATES {
462 enum EDITBORDER_NOSCROLLSTATES {
469 enum EDITBORDER_HSCROLLSTATES {
476 enum EDITBORDER_VSCROLLSTATES {
483 enum EDITBORDER_HVSCROLLSTATES {
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"
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};
502 enum EXPLORERBARPARTS {
503 EBP_HEADERBACKGROUND = 1,
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 {
525 enum HEADERPINSTATES {
529 EBHP_SELECTEDNORMAL = 4,
530 EBHP_SELECTEDHOT = 5,
531 EBHP_SELECTEDPRESSED = 6,
534 enum IEBARMENUSTATES {
540 enum NORMALGROUPCOLLAPSESTATES {
546 enum NORMALGROUPEXPANDSTATES {
552 enum SPECIALGROUPCOLLAPSESTATES {
558 enum SPECIALGROUPEXPANDSTATES {
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"
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};
584 FLYOUT_LINKHEADER = 8,
587 #define FLYOUTSTYLEPARTS FLYOUTPARTS;
597 FLYOUTLINK_NORMAL = 1,
598 FLYOUTLINK_HOVER = 2,
606 enum LINKHEADERSTATES {
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"
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};
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 {
640 enum HEADERITEMSTATES {
644 HIS_SORTEDNORMAL = 4,
646 HIS_SORTEDPRESSED = 6,
650 HIS_ICONSORTEDNORMAL = 10,
651 HIS_ICONSORTEDHOT = 11,
652 HIS_ICONSORTEDPRESSED = 12,
655 enum HEADERITEMLEFTSTATES {
661 enum HEADERITEMRIGHTSTATES {
667 enum HEADERSORTARROWSTATES {
672 enum HEADERDROPDOWNSTATES {
678 enum HEADERDROPDOWNFILTERSTATES {
684 enum HEADEROVERFLOWSTATES {
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"
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};
702 LBCP_BORDER_HSCROLL = 1,
703 LBCP_BORDER_HVSCROLL = 2,
704 LBCP_BORDER_NOSCROLL = 3,
705 LBCP_BORDER_VSCROLL = 4,
709 #define LISTBOXSTYLEPARTS LISTBOXPARTS;
711 enum BORDER_HSCROLLSTATES {
718 enum BORDER_HVSCROLLSTATES {
725 enum BORDER_NOSCROLLSTATES {
732 enum BORDER_VSCROLLSTATES {
741 LBPSI_HOTSELECTED = 2,
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"
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};
762 LVP_LISTSORTEDDETAIL = 4,
765 LVP_GROUPHEADERLINE = 7,
766 LVP_EXPANDBUTTON = 8,
767 LVP_COLLAPSEBUTTON = 9,
768 LVP_COLUMNDETAIL = 10,
771 #define LISTVIEWSTYLEPARTS LISTVIEWPARTS;
773 enum LISTITEMSTATES {
778 LISS_SELECTEDNOTFOCUS = 5,
779 LISS_HOTSELECTED = 6,
782 enum GROUPHEADERSTATES {
785 LVGH_OPENSELECTED = 3,
786 LVGH_OPENSELECTEDHOT = 4,
787 LVGH_OPENSELECTEDNOTFOCUSED = 5,
788 LVGH_OPENSELECTEDNOTFOCUSEDHOT = 6,
789 LVGH_OPENMIXEDSELECTION = 7,
790 LVGH_OPENMIXEDSELECTIONHOT = 8,
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 {
804 LVGHL_OPENSELECTED = 3,
805 LVGHL_OPENSELECTEDHOT = 4,
806 LVGHL_OPENSELECTEDNOTFOCUSED = 5,
807 LVGHL_OPENSELECTEDNOTFOCUSEDHOT = 6,
808 LVGHL_OPENMIXEDSELECTION = 7,
809 LVGHL_OPENMIXEDSELECTIONHOT = 8,
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 {
826 enum COLLAPSEBUTTONSTATES {
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"
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};
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,
853 MENU_POPUPBACKGROUND = 9,
854 MENU_POPUPBORDERS = 10,
855 MENU_POPUPCHECK = 11,
856 MENU_POPUPCHECKBACKGROUND = 12,
857 MENU_POPUPGUTTER = 13,
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 {
880 MBI_DISABLEDPUSHED = 6,
883 enum POPUPCHECKSTATES {
884 MC_CHECKMARKNORMAL = 1,
885 MC_CHECKMARKDISABLED = 2,
887 MC_BULLETDISABLED = 4,
890 enum POPUPCHECKBACKGROUNDSTATES {
896 enum POPUPITEMSTATES {
903 enum POPUPSUBMENUSTATES {
908 enum SYSTEMCLOSESTATES {
913 enum SYSTEMMAXIMIZESTATES {
918 enum SYSTEMMINIMIZESTATES {
923 enum SYSTEMRESTORESTATES {
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"
934 static const WCHAR VSCLASS_NAVIGATION [] = {'N','A','V','I','G','A','T','I','O','N',0};
937 enum NAVIGATIONPARTS {
939 NAV_FORWARDBUTTON = 2,
943 enum NAV_BACKBUTTONSTATES {
950 enum NAV_FORWARDBUTTONSTATES {
957 enum NAV_MENUBUTTONSTATES {
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"
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};
985 PP_PULSEOVERLAYVERT = 9,
986 PP_MOVEOVERLAYVERT = 10,
987 PP_TRANSPARENTBAR = 11,
988 PP_TRANSPARENTBARVERT = 12,
991 #define PROGRESSSTYLEPARTS PROGRESSPARTS;
993 enum TRANSPARENTBARSTATES {
998 enum TRANSPARENTBARVERTSTATES {
1010 enum FILLVERTSTATES {
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"
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};
1037 RP_SPLITTERVERT = 8,
1040 #define REBARSTYLEPARTS REBARPARTS;
1042 enum CHEVRONSTATES {
1048 enum CHEVRONVERTSTATES {
1054 enum SPLITTERSTATES {
1060 enum SPLITTERVERTSTATES {
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"
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};
1078 enum SCROLLBARPARTS {
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,
1091 #define SCROLLBARSTYLEPARTS SCROLLBARPARTS;
1093 enum ARROWBTNSTATES {
1100 ABS_DOWNPRESSED = 7,
1101 ABS_DOWNDISABLED = 8,
1104 ABS_LEFTPRESSED = 11,
1105 ABS_LEFTDISABLED = 12,
1106 ABS_RIGHTNORMAL = 13,
1108 ABS_RIGHTPRESSED = 15,
1109 ABS_RIGHTDISABLED = 16,
1113 ABS_RIGHTHOVER = 20,
1116 enum SCROLLBARSTYLESTATES {
1124 enum SIZEBOXSTATES {
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"
1141 static const WCHAR VSCLASS_SPINSTYLE [] = {'S','P','I','N','S','T','Y','L','E',0};
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"
1148 static const WCHAR VSCLASS_SPIN [] = {'S','P','I','N',0};
1158 #define SPINSTYLEPARTS SPINPARTS;
1181 enum DOWNHORZSTATES {
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"
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};
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"
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};
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,
1231 TABP_AEROWIZARDBODY = 11,
1234 #define TABSTYLEPARTS TABPARTS;
1236 enum TABITEMSTATES {
1244 enum TABITEMLEFTEDGESTATES {
1252 enum TABITEMRIGHTEDGESTATES {
1260 enum TABITEMBOTHEDGESTATES {
1268 enum TOPTABITEMSTATES {
1276 enum TOPTABITEMLEFTEDGESTATES {
1279 TTILES_SELECTED = 3,
1280 TTILES_DISABLED = 4,
1284 enum TOPTABITEMRIGHTEDGESTATES {
1287 TTIRES_SELECTED = 3,
1288 TTIRES_DISABLED = 4,
1292 enum TOPTABITEMBOTHEDGESTATES {
1295 TTIBES_SELECTED = 3,
1296 TTIBES_DISABLED = 4,
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"
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};
1312 enum TASKDIALOGPARTS {
1313 TDLG_PRIMARYPANEL = 1,
1314 TDLG_MAININSTRUCTIONPANE = 2,
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 {
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"
1357 static const WCHAR VSCLASS_TEXTSTYLE [] = {'T','E','X','T','S','T','Y','L','E',0};
1360 enum TEXTSTYLEPARTS {
1361 TEXT_MAININSTRUCTION = 1,
1362 TEXT_INSTRUCTION = 2,
1365 TEXT_SECONDARYTEXT = 5,
1366 TEXT_HYPERLINKTEXT = 6,
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"
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};
1398 TP_DROPDOWNBUTTON = 2,
1400 TP_SPLITBUTTONDROPDOWN = 4,
1402 TP_SEPARATORVERT = 6,
1405 #define TOOLBARSTYLEPARTS TOOLBARPARTS;
1407 enum TOOLBARSTYLESTATES {
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"
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};
1432 TTP_STANDARDTITLE = 2,
1434 TTP_BALLOONTITLE = 4,
1436 TTP_BALLOONSTEM = 6,
1439 #define TOOLTIPSTYLEPARTS TOOLTIPPARTS;
1447 enum STANDARDSTATES {
1452 enum BALLOONSTATES {
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"
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};
1478 enum TRACKBARPARTS {
1482 TKP_THUMBBOTTOM = 4,
1491 #define TRACKBARSTYLEPARTS TRACKBARPARTS;
1493 enum TRACKBARSTYLESTATES {
1501 enum TRACKVERTSTATES {
1513 enum THUMBBOTTOMSTATES {
1521 enum THUMBTOPSTATES {
1529 enum THUMBVERTSTATES {
1537 enum THUMBLEFTSTATES {
1545 enum THUMBRIGHTSTATES {
1557 enum TICSVERTSTATES {
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"
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};
1573 enum TREEVIEWPARTS {
1580 #define TREEVIEWSTYLEPARTS TREEVIEWPARTS;
1582 enum TREEITEMSTATES {
1587 TREIS_SELECTEDNOTFOCUS = 5,
1588 TREIS_HOTSELECTED = 6,
1596 enum HOTGLYPHSTATES {
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"
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};
1615 WP_SMALLCAPTION = 2,
1617 WP_SMALLMINCAPTION = 4,
1619 WP_SMALLMAXCAPTION = 6,
1623 WP_SMALLFRAMELEFT = 10,
1624 WP_SMALLFRAMERIGHT = 11,
1625 WP_SMALLFRAMEBOTTOM = 12,
1627 WP_MDISYSBUTTON = 14,
1629 WP_MDIMINBUTTON = 16,
1631 WP_CLOSEBUTTON = 18,
1632 WP_SMALLCLOSEBUTTON = 19,
1633 WP_MDICLOSEBUTTON = 20,
1634 WP_RESTOREBUTTON = 21,
1635 WP_MDIRESTOREBUTTON = 22,
1637 WP_MDIHELPBUTTON = 24,
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,
1654 #define WINDOWSTYLEPARTS WINDOWPARTS;
1661 enum CAPTIONSTATES {
1667 enum MAXCAPTIONSTATES {
1673 enum MINCAPTIONSTATES {
1679 enum HORZSCROLLSTATES {
1686 enum HORZTHUMBSTATES {
1693 enum VERTSCROLLSTATES {
1700 enum VERTTHUMBSTATES {
1707 enum SYSBUTTONSTATES {
1714 enum MINBUTTONSTATES {
1721 enum RESTOREBUTTONSTATES {
1728 enum HELPBUTTONSTATES {
1735 enum CLOSEBUTTONSTATES {
1746 #endif /* __VSSTYLE_H__ */