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 */
27 #if defined(_MSC_VER) || defined(__MINGW32__)
28 #define VSCLASS_AEROWIZARDSTYLE L"AEROWIZARDSTYLE"
29 #define VSCLASS_AEROWIZARD L"AEROWIZARD"
31 static const WCHAR VSCLASS_AEROWIZARDSTYLE
[] = {'A','E','R','O','W','I','Z','A','R','D','S','T','Y','L','E',0};
32 static const WCHAR VSCLASS_AEROWIZARD
[] = {'A','E','R','O','W','I','Z','A','R','D',0};
35 enum AEROWIZARDPARTS
{
43 #define AEROWIZARDSTYLEPARTS AEROWIZARDPARTS;
46 AW_S_TITLEBAR_ACTIVE
= 1,
47 AW_S_TITLEBAR_INACTIVE
= 2,
50 enum HEADERAREASTATES
{
51 AW_S_HEADERAREA_NOMARGIN
= 1,
54 enum CONTENTAREASTATES
{
55 AW_S_CONTENTAREA_NOMARGIN
= 1,
58 /* BUTTONSTYLE class */
59 #if defined(_MSC_VER) || defined(__MINGW32__)
60 #define VSCLASS_BUTTONSTYLE L"BUTTONSTYLE"
61 #define VSCLASS_BUTTON L"BUTTON"
63 static const WCHAR VSCLASS_BUTTONSTYLE
[] = {'B','U','T','T','O','N','S','T','Y','L','E',0};
64 static const WCHAR VSCLASS_BUTTON
[] = {'B','U','T','T','O','N',0};
74 BP_COMMANDLINKGLYPH
= 7,
75 BP_RADIOBUTTON_HCDISABLED
= 8,
76 BP_CHECKBOX_HCDISABLED
= 9,
77 BP_GROUPBOX_HCDISABLED
= 10,
78 BP_PUSHBUTTONDROPDOWN
= 11,
81 #define BUTTONSTYLEPARTS BUTTONPARTS;
83 enum PUSHBUTTONSTATES
{
89 PBS_DEFAULTED_ANIMATING
= 6,
92 enum RADIOBUTTONSTATES
{
93 RBS_UNCHECKEDNORMAL
= 1,
95 RBS_UNCHECKEDPRESSED
= 3,
96 RBS_UNCHECKEDDISABLED
= 4,
97 RBS_CHECKEDNORMAL
= 5,
99 RBS_CHECKEDPRESSED
= 7,
100 RBS_CHECKEDDISABLED
= 8,
103 enum CHECKBOXSTATES
{
104 CBS_UNCHECKEDNORMAL
= 1,
105 CBS_UNCHECKEDHOT
= 2,
106 CBS_UNCHECKEDPRESSED
= 3,
107 CBS_UNCHECKEDDISABLED
= 4,
108 CBS_CHECKEDNORMAL
= 5,
110 CBS_CHECKEDPRESSED
= 7,
111 CBS_CHECKEDDISABLED
= 8,
114 CBS_MIXEDPRESSED
= 11,
115 CBS_MIXEDDISABLED
= 12,
116 CBS_IMPLICITNORMAL
= 13,
117 CBS_IMPLICITHOT
= 14,
118 CBS_IMPLICITPRESSED
= 15,
119 CBS_IMPLICITDISABLED
= 16,
120 CBS_EXCLUDEDNORMAL
= 17,
121 CBS_EXCLUDEDHOT
= 18,
122 CBS_EXCLUDEDPRESSED
= 19,
123 CBS_EXCLUDEDDISABLED
= 20,
126 enum GROUPBOXSTATES
{
131 enum COMMANDLINKSTATES
{
137 CMDLS_DEFAULTED_ANIMATING
= 6,
140 enum COMMANDLINKGLYPHSTATES
{
145 CMDLGS_DEFAULTED
= 5,
148 enum PUSHBUTTONDROPDOWNSTATES
{
153 /* COMBOBOXSTYLE class */
154 #if defined(_MSC_VER) || defined(__MINGW32__)
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,
174 #define COMBOBOXSTYLEPARTS COMBOBOXPARTS;
176 enum COMBOBOXSTYLESTATES
{
183 enum DROPDOWNBUTTONRIGHTSTATES
{
190 enum DROPDOWNBUTTONLEFTSTATES
{
197 enum TRANSPARENTBACKGROUNDSTATES
{
211 enum READONLYSTATES
{
218 enum CUEBANNERSTATES
{
225 enum DROPDOWNITEMSTATES
{
227 CBDI_HIGHLIGHTED
= 2,
230 /* COMMUNICATIONSSTYLE class */
231 #if defined(_MSC_VER) || defined(__MINGW32__)
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(_MSC_VER) || defined(__MINGW32__)
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(_MSC_VER) || defined(__MINGW32__)
313 #define VSCLASS_DATEPICKERSTYLE L"DATEPICKERSTYLE"
314 #define VSCLASS_DATEPICKER L"DATEPICKER"
316 static const WCHAR VSCLASS_DATEPICKERSTYLE
[] = {'D','A','T','E','P','I','C','K','E','R','S','T','Y','L','E',0};
317 static const WCHAR VSCLASS_DATEPICKER
[] = {'D','A','T','E','P','I','C','K','E','R',0};
320 enum DATEPICKERPARTS
{
323 DP_SHOWCALENDARBUTTONRIGHT
= 3,
326 #define DATEPICKERSTYLEPARTS DATEPICKERPARTS;
328 enum DATETEXTSTATES
{
334 enum DATEBORDERSTATES
{
341 enum SHOWCALENDARBUTTONRIGHTSTATES
{
348 /* DRAGDROPSTYLE class */
349 #if defined(_MSC_VER) || defined(__MINGW32__)
350 #define VSCLASS_DRAGDROPSTYLE L"DRAGDROPSTYLE"
351 #define VSCLASS_DRAGDROP L"DRAGDROP"
353 static const WCHAR VSCLASS_DRAGDROPSTYLE
[] = {'D','R','A','G','D','R','O','P','S','T','Y','L','E',0};
354 static const WCHAR VSCLASS_DRAGDROP
[] = {'D','R','A','G','D','R','O','P',0};
360 DD_UPDATEMETADATA
= 3,
368 #define DRAGDROPSTYLEPARTS DRAGDROPPARTS;
371 DDCOPY_HIGHLIGHT
= 1,
372 DDCOPY_NOHIGHLIGHT
= 2,
376 DDMOVE_HIGHLIGHT
= 1,
377 DDMOVE_NOHIGHLIGHT
= 2,
380 enum UPDATEMETADATASTATES
{
381 DDUPDATEMETADATA_HIGHLIGHT
= 1,
382 DDUPDATEMETADATA_NOHIGHLIGHT
= 2,
385 enum CREATELINKSTATES
{
386 DDCREATELINK_HIGHLIGHT
= 1,
387 DDCREATELINK_NOHIGHLIGHT
= 2,
391 DDWARNING_HIGHLIGHT
= 1,
392 DDWARNING_NOHIGHLIGHT
= 2,
396 DDNONE_HIGHLIGHT
= 1,
397 DDNONE_NOHIGHLIGHT
= 2,
400 /* EDITSTYLE class */
401 #if defined(_MSC_VER) || defined(__MINGW32__)
402 #define VSCLASS_EDITSTYLE L"EDITSTYLE"
403 #define VSCLASS_EDIT L"EDIT"
405 static const WCHAR VSCLASS_EDITSTYLE
[] = {'E','D','I','T','S','T','Y','L','E',0};
406 static const WCHAR VSCLASS_EDIT
[] = {'E','D','I','T',0};
414 EP_BACKGROUNDWITHBORDER
= 5,
415 EP_EDITBORDER_NOSCROLL
= 6,
416 EP_EDITBORDER_HSCROLL
= 7,
417 EP_EDITBORDER_VSCROLL
= 8,
418 EP_EDITBORDER_HVSCROLL
= 9,
421 #define EDITSTYLEPARTS EDITPARTS;
423 enum EDITTEXTSTATES
{
434 enum BACKGROUNDSTATES
{
443 enum BACKGROUNDWITHBORDERSTATES
{
450 enum EDITBORDER_NOSCROLLSTATES
{
457 enum EDITBORDER_HSCROLLSTATES
{
464 enum EDITBORDER_VSCROLLSTATES
{
471 enum EDITBORDER_HVSCROLLSTATES
{
478 /* EXPLORERBARSTYLE class */
479 #if defined(_MSC_VER) || defined(__MINGW32__)
480 #define VSCLASS_EXPLORERBARSTYLE L"EXPLORERBARSTYLE"
481 #define VSCLASS_EXPLORERBAR L"EXPLORERBAR"
483 static const WCHAR VSCLASS_EXPLORERBARSTYLE
[] = {'E','X','P','L','O','R','E','R','B','A','R','S','T','Y','L','E',0};
484 static const WCHAR VSCLASS_EXPLORERBAR
[] = {'E','X','P','L','O','R','E','R','B','A','R',0};
487 enum EXPLORERBARPARTS
{
488 EBP_HEADERBACKGROUND
= 1,
492 EBP_NORMALGROUPBACKGROUND
= 5,
493 EBP_NORMALGROUPCOLLAPSE
= 6,
494 EBP_NORMALGROUPEXPAND
= 7,
495 EBP_NORMALGROUPHEAD
= 8,
496 EBP_SPECIALGROUPBACKGROUND
= 9,
497 EBP_SPECIALGROUPCOLLAPSE
= 10,
498 EBP_SPECIALGROUPEXPAND
= 11,
499 EBP_SPECIALGROUPHEAD
= 12,
502 #define EXPLORERBARSTYLEPARTS EXPLORERBARPARTS;
504 enum HEADERCLOSESTATES
{
510 enum HEADERPINSTATES
{
514 EBHP_SELECTEDNORMAL
= 4,
515 EBHP_SELECTEDHOT
= 5,
516 EBHP_SELECTEDPRESSED
= 6,
519 enum IEBARMENUSTATES
{
525 enum NORMALGROUPCOLLAPSESTATES
{
531 enum NORMALGROUPEXPANDSTATES
{
537 enum SPECIALGROUPCOLLAPSESTATES
{
543 enum SPECIALGROUPEXPANDSTATES
{
549 /* FLYOUTSTYLE class */
550 #if defined(_MSC_VER) || defined(__MINGW32__)
551 #define VSCLASS_FLYOUTSTYLE L"FLYOUTSTYLE"
552 #define VSCLASS_FLYOUT L"FLYOUT"
554 static const WCHAR VSCLASS_FLYOUTSTYLE
[] = {'F','L','Y','O','U','T','S','T','Y','L','E',0};
555 static const WCHAR VSCLASS_FLYOUT
[] = {'F','L','Y','O','U','T',0};
566 FLYOUT_LINKHEADER
= 8,
569 #define FLYOUTSTYLEPARTS FLYOUTPARTS;
579 FLYOUTLINK_NORMAL
= 1,
580 FLYOUTLINK_HOVER
= 2,
588 enum LINKHEADERSTATES
{
593 /* HEADERSTYLE class */
594 #if defined(_MSC_VER) || defined(__MINGW32__)
595 #define VSCLASS_HEADERSTYLE L"HEADERSTYLE"
596 #define VSCLASS_HEADER L"HEADER"
598 static const WCHAR VSCLASS_HEADERSTYLE
[] = {'H','E','A','D','E','R','S','T','Y','L','E',0};
599 static const WCHAR VSCLASS_HEADER
[] = {'H','E','A','D','E','R',0};
604 HP_HEADERITEMLEFT
= 2,
605 HP_HEADERITEMRIGHT
= 3,
606 HP_HEADERSORTARROW
= 4,
607 HP_HEADERDROPDOWN
= 5,
608 HP_HEADERDROPDOWNFILTER
= 6,
609 HP_HEADEROVERFLOW
= 7,
612 #define HEADERSTYLEPARTS HEADERPARTS;
614 enum HEADERSTYLESTATES
{
619 enum HEADERITEMSTATES
{
623 HIS_SORTEDNORMAL
= 4,
625 HIS_SORTEDPRESSED
= 6,
629 HIS_ICONSORTEDNORMAL
= 10,
630 HIS_ICONSORTEDHOT
= 11,
631 HIS_ICONSORTEDPRESSED
= 12,
634 enum HEADERITEMLEFTSTATES
{
640 enum HEADERITEMRIGHTSTATES
{
646 enum HEADERSORTARROWSTATES
{
651 enum HEADERDROPDOWNSTATES
{
657 enum HEADERDROPDOWNFILTERSTATES
{
663 enum HEADEROVERFLOWSTATES
{
668 /* LISTBOXSTYLE class */
669 #if defined(_MSC_VER) || defined(__MINGW32__)
670 #define VSCLASS_LISTBOXSTYLE L"LISTBOXSTYLE"
671 #define VSCLASS_LISTBOX L"LISTBOX"
673 static const WCHAR VSCLASS_LISTBOXSTYLE
[] = {'L','I','S','T','B','O','X','S','T','Y','L','E',0};
674 static const WCHAR VSCLASS_LISTBOX
[] = {'L','I','S','T','B','O','X',0};
678 LBCP_BORDER_HSCROLL
= 1,
679 LBCP_BORDER_HVSCROLL
= 2,
680 LBCP_BORDER_NOSCROLL
= 3,
681 LBCP_BORDER_VSCROLL
= 4,
685 #define LISTBOXSTYLEPARTS LISTBOXPARTS;
687 enum BORDER_HSCROLLSTATES
{
694 enum BORDER_HVSCROLLSTATES
{
701 enum BORDER_NOSCROLLSTATES
{
708 enum BORDER_VSCROLLSTATES
{
717 LBPSI_HOTSELECTED
= 2,
719 LBPSI_SELECTEDNOTFOCUS
= 4,
722 /* LISTVIEWSTYLE class */
723 #if defined(_MSC_VER) || defined(__MINGW32__)
724 #define VSCLASS_LISTVIEWSTYLE L"LISTVIEWSTYLE"
725 #define VSCLASS_LISTVIEW L"LISTVIEW"
727 static const WCHAR VSCLASS_LISTVIEWSTYLE
[] = {'L','I','S','T','V','I','E','W','S','T','Y','L','E',0};
728 static const WCHAR VSCLASS_LISTVIEW
[] = {'L','I','S','T','V','I','E','W',0};
735 LVP_LISTSORTEDDETAIL
= 4,
738 LVP_GROUPHEADERLINE
= 7,
739 LVP_EXPANDBUTTON
= 8,
740 LVP_COLLAPSEBUTTON
= 9,
741 LVP_COLUMNDETAIL
= 10,
744 #define LISTVIEWSTYLEPARTS LISTVIEWPARTS;
746 enum LISTITEMSTATES
{
751 LISS_SELECTEDNOTFOCUS
= 5,
752 LISS_HOTSELECTED
= 6,
755 enum GROUPHEADERSTATES
{
758 LVGH_OPENSELECTED
= 3,
759 LVGH_OPENSELECTEDHOT
= 4,
760 LVGH_OPENSELECTEDNOTFOCUSED
= 5,
761 LVGH_OPENSELECTEDNOTFOCUSEDHOT
= 6,
762 LVGH_OPENMIXEDSELECTION
= 7,
763 LVGH_OPENMIXEDSELECTIONHOT
= 8,
766 LVGH_CLOSESELECTED
= 11,
767 LVGH_CLOSESELECTEDHOT
= 12,
768 LVGH_CLOSESELECTEDNOTFOCUSED
= 13,
769 LVGH_CLOSESELECTEDNOTFOCUSEDHOT
= 14,
770 LVGH_CLOSEMIXEDSELECTION
= 15,
771 LVGH_CLOSEMIXEDSELECTIONHOT
= 16,
774 enum GROUPHEADERLINESTATES
{
777 LVGHL_OPENSELECTED
= 3,
778 LVGHL_OPENSELECTEDHOT
= 4,
779 LVGHL_OPENSELECTEDNOTFOCUSED
= 5,
780 LVGHL_OPENSELECTEDNOTFOCUSEDHOT
= 6,
781 LVGHL_OPENMIXEDSELECTION
= 7,
782 LVGHL_OPENMIXEDSELECTIONHOT
= 8,
785 LVGHL_CLOSESELECTED
= 11,
786 LVGHL_CLOSESELECTEDHOT
= 12,
787 LVGHL_CLOSESELECTEDNOTFOCUSED
= 13,
788 LVGHL_CLOSESELECTEDNOTFOCUSEDHOT
= 14,
789 LVGHL_CLOSEMIXEDSELECTION
= 15,
790 LVGHL_CLOSEMIXEDSELECTIONHOT
= 16,
793 enum EXPANDBUTTONSTATES
{
799 enum COLLAPSEBUTTONSTATES
{
805 /* MENUSTYLE class */
806 #if defined(_MSC_VER) || defined(__MINGW32__)
807 #define VSCLASS_MENUSTYLE L"MENUSTYLE"
808 #define VSCLASS_MENU L"MENU"
810 static const WCHAR VSCLASS_MENUSTYLE
[] = {'M','E','N','U','S','T','Y','L','E',0};
811 static const WCHAR VSCLASS_MENU
[] = {'M','E','N','U',0};
815 MENU_MENUITEM_TMSCHEMA
= 1,
816 MENU_MENUDROPDOWN_TMSCHEMA
= 2,
817 MENU_MENUBARITEM_TMSCHEMA
= 3,
818 MENU_MENUBARDROPDOWN_TMSCHEMA
= 4,
819 MENU_CHEVRON_TMSCHEMA
= 5,
820 MENU_SEPARATOR_TMSCHEMA
= 6,
821 MENU_BARBACKGROUND
= 7,
823 MENU_POPUPBACKGROUND
= 9,
824 MENU_POPUPBORDERS
= 10,
825 MENU_POPUPCHECK
= 11,
826 MENU_POPUPCHECKBACKGROUND
= 12,
827 MENU_POPUPGUTTER
= 13,
829 MENU_POPUPSEPARATOR
= 15,
830 MENU_POPUPSUBMENU
= 16,
831 MENU_SYSTEMCLOSE
= 17,
832 MENU_SYSTEMMAXIMIZE
= 18,
833 MENU_SYSTEMMINIMIZE
= 19,
834 MENU_SYSTEMRESTORE
= 20,
837 #define MENUSTYLEPARTS MENUPARTS;
839 enum BARBACKGROUNDSTATES
{
850 MBI_DISABLEDPUSHED
= 6,
853 enum POPUPCHECKSTATES
{
854 MC_CHECKMARKNORMAL
= 1,
855 MC_CHECKMARKDISABLED
= 2,
857 MC_BULLETDISABLED
= 4,
860 enum POPUPCHECKBACKGROUNDSTATES
{
866 enum POPUPITEMSTATES
{
873 enum POPUPSUBMENUSTATES
{
878 enum SYSTEMCLOSESTATES
{
883 enum SYSTEMMAXIMIZESTATES
{
888 enum SYSTEMMINIMIZESTATES
{
893 enum SYSTEMRESTORESTATES
{
898 /* NAVIGATION class */
899 #if defined(_MSC_VER) || defined(__MINGW32__)
900 #define VSCLASS_NAVIGATION L"NAVIGATION"
902 static const WCHAR VSCLASS_NAVIGATION
[] = {'N','A','V','I','G','A','T','I','O','N',0};
905 enum NAVIGATIONPARTS
{
907 NAV_FORWARDBUTTON
= 2,
911 enum NAV_BACKBUTTONSTATES
{
918 enum NAV_FORWARDBUTTONSTATES
{
925 enum NAV_MENUBUTTONSTATES
{
932 /* PROGRESSSTYLE class */
933 #if defined(_MSC_VER) || defined(__MINGW32__)
934 #define VSCLASS_PROGRESSSTYLE L"PROGRESSSTYLE"
935 #define VSCLASS_PROGRESS L"PROGRESS"
937 static const WCHAR VSCLASS_PROGRESSSTYLE
[] = {'P','R','O','G','R','E','S','S','S','T','Y','L','E',0};
938 static const WCHAR VSCLASS_PROGRESS
[] = {'P','R','O','G','R','E','S','S',0};
950 PP_PULSEOVERLAYVERT
= 9,
951 PP_MOVEOVERLAYVERT
= 10,
952 PP_TRANSPARENTBAR
= 11,
953 PP_TRANSPARENTBARVERT
= 12,
956 #define PROGRESSSTYLEPARTS PROGRESSPARTS;
958 enum TRANSPARENTBARSTATES
{
963 enum TRANSPARENTBARVERTSTATES
{
975 enum FILLVERTSTATES
{
982 /* REBARSTYLE class */
983 #if defined(_MSC_VER) || defined(__MINGW32__)
984 #define VSCLASS_REBARSTYLE L"REBARSTYLE"
985 #define VSCLASS_REBAR L"REBAR"
987 static const WCHAR VSCLASS_REBARSTYLE
[] = {'R','E','B','A','R','S','T','Y','L','E',0};
988 static const WCHAR VSCLASS_REBAR
[] = {'R','E','B','A','R',0};
1002 #define REBARSTYLEPARTS REBARPARTS;
1004 enum CHEVRONSTATES
{
1010 enum CHEVRONVERTSTATES
{
1016 enum SPLITTERSTATES
{
1022 enum SPLITTERVERTSTATES
{
1025 SPLITSV_PRESSED
= 3,
1028 /* SCROLLBARSTYLE class */
1029 #if defined(_MSC_VER) || defined(__MINGW32__)
1030 #define VSCLASS_SCROLLBARSTYLE L"SCROLLBARSTYLE"
1031 #define VSCLASS_SCROLLBAR L"SCROLLBAR"
1033 static const WCHAR VSCLASS_SCROLLBARSTYLE
[] = {'S','C','R','O','L','L','B','A','R','S','T','Y','L','E',0};
1034 static const WCHAR VSCLASS_SCROLLBAR
[] = {'S','C','R','O','L','L','B','A','R',0};
1037 enum SCROLLBARPARTS
{
1039 SBP_THUMBBTNHORZ
= 2,
1040 SBP_THUMBBTNVERT
= 3,
1041 SBP_LOWERTRACKHORZ
= 4,
1042 SBP_UPPERTRACKHORZ
= 5,
1043 SBP_LOWERTRACKVERT
= 6,
1044 SBP_UPPERTRACKVERT
= 7,
1045 SBP_GRIPPERHORZ
= 8,
1046 SBP_GRIPPERVERT
= 9,
1048 SBP_SIZEBOXBKGND
= 11,
1051 #define SCROLLBARSTYLEPARTS SCROLLBARPARTS;
1053 enum ARROWBTNSTATES
{
1060 ABS_DOWNPRESSED
= 7,
1061 ABS_DOWNDISABLED
= 8,
1064 ABS_LEFTPRESSED
= 11,
1065 ABS_LEFTDISABLED
= 12,
1066 ABS_RIGHTNORMAL
= 13,
1068 ABS_RIGHTPRESSED
= 15,
1069 ABS_RIGHTDISABLED
= 16,
1073 ABS_RIGHTHOVER
= 20,
1076 enum SCROLLBARSTYLESTATES
{
1084 enum SIZEBOXSTATES
{
1087 SZB_TOPRIGHTALIGN
= 3,
1088 SZB_TOPLEFTALIGN
= 4,
1089 SZB_HALFBOTTOMRIGHTALIGN
= 5,
1090 SZB_HALFBOTTOMLEFTALIGN
= 6,
1091 SZB_HALFTOPRIGHTALIGN
= 7,
1092 SZB_HALFTOPLEFTALIGN
= 8,
1095 /* SPINSTYLE class */
1096 #if defined(_MSC_VER) || defined(__MINGW32__)
1097 #define VSCLASS_SPINSTYLE L"SPINSTYLE"
1099 static const WCHAR VSCLASS_SPINSTYLE
[] = {'S','P','I','N','S','T','Y','L','E',0};
1101 #if defined(_MSC_VER) || defined(__MINGW32__)
1102 #define VSCLASS_SPIN L"SPIN"
1104 static const WCHAR VSCLASS_SPIN
[] = {'S','P','I','N',0};
1114 #define SPINSTYLEPARTS SPINPARTS;
1137 enum DOWNHORZSTATES
{
1144 /* STATUSSTYLE class */
1145 #if defined(_MSC_VER) || defined(__MINGW32__)
1146 #define VSCLASS_STATUSSTYLE L"STATUSSTYLE"
1147 #define VSCLASS_STATUS L"STATUS"
1149 static const WCHAR VSCLASS_STATUSSTYLE
[] = {'S','T','A','T','U','S','S','T','Y','L','E',0};
1150 static const WCHAR VSCLASS_STATUS
[] = {'S','T','A','T','U','S',0};
1159 #define STATUSSTYLEPARTS STATUSPARTS;
1161 /* TABSTYLE class */
1162 #if defined(_MSC_VER) || defined(__MINGW32__)
1163 #define VSCLASS_TABSTYLE L"TABSTYLE"
1164 #define VSCLASS_TAB L"TAB"
1166 static const WCHAR VSCLASS_TABSTYLE
[] = {'T','A','B','S','T','Y','L','E',0};
1167 static const WCHAR VSCLASS_TAB
[] = {'T','A','B',0};
1172 TABP_TABITEMLEFTEDGE
= 2,
1173 TABP_TABITEMRIGHTEDGE
= 3,
1174 TABP_TABITEMBOTHEDGE
= 4,
1175 TABP_TOPTABITEM
= 5,
1176 TABP_TOPTABITEMLEFTEDGE
= 6,
1177 TABP_TOPTABITEMRIGHTEDGE
= 7,
1178 TABP_TOPTABITEMBOTHEDGE
= 8,
1181 TABP_AEROWIZARDBODY
= 11,
1184 #define TABSTYLEPARTS TABPARTS;
1186 enum TABITEMSTATES
{
1194 enum TABITEMLEFTEDGESTATES
{
1202 enum TABITEMRIGHTEDGESTATES
{
1210 enum TABITEMBOTHEDGESTATES
{
1218 enum TOPTABITEMSTATES
{
1226 enum TOPTABITEMLEFTEDGESTATES
{
1229 TTILES_SELECTED
= 3,
1230 TTILES_DISABLED
= 4,
1234 enum TOPTABITEMRIGHTEDGESTATES
{
1237 TTIRES_SELECTED
= 3,
1238 TTIRES_DISABLED
= 4,
1242 enum TOPTABITEMBOTHEDGESTATES
{
1245 TTIBES_SELECTED
= 3,
1246 TTIBES_DISABLED
= 4,
1250 /* TASKDIALOGSTYLE class */
1251 #if defined(_MSC_VER) || defined(__MINGW32__)
1252 #define VSCLASS_TASKDIALOGSTYLE L"TASKDIALOGSTYLE"
1253 #define VSCLASS_TASKDIALOG L"TASKDIALOG"
1255 static const WCHAR VSCLASS_TASKDIALOGSTYLE
[] = {'T','A','S','K','D','I','A','L','O','G','S','T','Y','L','E',0};
1256 static const WCHAR VSCLASS_TASKDIALOG
[] = {'T','A','S','K','D','I','A','L','O','G',0};
1259 enum TASKDIALOGPARTS
{
1260 TDLG_PRIMARYPANEL
= 1,
1261 TDLG_MAININSTRUCTIONPANE
= 2,
1263 TDLG_CONTENTPANE
= 4,
1264 TDLG_CONTENTICON
= 5,
1265 TDLG_EXPANDEDCONTENT
= 6,
1266 TDLG_COMMANDLINKPANE
= 7,
1267 TDLG_SECONDARYPANEL
= 8,
1268 TDLG_CONTROLPANE
= 9,
1269 TDLG_BUTTONSECTION
= 10,
1270 TDLG_BUTTONWRAPPER
= 11,
1271 TDLG_EXPANDOTEXT
= 12,
1272 TDLG_EXPANDOBUTTON
= 13,
1273 TDLG_VERIFICATIONTEXT
= 14,
1274 TDLG_FOOTNOTEPANE
= 15,
1275 TDLG_FOOTNOTEAREA
= 16,
1276 TDLG_FOOTNOTESEPARATOR
= 17,
1277 TDLG_EXPANDEDFOOTERAREA
= 18,
1278 TDLG_PROGRESSBAR
= 19,
1279 TDLG_IMAGEALIGNMENT
= 20,
1280 TDLG_RADIOBUTTONPANE
= 21,
1283 #define TASKDIALOGSTYLEPARTS TASKDIALOGPARTS;
1285 enum CONTENTPANESTATES
{
1286 TDLGCPS_STANDALONE
= 1,
1289 enum EXPANDOBUTTONSTATES
{
1292 TDLGEBS_PRESSED
= 3,
1293 TDLGEBS_EXPANDEDNORMAL
= 4,
1294 TDLGEBS_EXPANDEDHOVER
= 5,
1295 TDLGEBS_EXPANDEDPRESSED
= 6,
1296 TDLGEBS_NORMALDISABLED
= 7,
1297 TDLGEBS_EXPANDEDDISABLED
= 8,
1300 /* TEXTSTYLE class */
1301 #if defined(_MSC_VER) || defined(__MINGW32__)
1302 #define VSCLASS_TEXTSTYLE L"TEXTSTYLE"
1304 static const WCHAR VSCLASS_TEXTSTYLE
[] = {'T','E','X','T','S','T','Y','L','E',0};
1307 enum TEXTSTYLEPARTS
{
1308 TEXT_MAININSTRUCTION
= 1,
1309 TEXT_INSTRUCTION
= 2,
1312 TEXT_SECONDARYTEXT
= 5,
1313 TEXT_HYPERLINKTEXT
= 6,
1316 TEXT_CONTROLLABEL
= 9,
1319 enum HYPERLINKTEXTSTATES
{
1320 TS_HYPERLINK_NORMAL
= 1,
1321 TS_HYPERLINK_HOT
= 2,
1322 TS_HYPERLINK_PRESSED
= 3,
1323 TS_HYPERLINK_DISABLED
= 4,
1326 enum CONTROLLABELSTATES
{
1327 TS_CONTROLLABEL_NORMAL
= 1,
1328 TS_CONTROLLABEL_DISABLED
= 2,
1331 /* TOOLBARSTYLE class */
1332 #if defined(_MSC_VER) || defined(__MINGW32__)
1333 #define VSCLASS_TOOLBARSTYLE L"TOOLBARSTYLE"
1334 #define VSCLASS_TOOLBAR L"TOOLBAR"
1336 static const WCHAR VSCLASS_TOOLBARSTYLE
[] = {'T','O','O','L','B','A','R','S','T','Y','L','E',0};
1337 static const WCHAR VSCLASS_TOOLBAR
[] = {'T','O','O','L','B','A','R',0};
1342 TP_DROPDOWNBUTTON
= 2,
1344 TP_SPLITBUTTONDROPDOWN
= 4,
1346 TP_SEPARATORVERT
= 6,
1347 TP_DROPDOWNBUTTONGLYPH
= 7,
1350 #define TOOLBARSTYLEPARTS TOOLBARPARTS;
1352 enum TOOLBARSTYLESTATES
{
1360 TS_OTHERSIDEHOT
= 8,
1363 /* TOOLTIPSTYLE class */
1364 #if defined(_MSC_VER) || defined(__MINGW32__)
1365 #define VSCLASS_TOOLTIPSTYLE L"TOOLTIPSTYLE"
1366 #define VSCLASS_TOOLTIP L"TOOLTIP"
1368 static const WCHAR VSCLASS_TOOLTIPSTYLE
[] = {'T','O','O','L','T','I','P','S','T','Y','L','E',0};
1369 static const WCHAR VSCLASS_TOOLTIP
[] = {'T','O','O','L','T','I','P',0};
1374 TTP_STANDARDTITLE
= 2,
1376 TTP_BALLOONTITLE
= 4,
1378 TTP_BALLOONSTEM
= 6,
1382 #define TOOLTIPSTYLEPARTS TOOLTIPPARTS;
1390 enum STANDARDSTATES
{
1395 enum BALLOONSTATES
{
1400 enum BALLOONSTEMSTATES
{
1401 TTBSS_POINTINGUPLEFTWALL
= 1,
1402 TTBSS_POINTINGUPCENTERED
= 2,
1403 TTBSS_POINTINGUPRIGHTWALL
= 3,
1404 TTBSS_POINTINGDOWNRIGHTWALL
= 4,
1405 TTBSS_POINTINGDOWNCENTERED
= 5,
1406 TTBSS_POINTINGDOWNLEFTWALL
= 6,
1415 /* TRACKBARSTYLE class */
1416 #if defined(_MSC_VER) || defined(__MINGW32__)
1417 #define VSCLASS_TRACKBARSTYLE L"TRACKBARSTYLE"
1418 #define VSCLASS_TRACKBAR L"TRACKBAR"
1420 static const WCHAR VSCLASS_TRACKBARSTYLE
[] = {'T','R','A','C','K','B','A','R','S','T','Y','L','E',0};
1421 static const WCHAR VSCLASS_TRACKBAR
[] = {'T','R','A','C','K','B','A','R',0};
1424 enum TRACKBARPARTS
{
1428 TKP_THUMBBOTTOM
= 4,
1437 #define TRACKBARSTYLEPARTS TRACKBARPARTS;
1439 enum TRACKBARSTYLESTATES
{
1447 enum TRACKVERTSTATES
{
1459 enum THUMBBOTTOMSTATES
{
1467 enum THUMBTOPSTATES
{
1475 enum THUMBVERTSTATES
{
1483 enum THUMBLEFTSTATES
{
1491 enum THUMBRIGHTSTATES
{
1503 enum TICSVERTSTATES
{
1507 /* TREEVIEWSTYLE class */
1508 #if defined(_MSC_VER) || defined(__MINGW32__)
1509 #define VSCLASS_TREEVIEWSTYLE L"TREEVIEWSTYLE"
1510 #define VSCLASS_TREEVIEW L"TREEVIEW"
1512 static const WCHAR VSCLASS_TREEVIEWSTYLE
[] = {'T','R','E','E','V','I','E','W','S','T','Y','L','E',0};
1513 static const WCHAR VSCLASS_TREEVIEW
[] = {'T','R','E','E','V','I','E','W',0};
1516 enum TREEVIEWPARTS
{
1523 #define TREEVIEWSTYLEPARTS TREEVIEWPARTS;
1525 enum TREEITEMSTATES
{
1530 TREIS_SELECTEDNOTFOCUS
= 5,
1531 TREIS_HOTSELECTED
= 6,
1539 enum HOTGLYPHSTATES
{
1544 /* WINDOWSTYLE class */
1545 #if defined(_MSC_VER) || defined(__MINGW32__)
1546 #define VSCLASS_WINDOWSTYLE L"WINDOWSTYLE"
1547 #define VSCLASS_WINDOW L"WINDOW"
1549 static const WCHAR VSCLASS_WINDOWSTYLE
[] = {'W','I','N','D','O','W','S','T','Y','L','E',0};
1550 static const WCHAR VSCLASS_WINDOW
[] = {'W','I','N','D','O','W',0};
1555 WP_SMALLCAPTION
= 2,
1557 WP_SMALLMINCAPTION
= 4,
1559 WP_SMALLMAXCAPTION
= 6,
1563 WP_SMALLFRAMELEFT
= 10,
1564 WP_SMALLFRAMERIGHT
= 11,
1565 WP_SMALLFRAMEBOTTOM
= 12,
1567 WP_MDISYSBUTTON
= 14,
1569 WP_MDIMINBUTTON
= 16,
1571 WP_CLOSEBUTTON
= 18,
1572 WP_SMALLCLOSEBUTTON
= 19,
1573 WP_MDICLOSEBUTTON
= 20,
1574 WP_RESTOREBUTTON
= 21,
1575 WP_MDIRESTOREBUTTON
= 22,
1577 WP_MDIHELPBUTTON
= 24,
1583 WP_CAPTIONSIZINGTEMPLATE
= 30,
1584 WP_SMALLCAPTIONSIZINGTEMPLATE
= 31,
1585 WP_FRAMELEFTSIZINGTEMPLATE
= 32,
1586 WP_SMALLFRAMELEFTSIZINGTEMPLATE
= 33,
1587 WP_FRAMERIGHTSIZINGTEMPLATE
= 34,
1588 WP_SMALLFRAMERIGHTSIZINGTEMPLATE
= 35,
1589 WP_FRAMEBOTTOMSIZINGTEMPLATE
= 36,
1590 WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE
= 37,
1595 #define WINDOWSTYLEPARTS WINDOWPARTS;
1602 enum CAPTIONSTATES
{
1608 enum MAXCAPTIONSTATES
{
1614 enum MINCAPTIONSTATES
{
1620 enum HORZSCROLLSTATES
{
1627 enum HORZTHUMBSTATES
{
1634 enum VERTSCROLLSTATES
{
1641 enum VERTTHUMBSTATES
{
1648 enum SYSBUTTONSTATES
{
1655 enum MINBUTTONSTATES
{
1662 enum MAXBUTTONSTATES
{
1669 enum RESTOREBUTTONSTATES
{
1676 enum HELPBUTTONSTATES
{
1683 enum CLOSEBUTTONSTATES
{
1690 #endif /* __VSSTYLE_H__ */