Index: vs8/buildtool |
Property changes on: vs8/buildtool |
___________________________________________________________________ |
Modified: svn:ignore |
## -1 +1,3 ## |
1 | 1 | *.user |
| 2 | +Debug |
| 3 | +Release |
Index: vs8/cfgmgr |
Property changes on: vs8/cfgmgr |
___________________________________________________________________ |
Modified: svn:ignore |
## -1 +1,3 ## |
2 | 4 | *.user |
| 5 | +Debug |
| 6 | +Release |
Index: vs8/common |
Property changes on: vs8/common |
___________________________________________________________________ |
Modified: svn:ignore |
## -1 +1,3 ## |
3 | 7 | *.user |
| 8 | +Debug |
| 9 | +Release |
Index: vs8/ddraw |
Property changes on: vs8/ddraw |
___________________________________________________________________ |
Modified: svn:ignore |
## -1 +1,3 ## |
4 | 10 | *.user |
| 11 | +Debug |
| 12 | +Release |
Index: vs8/libMinHook |
Property changes on: vs8/libMinHook |
___________________________________________________________________ |
Modified: svn:ignore |
## -1 +1,3 ## |
5 | 13 | *.user |
| 14 | +Debug |
| 15 | +Release |
Index: dxglcfg/common.h |
— | — | @@ -21,15 +21,29 @@ |
22 | 22 |
|
23 | 23 | #define _CRT_SECURE_NO_WARNINGS
|
24 | 24 |
|
25 | | -
|
| 25 | +#define _WIN32_WINNT 0x0600
|
26 | 26 | #define WIN32_LEAN_AND_MEAN
|
27 | 27 | // Windows Header Files:
|
28 | 28 | #include <windows.h>
|
| 29 | +#include <winnt.h>
|
29 | 30 | #include <commctrl.h>
|
30 | 31 | #include <Uxtheme.h>
|
31 | 32 | extern bool gradientavailable;
|
32 | 33 | extern BOOL (WINAPI *_GradientFill)(HDC hdc, TRIVERTEX* pVertices, ULONG nVertices, void* pMesh, ULONG nMeshElements, DWORD dwMode);
|
33 | 34 |
|
| 35 | +#ifndef DUMMYUNIONNAME6
|
| 36 | +#define DUMMYUNIONNAME6
|
| 37 | +#define DUMMYUNIONNAME7
|
| 38 | +#define DUMMYUNIONNAME8
|
| 39 | +#endif
|
| 40 | +
|
| 41 | +#ifndef WM_THEMECHANGED
|
| 42 | +#define WM_THEMECHANGED 0x031A
|
| 43 | +#endif
|
| 44 | +#ifndef WM_MOUSEHWHEEL
|
| 45 | +#define WM_MOUSEHWHEEL 0x020E
|
| 46 | +#endif
|
| 47 | +
|
34 | 48 | // C RunTime Header Files
|
35 | 49 | #ifdef _DEBUG
|
36 | 50 | #define _CRTDBG_MAP_ALLOC
|
Index: dxglcfg/dxglcfg.cpp |
— | — | @@ -17,7 +17,6 @@ |
18 | 18 | // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
19 | 19 |
|
20 | 20 | #define _WIN32_WINNT 0x0600
|
21 | | -#define _WIN32_IE 0x0300
|
22 | 21 | #define _CRT_SECURE_NO_WARNINGS
|
23 | 22 | #define _CRTDBG_MAP_ALLOC
|
24 | 23 | #include <stdlib.h>
|
— | — | @@ -32,7 +31,7 @@ |
33 | 32 | #include <math.h>
|
34 | 33 | #include <io.h>
|
35 | 34 | #include <Uxtheme.h>
|
36 | | -#include <Vsstyle.h>
|
| 35 | +#include "include/vsstyle.h"
|
37 | 36 | #include "resource.h"
|
38 | 37 | #include "../cfgmgr/LibSha256.h"
|
39 | 38 | #include "../cfgmgr/cfgmgr.h"
|
— | — | @@ -3117,7 +3116,7 @@ |
3118 | 3117 | void *verinfo;
|
3119 | 3118 | COLORREF OldTextColor,OldBackColor;
|
3120 | 3119 | HANDLE token = NULL;
|
3121 | | - TOKEN_ELEVATION elevation;
|
| 3120 | + DWORD elevation;
|
3122 | 3121 | HWND hGLWnd;
|
3123 | 3122 | OPENFILENAME filename;
|
3124 | 3123 | TCHAR selectedfile[MAX_PATH + 1];
|
— | — | @@ -3939,9 +3938,9 @@ |
3940 | 3939 | {
|
3941 | 3940 | if(OpenProcessToken(GetCurrentProcess(),TOKEN_QUERY,&token))
|
3942 | 3941 | {
|
3943 | | - if(GetTokenInformation(token,(TOKEN_INFORMATION_CLASS)TokenElevation,&elevation,sizeof(TOKEN_ELEVATION),(PDWORD)&outlen))
|
| 3942 | + if(GetTokenInformation(token,(TOKEN_INFORMATION_CLASS)20,&elevation,sizeof(DWORD),(PDWORD)&outlen))
|
3944 | 3943 | {
|
3945 | | - if(!elevation.TokenIsElevated)
|
| 3944 | + if(!elevation)
|
3946 | 3945 | {
|
3947 | 3946 | SendDlgItemMessage(hWnd,IDC_ADD,BCM_SETSHIELD,0,TRUE);
|
3948 | 3947 | SendDlgItemMessage(hWnd,IDC_REMOVE,BCM_SETSHIELD,0,TRUE);
|
Index: dxglcfg/dxglcfg.rc |
— | — | @@ -512,7 +512,11 @@ |
513 | 513 | // Icon resources
|
514 | 514 | //
|
515 | 515 | LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
| 516 | +#ifdef _NOBIGICONS
|
| 517 | +IDI_DXGL ICON "..\\common\\dxgl48.ico"
|
| 518 | +#else
|
516 | 519 | IDI_DXGL ICON "..\\common\\dxgl.ico"
|
| 520 | +#endif
|
517 | 521 |
|
518 | 522 |
|
519 | 523 | LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
— | — | @@ -571,5 +575,7 @@ |
572 | 576 | //
|
573 | 577 | // Manifest resources
|
574 | 578 | //
|
| 579 | +#ifndef _NOMANIFEST
|
575 | 580 | LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
576 | 581 | CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "xp.manifest"
|
| 582 | +#endif |
\ No newline at end of file |
Index: dxglcfg/dxglcfg.vcxproj |
— | — | @@ -219,6 +219,7 @@ |
220 | 220 | <ItemGroup>
|
221 | 221 | <ClInclude Include="common.h" />
|
222 | 222 | <ClInclude Include="dxgltest.h" />
|
| 223 | + <ClInclude Include="include\vsstyle.h" />
|
223 | 224 | <ClInclude Include="misc.h" />
|
224 | 225 | <ClInclude Include="MultiDD.h" />
|
225 | 226 | <ClInclude Include="palette.h" />
|
Index: dxglcfg/dxglcfg.vcxproj.filters |
— | — | @@ -13,6 +13,9 @@ |
14 | 14 | <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
15 | 15 | <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
16 | 16 | </Filter>
|
| 17 | + <Filter Include="Header Files\include">
|
| 18 | + <UniqueIdentifier>{00b9be7f-ae4c-4117-ba71-daa3de7c40fd}</UniqueIdentifier>
|
| 19 | + </Filter>
|
17 | 20 | </ItemGroup>
|
18 | 21 | <ItemGroup>
|
19 | 22 | <ResourceCompile Include="dxglcfg.rc">
|
— | — | @@ -47,6 +50,9 @@ |
48 | 51 | <ClInclude Include="timer.h">
|
49 | 52 | <Filter>Header Files</Filter>
|
50 | 53 | </ClInclude>
|
| 54 | + <ClInclude Include="include\vsstyle.h">
|
| 55 | + <Filter>Header Files\include</Filter>
|
| 56 | + </ClInclude>
|
51 | 57 | </ItemGroup>
|
52 | 58 | <ItemGroup>
|
53 | 59 | <Manifest Include="xp.manifest">
|
Index: dxglcfg/include/vsstyle.h |
— | — | @@ -0,0 +1,1739 @@ |
| 2 | +/* |
| 3 | + * Copyright (C) 2011 Piotr Caban for CodeWeavers |
| 4 | + * |
| 5 | + * This library is free software; you can redistribute it and/or |
| 6 | + * modify it under the terms of the GNU Lesser General Public |
| 7 | + * License as published by the Free Software Foundation; either |
| 8 | + * version 2.1 of the License, or (at your option) any later version. |
| 9 | + * |
| 10 | + * This library is distributed in the hope that it will be useful, |
| 11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | + * Lesser General Public License for more details. |
| 14 | + * |
| 15 | + * You should have received a copy of the GNU Lesser General Public |
| 16 | + * License along with this library; if not, write to the Free Software |
| 17 | + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA |
| 18 | + */ |
| 19 | + |
| 20 | +#ifndef __VSSTYLE_H__ |
| 21 | +#define __VSSTYLE_H__ |
| 22 | + |
| 23 | + |
| 24 | +#define TMTVS_RESERVEDLOW 100000 |
| 25 | +#define TMTVS_RESERVEDHIGH 19999 |
| 26 | + |
| 27 | +/* AEROWIZARDSTYLE class */ |
| 28 | +#if defined(__GNUC__) |
| 29 | +#define VSCLASS_AEROWIZARDSTYLE (const WCHAR []){'A','E','R','O','W','I','Z','A','R','D','S','T','Y','L','E',0} |
| 30 | +#define VSCLASS_AEROWIZARD (const WCHAR []){'A','E','R','O','W','I','Z','A','R','D',0} |
| 31 | +#elif defined(_MSC_VER) |
| 32 | +#define VSCLASS_AEROWIZARDSTYLE L"AEROWIZARDSTYLE" |
| 33 | +#define VSCLASS_AEROWIZARD L"AEROWIZARD" |
| 34 | +#else |
| 35 | +static const WCHAR VSCLASS_AEROWIZARDSTYLE[] = {'A','E','R','O','W','I','Z','A','R','D','S','T','Y','L','E',0}; |
| 36 | +static const WCHAR VSCLASS_AEROWIZARD [] = {'A','E','R','O','W','I','Z','A','R','D',0}; |
| 37 | +#endif |
| 38 | + |
| 39 | +enum AEROWIZARDPARTS { |
| 40 | + AW_TITLEBAR = 1, |
| 41 | + AW_HEADERAREA = 2, |
| 42 | + AW_CONTENTAREA = 3, |
| 43 | + AW_COMMANDAREA = 4, |
| 44 | + AW_BUTTON = 5, |
| 45 | +}; |
| 46 | + |
| 47 | +#define AEROWIZARDSTYLEPARTS AEROWIZARDPARTS; |
| 48 | + |
| 49 | +enum TITLEBARSTATES { |
| 50 | + AW_S_TITLEBAR_ACTIVE = 1, |
| 51 | + AW_S_TITLEBAR_INACTIVE = 2, |
| 52 | +}; |
| 53 | + |
| 54 | +enum HEADERAREASTATES { |
| 55 | + AW_S_HEADERAREA_NOMARGIN = 1, |
| 56 | +}; |
| 57 | + |
| 58 | +enum CONTENTAREASTATES { |
| 59 | + AW_S_CONTENTAREA_NOMARGIN = 1, |
| 60 | +}; |
| 61 | + |
| 62 | +/* BUTTONSTYLE class */ |
| 63 | +#if defined(__GNUC__) |
| 64 | +#define VSCLASS_BUTTONSTYLE (const WCHAR []){'B','U','T','T','O','N','S','T','Y','L','E',0} |
| 65 | +#define VSCLASS_BUTTON (const WCHAR []){'B','U','T','T','O','N',0} |
| 66 | +#elif defined(_MSC_VER) |
| 67 | +#define VSCLASS_BUTTONSTYLE L"BUTTONSTYLE" |
| 68 | +#define VSCLASS_BUTTON L"BUTTON" |
| 69 | +#else |
| 70 | +static const WCHAR VSCLASS_BUTTONSTYLE [] = {'B','U','T','T','O','N','S','T','Y','L','E',0}; |
| 71 | +static const WCHAR VSCLASS_BUTTON [] = {'B','U','T','T','O','N',0}; |
| 72 | +#endif |
| 73 | + |
| 74 | +enum BUTTONPARTS { |
| 75 | + BP_PUSHBUTTON = 1, |
| 76 | + BP_RADIOBUTTON = 2, |
| 77 | + BP_CHECKBOX = 3, |
| 78 | + BP_GROUPBOX = 4, |
| 79 | + BP_USERBUTTON = 5, |
| 80 | + BP_COMMANDLINK = 6, |
| 81 | + BP_COMMANDLINKGLYPH = 7, |
| 82 | +}; |
| 83 | + |
| 84 | +#define BUTTONSTYLEPARTS BUTTONPARTS; |
| 85 | + |
| 86 | +enum PUSHBUTTONSTATES { |
| 87 | + PBS_NORMAL = 1, |
| 88 | + PBS_HOT = 2, |
| 89 | + PBS_PRESSED = 3, |
| 90 | + PBS_DISABLED = 4, |
| 91 | + PBS_DEFAULTED = 5, |
| 92 | + PBS_DEFAULTED_ANIMATING = 6, |
| 93 | +}; |
| 94 | + |
| 95 | +enum RADIOBUTTONSTATES { |
| 96 | + RBS_UNCHECKEDNORMAL = 1, |
| 97 | + RBS_UNCHECKEDHOT = 2, |
| 98 | + RBS_UNCHECKEDPRESSED = 3, |
| 99 | + RBS_UNCHECKEDDISABLED = 4, |
| 100 | + RBS_CHECKEDNORMAL = 5, |
| 101 | + RBS_CHECKEDHOT = 6, |
| 102 | + RBS_CHECKEDPRESSED = 7, |
| 103 | + RBS_CHECKEDDISABLED = 8, |
| 104 | +}; |
| 105 | + |
| 106 | +enum CHECKBOXSTATES { |
| 107 | + CBS_UNCHECKEDNORMAL = 1, |
| 108 | + CBS_UNCHECKEDHOT = 2, |
| 109 | + CBS_UNCHECKEDPRESSED = 3, |
| 110 | + CBS_UNCHECKEDDISABLED = 4, |
| 111 | + CBS_CHECKEDNORMAL = 5, |
| 112 | + CBS_CHECKEDHOT = 6, |
| 113 | + CBS_CHECKEDPRESSED = 7, |
| 114 | + CBS_CHECKEDDISABLED = 8, |
| 115 | + CBS_MIXEDNORMAL = 9, |
| 116 | + CBS_MIXEDHOT = 10, |
| 117 | + CBS_MIXEDPRESSED = 11, |
| 118 | + CBS_MIXEDDISABLED = 12, |
| 119 | + CBS_IMPLICITNORMAL = 13, |
| 120 | + CBS_IMPLICITHOT = 14, |
| 121 | + CBS_IMPLICITPRESSED = 15, |
| 122 | + CBS_IMPLICITDISABLED = 16, |
| 123 | + CBS_EXCLUDEDNORMAL = 17, |
| 124 | + CBS_EXCLUDEDHOT = 18, |
| 125 | + CBS_EXCLUDEDPRESSED = 19, |
| 126 | + CBS_EXCLUDEDDISABLED = 20, |
| 127 | +}; |
| 128 | + |
| 129 | +enum GROUPBOXSTATES { |
| 130 | + GBS_NORMAL = 1, |
| 131 | + GBS_DISABLED = 2, |
| 132 | +}; |
| 133 | + |
| 134 | +enum COMMANDLINKSTATES { |
| 135 | + CMDLS_NORMAL = 1, |
| 136 | + CMDLS_HOT = 2, |
| 137 | + CMDLS_PRESSED = 3, |
| 138 | + CMDLS_DISABLED = 4, |
| 139 | + CMDLS_DEFAULTED = 5, |
| 140 | + CMDLS_DEFAULTED_ANIMATING = 6, |
| 141 | +}; |
| 142 | + |
| 143 | +enum COMMANDLINKGLYPHSTATES { |
| 144 | + CMDLGS_NORMAL = 1, |
| 145 | + CMDLGS_HOT = 2, |
| 146 | + CMDLGS_PRESSED = 3, |
| 147 | + CMDLGS_DISABLED = 4, |
| 148 | + CMDLGS_DEFAULTED = 5, |
| 149 | +}; |
| 150 | + |
| 151 | +/* COMBOBOXSTYLE class */ |
| 152 | +#if defined(__GNUC__) |
| 153 | +#define VSCLASS_COMBOBOXSTYLE (const WCHAR []){'C','O','M','B','O','B','O','X','S','T','Y','L','E',0} |
| 154 | +#define VSCLASS_COMBOBOX (const WCHAR []){'C','O','M','B','O','B','O','X',0} |
| 155 | +#elif defined(_MSC_VER) |
| 156 | +#define VSCLASS_COMBOBOXSTYLE L"COMBOBOXSTYLE" |
| 157 | +#define VSCLASS_COMBOBOX L"COMBOBOX" |
| 158 | +#else |
| 159 | +static const WCHAR VSCLASS_COMBOBOXSTYLE [] = {'C','O','M','B','O','B','O','X','S','T','Y','L','E',0}; |
| 160 | +static const WCHAR VSCLASS_COMBOBOX [] = {'C','O','M','B','O','B','O','X',0}; |
| 161 | +#endif |
| 162 | + |
| 163 | +enum COMBOBOXPARTS { |
| 164 | + CP_DROPDOWNBUTTON = 1, |
| 165 | + CP_BACKGROUND = 2, |
| 166 | + CP_TRANSPARENTBACKGROUND = 3, |
| 167 | + CP_BORDER = 4, |
| 168 | + CP_READONLY = 5, |
| 169 | + CP_DROPDOWNBUTTONRIGHT = 6, |
| 170 | + CP_DROPDOWNBUTTONLEFT = 7, |
| 171 | + CP_CUEBANNER = 8, |
| 172 | +}; |
| 173 | + |
| 174 | +#define COMBOBOXSTYLEPARTS COMBOBOXPARTS; |
| 175 | + |
| 176 | +enum COMBOBOXSTYLESTATES { |
| 177 | + CBXS_NORMAL = 1, |
| 178 | + CBXS_HOT = 2, |
| 179 | + CBXS_PRESSED = 3, |
| 180 | + CBXS_DISABLED = 4, |
| 181 | +}; |
| 182 | + |
| 183 | +enum DROPDOWNBUTTONRIGHTSTATES { |
| 184 | + CBXSR_NORMAL = 1, |
| 185 | + CBXSR_HOT = 2, |
| 186 | + CBXSR_PRESSED = 3, |
| 187 | + CBXSR_DISABLED = 4, |
| 188 | +}; |
| 189 | + |
| 190 | +enum DROPDOWNBUTTONLEFTSTATES { |
| 191 | + CBXSL_NORMAL = 1, |
| 192 | + CBXSL_HOT = 2, |
| 193 | + CBXSL_PRESSED = 3, |
| 194 | + CBXSL_DISABLED = 4, |
| 195 | +}; |
| 196 | + |
| 197 | +enum TRANSPARENTBACKGROUNDSTATES { |
| 198 | + CBTBS_NORMAL = 1, |
| 199 | + CBTBS_HOT = 2, |
| 200 | + CBTBS_DISABLED = 3, |
| 201 | + CBTBS_FOCUSED = 4, |
| 202 | +}; |
| 203 | + |
| 204 | +enum BORDERSTATES { |
| 205 | + CBB_NORMAL = 1, |
| 206 | + CBB_HOT = 2, |
| 207 | + CBB_FOCUSED = 3, |
| 208 | + CBB_DISABLED = 4, |
| 209 | +}; |
| 210 | + |
| 211 | +enum READONLYSTATES { |
| 212 | + CBRO_NORMAL = 1, |
| 213 | + CBRO_HOT = 2, |
| 214 | + CBRO_PRESSED = 3, |
| 215 | + CBRO_DISABLED = 4, |
| 216 | +}; |
| 217 | + |
| 218 | +enum CUEBANNERSTATES { |
| 219 | + CBCB_NORMAL = 1, |
| 220 | + CBCB_HOT = 2, |
| 221 | + CBCB_PRESSED = 3, |
| 222 | + CBCB_DISABLED = 4, |
| 223 | +}; |
| 224 | + |
| 225 | +/* COMMUNICATIONSSTYLE class */ |
| 226 | +#if defined(__GNUC__) |
| 227 | +#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} |
| 228 | +#define VSCLASS_COMMUNICATIONS (const WCHAR []){'C','O','M','M','U','N','I','C','A','T','I','O','N','S',0} |
| 229 | +#elif defined(_MSC_VER) |
| 230 | +#define VSCLASS_COMMUNICATIONSSTYLE L"COMMUNICATIONSSTYLE" |
| 231 | +#define VSCLASS_COMMUNICATIONS L"COMMUNICATIONS" |
| 232 | +#else |
| 233 | +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}; |
| 234 | +static const WCHAR VSCLASS_COMMUNICATIONS [] = {'C','O','M','M','U','N','I','C','A','T','I','O','N','S',0}; |
| 235 | +#endif |
| 236 | + |
| 237 | +enum COMMUNICATIONSPARTS { |
| 238 | + CSST_TAB = 1, |
| 239 | +}; |
| 240 | + |
| 241 | +#define COMMUNICATIONSSTYLEPARTS COMMUNICATIONSPARTS; |
| 242 | + |
| 243 | +enum TABSTATES { |
| 244 | + CSTB_NORMAL = 1, |
| 245 | + CSTB_HOT = 2, |
| 246 | + CSTB_SELECTED = 3, |
| 247 | +}; |
| 248 | + |
| 249 | +/* CONTROLPANELSTYLE class */ |
| 250 | +#if defined(__GNUC__) |
| 251 | +#define VSCLASS_CONTROLPANELSTYLE (const WCHAR []){'C','O','N','T','R','O','L','P','A','N','E','L','S','T','Y','L','E',0} |
| 252 | +#define VSCLASS_CONTROLPANEL (const WCHAR []){'C','O','N','T','R','O','L','P','A','N','E','L',0} |
| 253 | +#elif defined(_MSC_VER) |
| 254 | +#define VSCLASS_CONTROLPANELSTYLE L"CONTROLPANELSTYLE" |
| 255 | +#define VSCLASS_CONTROLPANEL L"CONTROLPANEL" |
| 256 | +#else |
| 257 | +static const WCHAR VSCLASS_CONTROLPANELSTYLE [] = {'C','O','N','T','R','O','L','P','A','N','E','L','S','T','Y','L','E',0}; |
| 258 | +static const WCHAR VSCLASS_CONTROLPANEL [] = {'C','O','N','T','R','O','L','P','A','N','E','L',0}; |
| 259 | +#endif |
| 260 | + |
| 261 | +enum CONTROLPANELPARTS { |
| 262 | + CPANEL_NAVIGATIONPANE = 1, |
| 263 | + CPANEL_CONTENTPANE = 2, |
| 264 | + CPANEL_NAVIGATIONPANELABEL = 3, |
| 265 | + CPANEL_CONTENTPANELABEL = 4, |
| 266 | + CPANEL_TITLE = 5, |
| 267 | + CPANEL_BODYTEXT = 6, |
| 268 | + CPANEL_HELPLINK = 7, |
| 269 | + CPANEL_TASKLINK = 8, |
| 270 | + CPANEL_GROUPTEXT = 9, |
| 271 | + CPANEL_CONTENTLINK = 10, |
| 272 | + CPANEL_SECTIONTITLELINK = 11, |
| 273 | + CPANEL_LARGECOMMANDAREA = 12, |
| 274 | + CPANEL_SMALLCOMMANDAREA = 13, |
| 275 | + CPANEL_BUTTON = 14, |
| 276 | + CPANEL_MESSAGETEXT = 15, |
| 277 | + CPANEL_NAVIGATIONPANELINE = 16, |
| 278 | + CPANEL_CONTENTPANELINE = 17, |
| 279 | + CPANEL_BANNERAREA = 18, |
| 280 | + CPANEL_BODYTITLE = 19, |
| 281 | +}; |
| 282 | + |
| 283 | +#define CONTROLPANELSTYLEPARTS CONTROLPANELPARTS; |
| 284 | + |
| 285 | +enum HELPLINKSTATES { |
| 286 | + CPHL_NORMAL = 1, |
| 287 | + CPHL_HOT = 2, |
| 288 | + CPHL_PRESSED = 3, |
| 289 | + CPHL_DISABLED = 4, |
| 290 | +}; |
| 291 | + |
| 292 | +enum TASKLINKSTATES { |
| 293 | + CPTL_NORMAL = 1, |
| 294 | + CPTL_HOT = 2, |
| 295 | + CPTL_PRESSED = 3, |
| 296 | + CPTL_DISABLED = 4, |
| 297 | + CPTL_PAGE = 5, |
| 298 | +}; |
| 299 | + |
| 300 | +enum CONTENTLINKSTATES { |
| 301 | + CPCL_NORMAL = 1, |
| 302 | + CPCL_HOT = 2, |
| 303 | + CPCL_PRESSED = 3, |
| 304 | + CPCL_DISABLED = 4, |
| 305 | +}; |
| 306 | + |
| 307 | +enum SECTIONTITLELINKSTATES { |
| 308 | + CPSTL_NORMAL = 1, |
| 309 | + CPSTL_HOT = 2, |
| 310 | +}; |
| 311 | + |
| 312 | +/* DATEPICKERSTYLE class */ |
| 313 | +#if defined(__GNUC__) |
| 314 | +#define VSCLASS_DATEPICKERSTYLE (const WCHAR []){'D','A','T','E','P','I','C','K','E','R','S','T','Y','L','E',0} |
| 315 | +#define VSCLASS_DATEPICKER (const WCHAR []){'D','A','T','E','P','I','C','K','E','R',0} |
| 316 | +#elif defined(_MSC_VER) |
| 317 | +#define VSCLASS_DATEPICKERSTYLE L"DATEPICKERSTYLE" |
| 318 | +#define VSCLASS_DATEPICKER L"DATEPICKER" |
| 319 | +#else |
| 320 | +static const WCHAR VSCLASS_DATEPICKERSTYLE[] = {'D','A','T','E','P','I','C','K','E','R','S','T','Y','L','E',0}; |
| 321 | +static const WCHAR VSCLASS_DATEPICKER [] = {'D','A','T','E','P','I','C','K','E','R',0}; |
| 322 | +#endif |
| 323 | + |
| 324 | +enum DATEPICKERPARTS { |
| 325 | + DP_DATETEXT = 1, |
| 326 | + DP_DATEBORDER = 2, |
| 327 | + DP_SHOWCALENDARBUTTONRIGHT = 3, |
| 328 | +}; |
| 329 | + |
| 330 | +#define DATEPICKERSTYLEPARTS DATEPICKERPARTS; |
| 331 | + |
| 332 | +enum DATETEXTSTATES { |
| 333 | + DPDT_NORMAL = 1, |
| 334 | + DPDT_DISABLED = 2, |
| 335 | + DPDT_SELECTED = 3, |
| 336 | +}; |
| 337 | + |
| 338 | +enum DATEBORDERSTATES { |
| 339 | + DPDB_NORMAL = 1, |
| 340 | + DPDB_HOT = 2, |
| 341 | + DPDB_FOCUSED = 3, |
| 342 | + DPDB_DISABLED = 4, |
| 343 | +}; |
| 344 | + |
| 345 | +enum SHOWCALENDARBUTTONRIGHTSTATES { |
| 346 | + DPSCBR_NORMAL = 1, |
| 347 | + DPSCBR_HOT = 2, |
| 348 | + DPSCBR_PRESSED = 3, |
| 349 | + DPSCBR_DISABLED = 4, |
| 350 | +}; |
| 351 | + |
| 352 | +/* DRAGDROPSTYLE class */ |
| 353 | +#if defined(__GNUC__) |
| 354 | +#define VSCLASS_DRAGDROPSTYLE (const WCHAR []){'D','R','A','G','D','R','O','P','S','T','Y','L','E',0} |
| 355 | +#define VSCLASS_DRAGDROP (const WCHAR []){'D','R','A','G','D','R','O','P',0} |
| 356 | +#elif defined(_MSC_VER) |
| 357 | +#define VSCLASS_DRAGDROPSTYLE L"DRAGDROPSTYLE" |
| 358 | +#define VSCLASS_DRAGDROP L"DRAGDROP" |
| 359 | +#else |
| 360 | +static const WCHAR VSCLASS_DRAGDROPSTYLE [] = {'D','R','A','G','D','R','O','P','S','T','Y','L','E',0}; |
| 361 | +static const WCHAR VSCLASS_DRAGDROP [] = {'D','R','A','G','D','R','O','P',0}; |
| 362 | +#endif |
| 363 | + |
| 364 | +enum DRAGDROPPARTS { |
| 365 | + DD_COPY = 1, |
| 366 | + DD_MOVE = 2, |
| 367 | + DD_UPDATEMETADATA = 3, |
| 368 | + DD_CREATELINK = 4, |
| 369 | + DD_WARNING = 5, |
| 370 | + DD_NONE = 6, |
| 371 | + DD_IMAGEBG = 7, |
| 372 | + DD_TEXTBG = 8, |
| 373 | +}; |
| 374 | + |
| 375 | +#define DRAGDROPSTYLEPARTS DRAGDROPPARTS; |
| 376 | + |
| 377 | +enum COPYSTATES { |
| 378 | + DDCOPY_HIGHLIGHT = 1, |
| 379 | + DDCOPY_NOHIGHLIGHT = 2, |
| 380 | +}; |
| 381 | + |
| 382 | +enum MOVESTATES { |
| 383 | + DDMOVE_HIGHLIGHT = 1, |
| 384 | + DDMOVE_NOHIGHLIGHT = 2, |
| 385 | +}; |
| 386 | + |
| 387 | +enum UPDATEMETADATASTATES { |
| 388 | + DDUPDATEMETADATA_HIGHLIGHT = 1, |
| 389 | + DDUPDATEMETADATA_NOHIGHLIGHT = 2, |
| 390 | +}; |
| 391 | + |
| 392 | +enum CREATELINKSTATES { |
| 393 | + DDCREATELINK_HIGHLIGHT = 1, |
| 394 | + DDCREATELINK_NOHIGHLIGHT = 2, |
| 395 | +}; |
| 396 | + |
| 397 | +enum WARNINGSTATES { |
| 398 | + DDWARNING_HIGHLIGHT = 1, |
| 399 | + DDWARNING_NOHIGHLIGHT = 2, |
| 400 | +}; |
| 401 | + |
| 402 | +enum NONESTATES { |
| 403 | + DDNONE_HIGHLIGHT = 1, |
| 404 | + DDNONE_NOHIGHLIGHT = 2, |
| 405 | +}; |
| 406 | + |
| 407 | +/* EDITSTYLE class */ |
| 408 | +#if defined(__GNUC__) |
| 409 | +#define VSCLASS_EDITSTYLE (const WCHAR []){'E','D','I','T','S','T','Y','L','E',0} |
| 410 | +#define VSCLASS_EDIT (const WCHAR []){'E','D','I','T',0} |
| 411 | +#elif defined(_MSC_VER) |
| 412 | +#define VSCLASS_EDITSTYLE L"EDITSTYLE" |
| 413 | +#define VSCLASS_EDIT L"EDIT" |
| 414 | +#else |
| 415 | +static const WCHAR VSCLASS_EDITSTYLE [] = {'E','D','I','T','S','T','Y','L','E',0}; |
| 416 | +static const WCHAR VSCLASS_EDIT [] = {'E','D','I','T',0}; |
| 417 | +#endif |
| 418 | + |
| 419 | +enum EDITPARTS { |
| 420 | + EP_EDITTEXT = 1, |
| 421 | + EP_CARET = 2, |
| 422 | + EP_BACKGROUND = 3, |
| 423 | + EP_PASSWORD = 4, |
| 424 | + EP_BACKGROUNDWITHBORDER = 5, |
| 425 | + EP_EDITBORDER_NOSCROLL = 6, |
| 426 | + EP_EDITBORDER_HSCROLL = 7, |
| 427 | + EP_EDITBORDER_VSCROLL = 8, |
| 428 | + EP_EDITBORDER_HVSCROLL = 9, |
| 429 | +}; |
| 430 | + |
| 431 | +#define EDITSTYLEPARTS EDITPARTS; |
| 432 | + |
| 433 | +enum EDITTEXTSTATES { |
| 434 | + ETS_NORMAL = 1, |
| 435 | + ETS_HOT = 2, |
| 436 | + ETS_SELECTED = 3, |
| 437 | + ETS_DISABLED = 4, |
| 438 | + ETS_FOCUSED = 5, |
| 439 | + ETS_READONLY = 6, |
| 440 | + ETS_ASSIST = 7, |
| 441 | + ETS_CUEBANNER = 8, |
| 442 | +}; |
| 443 | + |
| 444 | +enum BACKGROUNDSTATES { |
| 445 | + EBS_NORMAL = 1, |
| 446 | + EBS_HOT = 2, |
| 447 | + EBS_DISABLED = 3, |
| 448 | + EBS_FOCUSED = 4, |
| 449 | + EBS_READONLY = 5, |
| 450 | + EBS_ASSIST = 6, |
| 451 | +}; |
| 452 | + |
| 453 | +enum BACKGROUNDWITHBORDERSTATES { |
| 454 | + EBWBS_NORMAL = 1, |
| 455 | + EBWBS_HOT = 2, |
| 456 | + EBWBS_DISABLED = 3, |
| 457 | + EBWBS_FOCUSED = 4, |
| 458 | +}; |
| 459 | + |
| 460 | +enum EDITBORDER_NOSCROLLSTATES { |
| 461 | + EPSN_NORMAL = 1, |
| 462 | + EPSN_HOT = 2, |
| 463 | + EPSN_FOCUSED = 3, |
| 464 | + EPSN_DISABLED = 4, |
| 465 | +}; |
| 466 | + |
| 467 | +enum EDITBORDER_HSCROLLSTATES { |
| 468 | + EPSH_NORMAL = 1, |
| 469 | + EPSH_HOT = 2, |
| 470 | + EPSH_FOCUSED = 3, |
| 471 | + EPSH_DISABLED = 4, |
| 472 | +}; |
| 473 | + |
| 474 | +enum EDITBORDER_VSCROLLSTATES { |
| 475 | + EPSV_NORMAL = 1, |
| 476 | + EPSV_HOT = 2, |
| 477 | + EPSV_FOCUSED = 3, |
| 478 | + EPSV_DISABLED = 4, |
| 479 | +}; |
| 480 | + |
| 481 | +enum EDITBORDER_HVSCROLLSTATES { |
| 482 | + EPSHV_NORMAL = 1, |
| 483 | + EPSHV_HOT = 2, |
| 484 | + EPSHV_FOCUSED = 3, |
| 485 | + EPSHV_DISABLED = 4, |
| 486 | +}; |
| 487 | + |
| 488 | +/* EXPLORERBARSTYLE class */ |
| 489 | +#if defined(__GNUC__) |
| 490 | +#define VSCLASS_EXPLORERBARSTYLE (const WCHAR []){'E','X','P','L','O','R','E','R','B','A','R','S','T','Y','L','E',0} |
| 491 | +#define VSCLASS_EXPLORERBAR (const WCHAR []){'E','X','P','L','O','R','E','R','B','A','R',0} |
| 492 | +#elif defined(_MSC_VER) |
| 493 | +#define VSCLASS_EXPLORERBARSTYLE L"EXPLORERBARSTYLE" |
| 494 | +#define VSCLASS_EXPLORERBAR L"EXPLORERBAR" |
| 495 | +#else |
| 496 | +static const WCHAR VSCLASS_EXPLORERBARSTYLE [] = {'E','X','P','L','O','R','E','R','B','A','R','S','T','Y','L','E',0}; |
| 497 | +static const WCHAR VSCLASS_EXPLORERBAR [] = {'E','X','P','L','O','R','E','R','B','A','R',0}; |
| 498 | +#endif |
| 499 | + |
| 500 | +enum EXPLORERBARPARTS { |
| 501 | + EBP_HEADERBACKGROUND = 1, |
| 502 | + EBP_HEADERCLOSE = 2, |
| 503 | + EBP_HEADERPIN = 3, |
| 504 | + EBP_IEBARMENU = 4, |
| 505 | + EBP_NORMALGROUPBACKGROUND = 5, |
| 506 | + EBP_NORMALGROUPCOLLAPSE = 6, |
| 507 | + EBP_NORMALGROUPEXPAND = 7, |
| 508 | + EBP_NORMALGROUPHEAD = 8, |
| 509 | + EBP_SPECIALGROUPBACKGROUND = 9, |
| 510 | + EBP_SPECIALGROUPCOLLAPSE = 10, |
| 511 | + EBP_SPECIALGROUPEXPAND = 11, |
| 512 | + EBP_SPECIALGROUPHEAD = 12, |
| 513 | +}; |
| 514 | + |
| 515 | +#define EXPLORERBARSTYLEPARTS EXPLORERBARPARTS; |
| 516 | + |
| 517 | +enum HEADERCLOSESTATES { |
| 518 | + EBHC_NORMAL = 1, |
| 519 | + EBHC_HOT = 2, |
| 520 | + EBHC_PRESSED = 3, |
| 521 | +}; |
| 522 | + |
| 523 | +enum HEADERPINSTATES { |
| 524 | + EBHP_NORMAL = 1, |
| 525 | + EBHP_HOT = 2, |
| 526 | + EBHP_PRESSED = 3, |
| 527 | + EBHP_SELECTEDNORMAL = 4, |
| 528 | + EBHP_SELECTEDHOT = 5, |
| 529 | + EBHP_SELECTEDPRESSED = 6, |
| 530 | +}; |
| 531 | + |
| 532 | +enum IEBARMENUSTATES { |
| 533 | + EBM_NORMAL = 1, |
| 534 | + EBM_HOT = 2, |
| 535 | + EBM_PRESSED = 3, |
| 536 | +}; |
| 537 | + |
| 538 | +enum NORMALGROUPCOLLAPSESTATES { |
| 539 | + EBNGC_NORMAL = 1, |
| 540 | + EBNGC_HOT = 2, |
| 541 | + EBNGC_PRESSED = 3, |
| 542 | +}; |
| 543 | + |
| 544 | +enum NORMALGROUPEXPANDSTATES { |
| 545 | + EBNGE_NORMAL = 1, |
| 546 | + EBNGE_HOT = 2, |
| 547 | + EBNGE_PRESSED = 3, |
| 548 | +}; |
| 549 | + |
| 550 | +enum SPECIALGROUPCOLLAPSESTATES { |
| 551 | + EBSGC_NORMAL = 1, |
| 552 | + EBSGC_HOT = 2, |
| 553 | + EBSGC_PRESSED = 3, |
| 554 | +}; |
| 555 | + |
| 556 | +enum SPECIALGROUPEXPANDSTATES { |
| 557 | + EBSGE_NORMAL = 1, |
| 558 | + EBSGE_HOT = 2, |
| 559 | + EBSGE_PRESSED = 3, |
| 560 | +}; |
| 561 | + |
| 562 | +/* FLYOUTSTYLE class */ |
| 563 | +#if defined(__GNUC__) |
| 564 | +#define VSCLASS_FLYOUTSTYLE (const WCHAR []){'F','L','Y','O','U','T','S','T','Y','L','E',0} |
| 565 | +#define VSCLASS_FLYOUT (const WCHAR []){'F','L','Y','O','U','T',0} |
| 566 | +#elif defined(_MSC_VER) |
| 567 | +#define VSCLASS_FLYOUTSTYLE L"FLYOUTSTYLE" |
| 568 | +#define VSCLASS_FLYOUT L"FLYOUT" |
| 569 | +#else |
| 570 | +static const WCHAR VSCLASS_FLYOUTSTYLE [] = {'F','L','Y','O','U','T','S','T','Y','L','E',0}; |
| 571 | +static const WCHAR VSCLASS_FLYOUT [] = {'F','L','Y','O','U','T',0}; |
| 572 | +#endif |
| 573 | + |
| 574 | +enum FLYOUTPARTS { |
| 575 | + FLYOUT_HEADER = 1, |
| 576 | + FLYOUT_BODY = 2, |
| 577 | + FLYOUT_LABEL = 3, |
| 578 | + FLYOUT_LINK = 4, |
| 579 | + FLYOUT_DIVIDER = 5, |
| 580 | + FLYOUT_WINDOW = 6, |
| 581 | + FLYOUT_LINKAREA = 7, |
| 582 | + FLYOUT_LINKHEADER = 8, |
| 583 | +}; |
| 584 | + |
| 585 | +#define FLYOUTSTYLEPARTS FLYOUTPARTS; |
| 586 | + |
| 587 | +enum LABELSTATES { |
| 588 | + FLS_NORMAL = 1, |
| 589 | + FLS_SELECTED = 2, |
| 590 | + FLS_EMPHASIZED = 3, |
| 591 | + FLS_DISABLED = 4, |
| 592 | +}; |
| 593 | + |
| 594 | +enum LINKSTATES { |
| 595 | + FLYOUTLINK_NORMAL = 1, |
| 596 | + FLYOUTLINK_HOVER = 2, |
| 597 | +}; |
| 598 | + |
| 599 | +enum BODYSTATES { |
| 600 | + FBS_NORMAL = 1, |
| 601 | + FBS_EMPHASIZED = 2, |
| 602 | +}; |
| 603 | + |
| 604 | +enum LINKHEADERSTATES { |
| 605 | + FLH_NORMAL = 1, |
| 606 | + FLH_HOVER = 2, |
| 607 | +}; |
| 608 | + |
| 609 | +/* HEADERSTYLE class */ |
| 610 | +#if defined(__GNUC__) |
| 611 | +#define VSCLASS_HEADERSTYLE (const WCHAR []){'H','E','A','D','E','R','S','T','Y','L','E',0} |
| 612 | +#define VSCLASS_HEADER (const WCHAR []){'H','E','A','D','E','R',0} |
| 613 | +#elif defined(_MSC_VER) |
| 614 | +#define VSCLASS_HEADERSTYLE L"HEADERSTYLE" |
| 615 | +#define VSCLASS_HEADER L"HEADER" |
| 616 | +#else |
| 617 | +static const WCHAR VSCLASS_HEADERSTYLE [] = {'H','E','A','D','E','R','S','T','Y','L','E',0}; |
| 618 | +static const WCHAR VSCLASS_HEADER [] = {'H','E','A','D','E','R',0}; |
| 619 | +#endif |
| 620 | + |
| 621 | +enum HEADERPARTS { |
| 622 | + HP_HEADERITEM = 1, |
| 623 | + HP_HEADERITEMLEFT = 2, |
| 624 | + HP_HEADERITEMRIGHT = 3, |
| 625 | + HP_HEADERSORTARROW = 4, |
| 626 | + HP_HEADERDROPDOWN = 5, |
| 627 | + HP_HEADERDROPDOWNFILTER = 6, |
| 628 | + HP_HEADEROVERFLOW = 7, |
| 629 | +}; |
| 630 | + |
| 631 | +#define HEADERSTYLEPARTS HEADERPARTS; |
| 632 | + |
| 633 | +enum HEADERSTYLESTATES { |
| 634 | + HBG_DETAILS = 1, |
| 635 | + HBG_ICON = 2, |
| 636 | +}; |
| 637 | + |
| 638 | +enum HEADERITEMSTATES { |
| 639 | + HIS_NORMAL = 1, |
| 640 | + HIS_HOT = 2, |
| 641 | + HIS_PRESSED = 3, |
| 642 | + HIS_SORTEDNORMAL = 4, |
| 643 | + HIS_SORTEDHOT = 5, |
| 644 | + HIS_SORTEDPRESSED = 6, |
| 645 | + HIS_ICONNORMAL = 7, |
| 646 | + HIS_ICONHOT = 8, |
| 647 | + HIS_ICONPRESSED = 9, |
| 648 | + HIS_ICONSORTEDNORMAL = 10, |
| 649 | + HIS_ICONSORTEDHOT = 11, |
| 650 | + HIS_ICONSORTEDPRESSED = 12, |
| 651 | +}; |
| 652 | + |
| 653 | +enum HEADERITEMLEFTSTATES { |
| 654 | + HILS_NORMAL = 1, |
| 655 | + HILS_HOT = 2, |
| 656 | + HILS_PRESSED = 3, |
| 657 | +}; |
| 658 | + |
| 659 | +enum HEADERITEMRIGHTSTATES { |
| 660 | + HIRS_NORMAL = 1, |
| 661 | + HIRS_HOT = 2, |
| 662 | + HIRS_PRESSED = 3, |
| 663 | +}; |
| 664 | + |
| 665 | +enum HEADERSORTARROWSTATES { |
| 666 | + HSAS_SORTEDUP = 1, |
| 667 | + HSAS_SORTEDDOWN = 2, |
| 668 | +}; |
| 669 | + |
| 670 | +enum HEADERDROPDOWNSTATES { |
| 671 | + HDDS_NORMAL = 1, |
| 672 | + HDDS_SOFTHOT = 2, |
| 673 | + HDDS_HOT = 3, |
| 674 | +}; |
| 675 | + |
| 676 | +enum HEADERDROPDOWNFILTERSTATES { |
| 677 | + HDDFS_NORMAL = 1, |
| 678 | + HDDFS_SOFTHOT = 2, |
| 679 | + HDDFS_HOT = 3, |
| 680 | +}; |
| 681 | + |
| 682 | +enum HEADEROVERFLOWSTATES { |
| 683 | + HOFS_NORMAL = 1, |
| 684 | + HOFS_HOT = 2, |
| 685 | +}; |
| 686 | + |
| 687 | +/* LISTBOXSTYLE class */ |
| 688 | +#if defined(__GNUC__) |
| 689 | +#define VSCLASS_LISTBOXSTYLE (const WCHAR []){'L','I','S','T','B','O','X','S','T','Y','L','E',0} |
| 690 | +#define VSCLASS_LISTBOX (const WCHAR []){'L','I','S','T','B','O','X',0} |
| 691 | +#elif defined(_MSC_VER) |
| 692 | +#define VSCLASS_LISTBOXSTYLE L"LISTBOXSTYLE" |
| 693 | +#define VSCLASS_LISTBOX L"LISTBOX" |
| 694 | +#else |
| 695 | +static const WCHAR VSCLASS_LISTBOXSTYLE [] = {'L','I','S','T','B','O','X','S','T','Y','L','E',0}; |
| 696 | +static const WCHAR VSCLASS_LISTBOX[] = {'L','I','S','T','B','O','X',0}; |
| 697 | +#endif |
| 698 | + |
| 699 | +enum LISTBOXPARTS { |
| 700 | + LBCP_BORDER_HSCROLL = 1, |
| 701 | + LBCP_BORDER_HVSCROLL = 2, |
| 702 | + LBCP_BORDER_NOSCROLL = 3, |
| 703 | + LBCP_BORDER_VSCROLL = 4, |
| 704 | + LBCP_ITEM = 5, |
| 705 | +}; |
| 706 | + |
| 707 | +#define LISTBOXSTYLEPARTS LISTBOXPARTS; |
| 708 | + |
| 709 | +enum BORDER_HSCROLLSTATES { |
| 710 | + LBPSH_NORMAL = 1, |
| 711 | + LBPSH_FOCUSED = 2, |
| 712 | + LBPSH_HOT = 3, |
| 713 | + LBPSH_DISABLED = 4, |
| 714 | +}; |
| 715 | + |
| 716 | +enum BORDER_HVSCROLLSTATES { |
| 717 | + LBPSHV_NORMAL = 1, |
| 718 | + LBPSHV_FOCUSED = 2, |
| 719 | + LBPSHV_HOT = 3, |
| 720 | + LBPSHV_DISABLED = 4, |
| 721 | +}; |
| 722 | + |
| 723 | +enum BORDER_NOSCROLLSTATES { |
| 724 | + LBPSN_NORMAL = 1, |
| 725 | + LBPSN_FOCUSED = 2, |
| 726 | + LBPSN_HOT = 3, |
| 727 | + LBPSN_DISABLED = 4, |
| 728 | +}; |
| 729 | + |
| 730 | +enum BORDER_VSCROLLSTATES { |
| 731 | + LBPSV_NORMAL = 1, |
| 732 | + LBPSV_FOCUSED = 2, |
| 733 | + LBPSV_HOT = 3, |
| 734 | + LBPSV_DISABLED = 4, |
| 735 | +}; |
| 736 | + |
| 737 | +enum ITEMSTATES { |
| 738 | + LBPSI_HOT = 1, |
| 739 | + LBPSI_HOTSELECTED = 2, |
| 740 | + LBPSI_SELECTED = 3, |
| 741 | + LBPSI_SELECTEDNOTFOCUS = 4, |
| 742 | +}; |
| 743 | + |
| 744 | +/* LISTVIEWSTYLE class */ |
| 745 | +#if defined(__GNUC__) |
| 746 | +#define VSCLASS_LISTVIEWSTYLE (const WCHAR []){'L','I','S','T','V','I','E','W','S','T','Y','L','E',0} |
| 747 | +#define VSCLASS_LISTVIEW (const WCHAR []){'L','I','S','T','V','I','E','W',0} |
| 748 | +#elif defined(_MSC_VER) |
| 749 | +#define VSCLASS_LISTVIEWSTYLE L"LISTVIEWSTYLE" |
| 750 | +#define VSCLASS_LISTVIEW L"LISTVIEW" |
| 751 | +#else |
| 752 | +static const WCHAR VSCLASS_LISTVIEWSTYLE [] = {'L','I','S','T','V','I','E','W','S','T','Y','L','E',0}; |
| 753 | +static const WCHAR VSCLASS_LISTVIEW [] = {'L','I','S','T','V','I','E','W',0}; |
| 754 | +#endif |
| 755 | + |
| 756 | +enum LISTVIEWPARTS { |
| 757 | + LVP_LISTITEM = 1, |
| 758 | + LVP_LISTGROUP = 2, |
| 759 | + LVP_LISTDETAIL = 3, |
| 760 | + LVP_LISTSORTEDDETAIL = 4, |
| 761 | + LVP_EMPTYTEXT = 5, |
| 762 | + LVP_GROUPHEADER = 6, |
| 763 | + LVP_GROUPHEADERLINE = 7, |
| 764 | + LVP_EXPANDBUTTON = 8, |
| 765 | + LVP_COLLAPSEBUTTON = 9, |
| 766 | + LVP_COLUMNDETAIL = 10, |
| 767 | +}; |
| 768 | + |
| 769 | +#define LISTVIEWSTYLEPARTS LISTVIEWPARTS; |
| 770 | + |
| 771 | +enum LISTITEMSTATES { |
| 772 | + LISS_NORMAL = 1, |
| 773 | + LISS_HOT = 2, |
| 774 | + LISS_SELECTED = 3, |
| 775 | + LISS_DISABLED = 4, |
| 776 | + LISS_SELECTEDNOTFOCUS = 5, |
| 777 | + LISS_HOTSELECTED = 6, |
| 778 | +}; |
| 779 | + |
| 780 | +enum GROUPHEADERSTATES { |
| 781 | + LVGH_OPEN = 1, |
| 782 | + LVGH_OPENHOT = 2, |
| 783 | + LVGH_OPENSELECTED = 3, |
| 784 | + LVGH_OPENSELECTEDHOT = 4, |
| 785 | + LVGH_OPENSELECTEDNOTFOCUSED = 5, |
| 786 | + LVGH_OPENSELECTEDNOTFOCUSEDHOT = 6, |
| 787 | + LVGH_OPENMIXEDSELECTION = 7, |
| 788 | + LVGH_OPENMIXEDSELECTIONHOT = 8, |
| 789 | + LVGH_CLOSE = 9, |
| 790 | + LVGH_CLOSEHOT = 10, |
| 791 | + LVGH_CLOSESELECTED = 11, |
| 792 | + LVGH_CLOSESELECTEDHOT = 12, |
| 793 | + LVGH_CLOSESELECTEDNOTFOCUSED = 13, |
| 794 | + LVGH_CLOSESELECTEDNOTFOCUSEDHOT = 14, |
| 795 | + LVGH_CLOSEMIXEDSELECTION = 15, |
| 796 | + LVGH_CLOSEMIXEDSELECTIONHOT = 16, |
| 797 | +}; |
| 798 | + |
| 799 | +enum GROUPHEADERLINESTATES { |
| 800 | + LVGHL_OPEN = 1, |
| 801 | + LVGHL_OPENHOT = 2, |
| 802 | + LVGHL_OPENSELECTED = 3, |
| 803 | + LVGHL_OPENSELECTEDHOT = 4, |
| 804 | + LVGHL_OPENSELECTEDNOTFOCUSED = 5, |
| 805 | + LVGHL_OPENSELECTEDNOTFOCUSEDHOT = 6, |
| 806 | + LVGHL_OPENMIXEDSELECTION = 7, |
| 807 | + LVGHL_OPENMIXEDSELECTIONHOT = 8, |
| 808 | + LVGHL_CLOSE = 9, |
| 809 | + LVGHL_CLOSEHOT = 10, |
| 810 | + LVGHL_CLOSESELECTED = 11, |
| 811 | + LVGHL_CLOSESELECTEDHOT = 12, |
| 812 | + LVGHL_CLOSESELECTEDNOTFOCUSED = 13, |
| 813 | + LVGHL_CLOSESELECTEDNOTFOCUSEDHOT = 14, |
| 814 | + LVGHL_CLOSEMIXEDSELECTION = 15, |
| 815 | + LVGHL_CLOSEMIXEDSELECTIONHOT = 16, |
| 816 | +}; |
| 817 | + |
| 818 | +enum EXPANDBUTTONSTATES { |
| 819 | + LVEB_NORMAL = 1, |
| 820 | + LVEB_HOVER = 2, |
| 821 | + LVEB_PUSHED = 3, |
| 822 | +}; |
| 823 | + |
| 824 | +enum COLLAPSEBUTTONSTATES { |
| 825 | + LVCB_NORMAL = 1, |
| 826 | + LVCB_HOVER = 2, |
| 827 | + LVCB_PUSHED = 3, |
| 828 | +}; |
| 829 | + |
| 830 | +/* MENUSTYLE class */ |
| 831 | +#if defined(__GNUC__) |
| 832 | +#define VSCLASS_MENUSTYLE (const WCHAR []){'M','E','N','U','S','T','Y','L','E',0} |
| 833 | +#define VSCLASS_MENU (const WCHAR []){'M','E','N','U',0} |
| 834 | +#elif defined(_MSC_VER) |
| 835 | +#define VSCLASS_MENUSTYLE L"MENUSTYLE" |
| 836 | +#define VSCLASS_MENU L"MENU" |
| 837 | +#else |
| 838 | +static const WCHAR VSCLASS_MENUSTYLE [] = {'M','E','N','U','S','T','Y','L','E',0}; |
| 839 | +static const WCHAR VSCLASS_MENU [] = {'M','E','N','U',0}; |
| 840 | +#endif |
| 841 | + |
| 842 | +enum MENUPARTS { |
| 843 | + MENU_MENUITEM_TMSCHEMA = 1, |
| 844 | + MENU_MENUDROPDOWN_TMSCHEMA = 2, |
| 845 | + MENU_MENUBARITEM_TMSCHEMA = 3, |
| 846 | + MENU_MENUBARDROPDOWN_TMSCHEMA = 4, |
| 847 | + MENU_CHEVRON_TMSCHEMA = 5, |
| 848 | + MENU_SEPARATOR_TMSCHEMA = 6, |
| 849 | + MENU_BARBACKGROUND = 7, |
| 850 | + MENU_BARITEM = 8, |
| 851 | + MENU_POPUPBACKGROUND = 9, |
| 852 | + MENU_POPUPBORDERS = 10, |
| 853 | + MENU_POPUPCHECK = 11, |
| 854 | + MENU_POPUPCHECKBACKGROUND = 12, |
| 855 | + MENU_POPUPGUTTER = 13, |
| 856 | + MENU_POPUPITEM = 14, |
| 857 | + MENU_POPUPSEPARATOR = 15, |
| 858 | + MENU_POPUPSUBMENU = 16, |
| 859 | + MENU_SYSTEMCLOSE = 17, |
| 860 | + MENU_SYSTEMMAXIMIZE = 18, |
| 861 | + MENU_SYSTEMMINIMIZE = 19, |
| 862 | + MENU_SYSTEMRESTORE = 20, |
| 863 | +}; |
| 864 | + |
| 865 | +#define MENUSTYLEPARTS MENUPARTS; |
| 866 | + |
| 867 | +enum BARBACKGROUNDSTATES { |
| 868 | + MB_ACTIVE = 1, |
| 869 | + MB_INACTIVE = 2, |
| 870 | +}; |
| 871 | + |
| 872 | +enum BARITEMSTATES { |
| 873 | + MBI_NORMAL = 1, |
| 874 | + MBI_HOT = 2, |
| 875 | + MBI_PUSHED = 3, |
| 876 | + MBI_DISABLED = 4, |
| 877 | + MBI_DISABLEDHOT = 5, |
| 878 | + MBI_DISABLEDPUSHED = 6, |
| 879 | +}; |
| 880 | + |
| 881 | +enum POPUPCHECKSTATES { |
| 882 | + MC_CHECKMARKNORMAL = 1, |
| 883 | + MC_CHECKMARKDISABLED = 2, |
| 884 | + MC_BULLETNORMAL = 3, |
| 885 | + MC_BULLETDISABLED = 4, |
| 886 | +}; |
| 887 | + |
| 888 | +enum POPUPCHECKBACKGROUNDSTATES { |
| 889 | + MCB_DISABLED = 1, |
| 890 | + MCB_NORMAL = 2, |
| 891 | + MCB_BITMAP = 3, |
| 892 | +}; |
| 893 | + |
| 894 | +enum POPUPITEMSTATES { |
| 895 | + MPI_NORMAL = 1, |
| 896 | + MPI_HOT = 2, |
| 897 | + MPI_DISABLED = 3, |
| 898 | + MPI_DISABLEDHOT = 4, |
| 899 | +}; |
| 900 | + |
| 901 | +enum POPUPSUBMENUSTATES { |
| 902 | + MSM_NORMAL = 1, |
| 903 | + MSM_DISABLED = 2, |
| 904 | +}; |
| 905 | + |
| 906 | +enum SYSTEMCLOSESTATES { |
| 907 | + MSYSC_NORMAL = 1, |
| 908 | + MSYSC_DISABLED = 2, |
| 909 | +}; |
| 910 | + |
| 911 | +enum SYSTEMMAXIMIZESTATES { |
| 912 | + MSYSMX_NORMAL = 1, |
| 913 | + MSYSMX_DISABLED = 2, |
| 914 | +}; |
| 915 | + |
| 916 | +enum SYSTEMMINIMIZESTATES { |
| 917 | + MSYSMN_NORMAL = 1, |
| 918 | + MSYSMN_DISABLED = 2, |
| 919 | +}; |
| 920 | + |
| 921 | +enum SYSTEMRESTORESTATES { |
| 922 | + MSYSR_NORMAL = 1, |
| 923 | + MSYSR_DISABLED = 2, |
| 924 | +}; |
| 925 | + |
| 926 | +/* NAVIGATION class */ |
| 927 | +#if defined(__GNUC__) |
| 928 | +#define VSCLASS_NAVIGATION (const WCHAR []){'N','A','V','I','G','A','T','I','O','N',0} |
| 929 | +#elif defined(_MSC_VER) |
| 930 | +#define VSCLASS_NAVIGATION L"NAVIGATION" |
| 931 | +#else |
| 932 | +static const WCHAR VSCLASS_NAVIGATION [] = {'N','A','V','I','G','A','T','I','O','N',0}; |
| 933 | +#endif |
| 934 | + |
| 935 | +enum NAVIGATIONPARTS { |
| 936 | + NAV_BACKBUTTON = 1, |
| 937 | + NAV_FORWARDBUTTON = 2, |
| 938 | + NAV_MENUBUTTON = 3, |
| 939 | +}; |
| 940 | + |
| 941 | +enum NAV_BACKBUTTONSTATES { |
| 942 | + NAV_BB_NORMAL = 1, |
| 943 | + NAV_BB_HOT = 2, |
| 944 | + NAV_BB_PRESSED = 3, |
| 945 | + NAV_BB_DISABLED = 4, |
| 946 | +}; |
| 947 | + |
| 948 | +enum NAV_FORWARDBUTTONSTATES { |
| 949 | + NAV_FB_NORMAL = 1, |
| 950 | + NAV_FB_HOT = 2, |
| 951 | + NAV_FB_PRESSED = 3, |
| 952 | + NAV_FB_DISABLED = 4, |
| 953 | +}; |
| 954 | + |
| 955 | +enum NAV_MENUBUTTONSTATES { |
| 956 | + NAV_MB_NORMAL = 1, |
| 957 | + NAV_MB_HOT = 2, |
| 958 | + NAV_MB_PRESSED = 3, |
| 959 | + NAV_MB_DISABLED = 4, |
| 960 | +}; |
| 961 | + |
| 962 | +/* PROGRESSSTYLE class */ |
| 963 | +#if defined(__GNUC__) |
| 964 | +#define VSCLASS_PROGRESSSTYLE (const WCHAR []){'P','R','O','G','R','E','S','S','S','T','Y','L','E',0} |
| 965 | +#define VSCLASS_PROGRESS (const WCHAR []){'P','R','O','G','R','E','S','S',0} |
| 966 | +#elif defined(_MSC_VER) |
| 967 | +#define VSCLASS_PROGRESSSTYLE L"PROGRESSSTYLE" |
| 968 | +#define VSCLASS_PROGRESS L"PROGRESS" |
| 969 | +#else |
| 970 | +static const WCHAR VSCLASS_PROGRESSSTYLE [] = {'P','R','O','G','R','E','S','S','S','T','Y','L','E',0}; |
| 971 | +static const WCHAR VSCLASS_PROGRESS [] = {'P','R','O','G','R','E','S','S',0}; |
| 972 | +#endif |
| 973 | + |
| 974 | +enum PROGRESSPARTS { |
| 975 | + PP_BAR = 1, |
| 976 | + PP_BARVERT = 2, |
| 977 | + PP_CHUNK = 3, |
| 978 | + PP_CHUNKVERT = 4, |
| 979 | + PP_FILL = 5, |
| 980 | + PP_FILLVERT = 6, |
| 981 | + PP_PULSEOVERLAY = 7, |
| 982 | + PP_MOVEOVERLAY = 8, |
| 983 | + PP_PULSEOVERLAYVERT = 9, |
| 984 | + PP_MOVEOVERLAYVERT = 10, |
| 985 | + PP_TRANSPARENTBAR = 11, |
| 986 | + PP_TRANSPARENTBARVERT = 12, |
| 987 | +}; |
| 988 | + |
| 989 | +#define PROGRESSSTYLEPARTS PROGRESSPARTS; |
| 990 | + |
| 991 | +enum TRANSPARENTBARSTATES { |
| 992 | + PBBS_NORMAL = 1, |
| 993 | + PBBS_PARTIAL = 2, |
| 994 | +}; |
| 995 | + |
| 996 | +enum TRANSPARENTBARVERTSTATES { |
| 997 | + PBBVS_NORMAL = 1, |
| 998 | + PBBVS_PARTIAL = 2, |
| 999 | +}; |
| 1000 | + |
| 1001 | +enum FILLSTATES { |
| 1002 | + PBFS_NORMAL = 1, |
| 1003 | + PBFS_ERROR = 2, |
| 1004 | + PBFS_PAUSED = 3, |
| 1005 | + PBFS_PARTIAL = 4, |
| 1006 | +}; |
| 1007 | + |
| 1008 | +enum FILLVERTSTATES { |
| 1009 | + PBFVS_NORMAL = 1, |
| 1010 | + PBFVS_ERROR = 2, |
| 1011 | + PBFVS_PAUSED = 3, |
| 1012 | + PBFVS_PARTIAL = 4, |
| 1013 | +}; |
| 1014 | + |
| 1015 | +/* REBARSTYLE class */ |
| 1016 | +#if defined(__GNUC__) |
| 1017 | +#define VSCLASS_REBARSTYLE (const WCHAR []){'R','E','B','A','R','S','T','Y','L','E',0} |
| 1018 | +#define VSCLASS_REBAR (const WCHAR []){'R','E','B','A','R',0} |
| 1019 | +#elif defined(_MSC_VER) |
| 1020 | +#define VSCLASS_REBARSTYLE L"REBARSTYLE" |
| 1021 | +#define VSCLASS_REBAR L"REBAR" |
| 1022 | +#else |
| 1023 | +static const WCHAR VSCLASS_REBARSTYLE [] = {'R','E','B','A','R','S','T','Y','L','E',0}; |
| 1024 | +static const WCHAR VSCLASS_REBAR [] = {'R','E','B','A','R',0}; |
| 1025 | +#endif |
| 1026 | + |
| 1027 | +enum REBARPARTS { |
| 1028 | + RP_GRIPPER = 1, |
| 1029 | + RP_GRIPPERVERT = 2, |
| 1030 | + RP_BAND = 3, |
| 1031 | + RP_CHEVRON = 4, |
| 1032 | + RP_CHEVRONVERT = 5, |
| 1033 | + RP_BACKGROUND = 6, |
| 1034 | + RP_SPLITTER = 7, |
| 1035 | + RP_SPLITTERVERT = 8, |
| 1036 | +}; |
| 1037 | + |
| 1038 | +#define REBARSTYLEPARTS REBARPARTS; |
| 1039 | + |
| 1040 | +enum CHEVRONSTATES { |
| 1041 | + CHEVS_NORMAL = 1, |
| 1042 | + CHEVS_HOT = 2, |
| 1043 | + CHEVS_PRESSED = 3, |
| 1044 | +}; |
| 1045 | + |
| 1046 | +enum CHEVRONVERTSTATES { |
| 1047 | + CHEVSV_NORMAL = 1, |
| 1048 | + CHEVSV_HOT = 2, |
| 1049 | + CHEVSV_PRESSED = 3, |
| 1050 | +}; |
| 1051 | + |
| 1052 | +enum SPLITTERSTATES { |
| 1053 | + SPLITS_NORMAL = 1, |
| 1054 | + SPLITS_HOT = 2, |
| 1055 | + SPLITS_PRESSED = 3, |
| 1056 | +}; |
| 1057 | + |
| 1058 | +enum SPLITTERVERTSTATES { |
| 1059 | + SPLITSV_NORMAL = 1, |
| 1060 | + SPLITSV_HOT = 2, |
| 1061 | + SPLITSV_PRESSED = 3, |
| 1062 | +}; |
| 1063 | + |
| 1064 | +/* SCROLLBARSTYLE class */ |
| 1065 | +#if defined(__GNUC__) |
| 1066 | +#define VSCLASS_SCROLLBARSTYLE (const WCHAR []){'S','C','R','O','L','L','B','A','R','S','T','Y','L','E',0} |
| 1067 | +#define VSCLASS_SCROLLBAR (const WCHAR []){'S','C','R','O','L','L','B','A','R',0} |
| 1068 | +#elif defined(_MSC_VER) |
| 1069 | +#define VSCLASS_SCROLLBARSTYLE L"SCROLLBARSTYLE" |
| 1070 | +#define VSCLASS_SCROLLBAR L"SCROLLBAR" |
| 1071 | +#else |
| 1072 | +static const WCHAR VSCLASS_SCROLLBARSTYLE [] = {'S','C','R','O','L','L','B','A','R','S','T','Y','L','E',0}; |
| 1073 | +static const WCHAR VSCLASS_SCROLLBAR [] = {'S','C','R','O','L','L','B','A','R',0}; |
| 1074 | +#endif |
| 1075 | + |
| 1076 | +enum SCROLLBARPARTS { |
| 1077 | + SBP_ARROWBTN = 1, |
| 1078 | + SBP_THUMBBTNHORZ = 2, |
| 1079 | + SBP_THUMBBTNVERT = 3, |
| 1080 | + SBP_LOWERTRACKHORZ = 4, |
| 1081 | + SBP_UPPERTRACKHORZ = 5, |
| 1082 | + SBP_LOWERTRACKVERT = 6, |
| 1083 | + SBP_UPPERTRACKVERT = 7, |
| 1084 | + SBP_GRIPPERHORZ = 8, |
| 1085 | + SBP_GRIPPERVERT = 9, |
| 1086 | + SBP_SIZEBOX = 10, |
| 1087 | +}; |
| 1088 | + |
| 1089 | +#define SCROLLBARSTYLEPARTS SCROLLBARPARTS; |
| 1090 | + |
| 1091 | +enum ARROWBTNSTATES { |
| 1092 | + ABS_UPNORMAL = 1, |
| 1093 | + ABS_UPHOT = 2, |
| 1094 | + ABS_UPPRESSED = 3, |
| 1095 | + ABS_UPDISABLED = 4, |
| 1096 | + ABS_DOWNNORMAL = 5, |
| 1097 | + ABS_DOWNHOT = 6, |
| 1098 | + ABS_DOWNPRESSED = 7, |
| 1099 | + ABS_DOWNDISABLED = 8, |
| 1100 | + ABS_LEFTNORMAL = 9, |
| 1101 | + ABS_LEFTHOT = 10, |
| 1102 | + ABS_LEFTPRESSED = 11, |
| 1103 | + ABS_LEFTDISABLED = 12, |
| 1104 | + ABS_RIGHTNORMAL = 13, |
| 1105 | + ABS_RIGHTHOT = 14, |
| 1106 | + ABS_RIGHTPRESSED = 15, |
| 1107 | + ABS_RIGHTDISABLED = 16, |
| 1108 | + ABS_UPHOVER = 17, |
| 1109 | + ABS_DOWNHOVER = 18, |
| 1110 | + ABS_LEFTHOVER = 19, |
| 1111 | + ABS_RIGHTHOVER = 20, |
| 1112 | +}; |
| 1113 | + |
| 1114 | +enum SCROLLBARSTYLESTATES { |
| 1115 | + SCRBS_NORMAL = 1, |
| 1116 | + SCRBS_HOT = 2, |
| 1117 | + SCRBS_PRESSED = 3, |
| 1118 | + SCRBS_DISABLED = 4, |
| 1119 | + SCRBS_HOVER = 5, |
| 1120 | +}; |
| 1121 | + |
| 1122 | +enum SIZEBOXSTATES { |
| 1123 | + SZB_RIGHTALIGN = 1, |
| 1124 | + SZB_LEFTALIGN = 2, |
| 1125 | + SZB_TOPRIGHTALIGN = 3, |
| 1126 | + SZB_TOPLEFTALIGN = 4, |
| 1127 | + SZB_HALFBOTTOMRIGHTALIGN = 5, |
| 1128 | + SZB_HALFBOTTOMLEFTALIGN = 6, |
| 1129 | + SZB_HALFTOPRIGHTALIGN = 7, |
| 1130 | + SZB_HALFTOPLEFTALIGN = 8, |
| 1131 | +}; |
| 1132 | + |
| 1133 | +/* SPINSTYLE class */ |
| 1134 | +#if defined(__GNUC__) |
| 1135 | +#define VSCLASS_SPINSTYLE (const WCHAR []){'S','P','I','N','S','T','Y','L','E',0} |
| 1136 | +#elif defined(_MSC_VER) |
| 1137 | +#define VSCLASS_SPINSTYLE L"SPINSTYLE" |
| 1138 | +#else |
| 1139 | +static const WCHAR VSCLASS_SPINSTYLE [] = {'S','P','I','N','S','T','Y','L','E',0}; |
| 1140 | +#endif |
| 1141 | +#if defined(__GNUC__) |
| 1142 | +#define VSCLASS_SPIN (const WCHAR []){'S','P','I','N',0} |
| 1143 | +#elif defined(_MSC_VER) |
| 1144 | +#define VSCLASS_SPIN L"SPIN" |
| 1145 | +#else |
| 1146 | +static const WCHAR VSCLASS_SPIN [] = {'S','P','I','N',0}; |
| 1147 | +#endif |
| 1148 | + |
| 1149 | +enum SPINPARTS { |
| 1150 | + SPNP_UP = 1, |
| 1151 | + SPNP_DOWN = 2, |
| 1152 | + SPNP_UPHORZ = 3, |
| 1153 | + SPNP_DOWNHORZ = 4, |
| 1154 | +}; |
| 1155 | + |
| 1156 | +#define SPINSTYLEPARTS SPINPARTS; |
| 1157 | + |
| 1158 | +enum UPSTATES { |
| 1159 | + UPS_NORMAL = 1, |
| 1160 | + UPS_HOT = 2, |
| 1161 | + UPS_PRESSED = 3, |
| 1162 | + UPS_DISABLED = 4, |
| 1163 | +}; |
| 1164 | + |
| 1165 | +enum DOWNSTATES { |
| 1166 | + DNS_NORMAL = 1, |
| 1167 | + DNS_HOT = 2, |
| 1168 | + DNS_PRESSED = 3, |
| 1169 | + DNS_DISABLED = 4, |
| 1170 | +}; |
| 1171 | + |
| 1172 | +enum UPHORZSTATES { |
| 1173 | + UPHZS_NORMAL = 1, |
| 1174 | + UPHZS_HOT = 2, |
| 1175 | + UPHZS_PRESSED = 3, |
| 1176 | + UPHZS_DISABLED = 4, |
| 1177 | +}; |
| 1178 | + |
| 1179 | +enum DOWNHORZSTATES { |
| 1180 | + DNHZS_NORMAL = 1, |
| 1181 | + DNHZS_HOT = 2, |
| 1182 | + DNHZS_PRESSED = 3, |
| 1183 | + DNHZS_DISABLED = 4, |
| 1184 | +}; |
| 1185 | + |
| 1186 | +/* STATUSSTYLE class */ |
| 1187 | +#if defined(__GNUC__) |
| 1188 | +#define VSCLASS_STATUSSTYLE (const WCHAR []){'S','T','A','T','U','S','S','T','Y','L','E',0} |
| 1189 | +#define VSCLASS_STATUS (const WCHAR []){'S','T','A','T','U','S',0} |
| 1190 | +#elif defined(_MSC_VER) |
| 1191 | +#define VSCLASS_STATUSSTYLE L"STATUSSTYLE" |
| 1192 | +#define VSCLASS_STATUS L"STATUS" |
| 1193 | +#else |
| 1194 | +static const WCHAR VSCLASS_STATUSSTYLE [] = {'S','T','A','T','U','S','S','T','Y','L','E',0}; |
| 1195 | +static const WCHAR VSCLASS_STATUS [] = {'S','T','A','T','U','S',0}; |
| 1196 | +#endif |
| 1197 | + |
| 1198 | +enum STATUSPARTS { |
| 1199 | + SP_PANE = 1, |
| 1200 | + SP_GRIPPERPANE = 2, |
| 1201 | + SP_GRIPPER = 3, |
| 1202 | +}; |
| 1203 | + |
| 1204 | +#define STATUSSTYLEPARTS STATUSPARTS; |
| 1205 | + |
| 1206 | +/* TABSTYLE class */ |
| 1207 | +#if defined(__GNUC__) |
| 1208 | +#define VSCLASS_TABSTYLE (const WCHAR []){'T','A','B','S','T','Y','L','E',0} |
| 1209 | +#define VSCLASS_TAB (const WCHAR []){'T','A','B',0} |
| 1210 | +#elif defined(_MSC_VER) |
| 1211 | +#define VSCLASS_TABSTYLE L"TABSTYLE" |
| 1212 | +#define VSCLASS_TAB L"TAB" |
| 1213 | +#else |
| 1214 | +static const WCHAR VSCLASS_TABSTYLE [] = {'T','A','B','S','T','Y','L','E',0}; |
| 1215 | +static const WCHAR VSCLASS_TAB [] = {'T','A','B',0}; |
| 1216 | +#endif |
| 1217 | + |
| 1218 | +enum TABPARTS { |
| 1219 | + TABP_TABITEM = 1, |
| 1220 | + TABP_TABITEMLEFTEDGE = 2, |
| 1221 | + TABP_TABITEMRIGHTEDGE = 3, |
| 1222 | + TABP_TABITEMBOTHEDGE = 4, |
| 1223 | + TABP_TOPTABITEM = 5, |
| 1224 | + TABP_TOPTABITEMLEFTEDGE = 6, |
| 1225 | + TABP_TOPTABITEMRIGHTEDGE = 7, |
| 1226 | + TABP_TOPTABITEMBOTHEDGE = 8, |
| 1227 | + TABP_PANE = 9, |
| 1228 | + TABP_BODY = 10, |
| 1229 | + TABP_AEROWIZARDBODY = 11, |
| 1230 | +}; |
| 1231 | + |
| 1232 | +#define TABSTYLEPARTS TABPARTS; |
| 1233 | + |
| 1234 | +enum TABITEMSTATES { |
| 1235 | + TIS_NORMAL = 1, |
| 1236 | + TIS_HOT = 2, |
| 1237 | + TIS_SELECTED = 3, |
| 1238 | + TIS_DISABLED = 4, |
| 1239 | + TIS_FOCUSED = 5, |
| 1240 | +}; |
| 1241 | + |
| 1242 | +enum TABITEMLEFTEDGESTATES { |
| 1243 | + TILES_NORMAL = 1, |
| 1244 | + TILES_HOT = 2, |
| 1245 | + TILES_SELECTED = 3, |
| 1246 | + TILES_DISABLED = 4, |
| 1247 | + TILES_FOCUSED = 5, |
| 1248 | +}; |
| 1249 | + |
| 1250 | +enum TABITEMRIGHTEDGESTATES { |
| 1251 | + TIRES_NORMAL = 1, |
| 1252 | + TIRES_HOT = 2, |
| 1253 | + TIRES_SELECTED = 3, |
| 1254 | + TIRES_DISABLED = 4, |
| 1255 | + TIRES_FOCUSED = 5, |
| 1256 | +}; |
| 1257 | + |
| 1258 | +enum TABITEMBOTHEDGESTATES { |
| 1259 | + TIBES_NORMAL = 1, |
| 1260 | + TIBES_HOT = 2, |
| 1261 | + TIBES_SELECTED = 3, |
| 1262 | + TIBES_DISABLED = 4, |
| 1263 | + TIBES_FOCUSED = 5, |
| 1264 | +}; |
| 1265 | + |
| 1266 | +enum TOPTABITEMSTATES { |
| 1267 | + TTIS_NORMAL = 1, |
| 1268 | + TTIS_HOT = 2, |
| 1269 | + TTIS_SELECTED = 3, |
| 1270 | + TTIS_DISABLED = 4, |
| 1271 | + TTIS_FOCUSED = 5, |
| 1272 | +}; |
| 1273 | + |
| 1274 | +enum TOPTABITEMLEFTEDGESTATES { |
| 1275 | + TTILES_NORMAL = 1, |
| 1276 | + TTILES_HOT = 2, |
| 1277 | + TTILES_SELECTED = 3, |
| 1278 | + TTILES_DISABLED = 4, |
| 1279 | + TTILES_FOCUSED = 5, |
| 1280 | +}; |
| 1281 | + |
| 1282 | +enum TOPTABITEMRIGHTEDGESTATES { |
| 1283 | + TTIRES_NORMAL = 1, |
| 1284 | + TTIRES_HOT = 2, |
| 1285 | + TTIRES_SELECTED = 3, |
| 1286 | + TTIRES_DISABLED = 4, |
| 1287 | + TTIRES_FOCUSED = 5, |
| 1288 | +}; |
| 1289 | + |
| 1290 | +enum TOPTABITEMBOTHEDGESTATES { |
| 1291 | + TTIBES_NORMAL = 1, |
| 1292 | + TTIBES_HOT = 2, |
| 1293 | + TTIBES_SELECTED = 3, |
| 1294 | + TTIBES_DISABLED = 4, |
| 1295 | + TTIBES_FOCUSED = 5, |
| 1296 | +}; |
| 1297 | + |
| 1298 | +/* TASKDIALOGSTYLE class */ |
| 1299 | +#if defined(__GNUC__) |
| 1300 | +#define VSCLASS_TASKDIALOGSTYLE (const WCHAR []){'T','A','S','K','D','I','A','L','O','G','S','T','Y','L','E',0} |
| 1301 | +#define VSCLASS_TASKDIALOG (const WCHAR []){'T','A','S','K','D','I','A','L','O','G',0} |
| 1302 | +#elif defined(_MSC_VER) |
| 1303 | +#define VSCLASS_TASKDIALOGSTYLE L"TASKDIALOGSTYLE" |
| 1304 | +#define VSCLASS_TASKDIALOG L"TASKDIALOG" |
| 1305 | +#else |
| 1306 | +static const WCHAR VSCLASS_TASKDIALOGSTYLE[] = {'T','A','S','K','D','I','A','L','O','G','S','T','Y','L','E',0}; |
| 1307 | +static const WCHAR VSCLASS_TASKDIALOG [] = {'T','A','S','K','D','I','A','L','O','G',0}; |
| 1308 | +#endif |
| 1309 | + |
| 1310 | +enum TASKDIALOGPARTS { |
| 1311 | + TDLG_PRIMARYPANEL = 1, |
| 1312 | + TDLG_MAININSTRUCTIONPANE = 2, |
| 1313 | + TDLG_MAINICON = 3, |
| 1314 | + TDLG_CONTENTPANE = 4, |
| 1315 | + TDLG_CONTENTICON = 5, |
| 1316 | + TDLG_EXPANDEDCONTENT = 6, |
| 1317 | + TDLG_COMMANDLINKPANE = 7, |
| 1318 | + TDLG_SECONDARYPANEL = 8, |
| 1319 | + TDLG_CONTROLPANE = 9, |
| 1320 | + TDLG_BUTTONSECTION = 10, |
| 1321 | + TDLG_BUTTONWRAPPER = 11, |
| 1322 | + TDLG_EXPANDOTEXT = 12, |
| 1323 | + TDLG_EXPANDOBUTTON = 13, |
| 1324 | + TDLG_VERIFICATIONTEXT = 14, |
| 1325 | + TDLG_FOOTNOTEPANE = 15, |
| 1326 | + TDLG_FOOTNOTEAREA = 16, |
| 1327 | + TDLG_FOOTNOTESEPARATOR = 17, |
| 1328 | + TDLG_EXPANDEDFOOTERAREA = 18, |
| 1329 | + TDLG_PROGRESSBAR = 19, |
| 1330 | + TDLG_IMAGEALIGNMENT = 20, |
| 1331 | + TDLG_RADIOBUTTONPANE = 21, |
| 1332 | +}; |
| 1333 | + |
| 1334 | +#define TASKDIALOGSTYLEPARTS TASKDIALOGPARTS; |
| 1335 | + |
| 1336 | +enum CONTENTPANESTATES { |
| 1337 | + TDLGCPS_STANDALONE = 1, |
| 1338 | +}; |
| 1339 | + |
| 1340 | +enum EXPANDOBUTTONSTATES { |
| 1341 | + TDLGEBS_NORMAL = 1, |
| 1342 | + TDLGEBS_HOVER = 2, |
| 1343 | + TDLGEBS_PRESSED = 3, |
| 1344 | + TDLGEBS_EXPANDEDNORMAL = 4, |
| 1345 | + TDLGEBS_EXPANDEDHOVER = 5, |
| 1346 | + TDLGEBS_EXPANDEDPRESSED = 6, |
| 1347 | +}; |
| 1348 | + |
| 1349 | +/* TEXTSTYLE class */ |
| 1350 | +#if defined(__GNUC__) |
| 1351 | +#define VSCLASS_TEXTSTYLE (const WCHAR []){'T','E','X','T','S','T','Y','L','E',0} |
| 1352 | +#elif defined(_MSC_VER) |
| 1353 | +#define VSCLASS_TEXTSTYLE L"TEXTSTYLE" |
| 1354 | +#else |
| 1355 | +static const WCHAR VSCLASS_TEXTSTYLE [] = {'T','E','X','T','S','T','Y','L','E',0}; |
| 1356 | +#endif |
| 1357 | + |
| 1358 | +enum TEXTSTYLEPARTS { |
| 1359 | + TEXT_MAININSTRUCTION = 1, |
| 1360 | + TEXT_INSTRUCTION = 2, |
| 1361 | + TEXT_BODYTITLE = 3, |
| 1362 | + TEXT_BODYTEXT = 4, |
| 1363 | + TEXT_SECONDARYTEXT = 5, |
| 1364 | + TEXT_HYPERLINKTEXT = 6, |
| 1365 | + TEXT_EXPANDED = 7, |
| 1366 | + TEXT_LABEL = 8, |
| 1367 | + TEXT_CONTROLLABEL = 9, |
| 1368 | +}; |
| 1369 | + |
| 1370 | +enum HYPERLINKTEXTSTATES { |
| 1371 | + TS_HYPERLINK_NORMAL = 1, |
| 1372 | + TS_HYPERLINK_HOT = 2, |
| 1373 | + TS_HYPERLINK_PRESSED = 3, |
| 1374 | + TS_HYPERLINK_DISABLED = 4, |
| 1375 | +}; |
| 1376 | + |
| 1377 | +enum CONTROLLABELSTATES { |
| 1378 | + TS_CONTROLLABEL_NORMAL = 1, |
| 1379 | + TS_CONTROLLABEL_DISABLED = 2, |
| 1380 | +}; |
| 1381 | + |
| 1382 | +/* TOOLBARSTYLE class */ |
| 1383 | +#if defined(__GNUC__) |
| 1384 | +#define VSCLASS_TOOLBARSTYLE (const WCHAR []){'T','O','O','L','B','A','R','S','T','Y','L','E',0} |
| 1385 | +#define VSCLASS_TOOLBAR (const WCHAR []){'T','O','O','L','B','A','R',0} |
| 1386 | +#elif defined(_MSC_VER) |
| 1387 | +#define VSCLASS_TOOLBARSTYLE L"TOOLBARSTYLE" |
| 1388 | +#define VSCLASS_TOOLBAR L"TOOLBAR" |
| 1389 | +#else |
| 1390 | +static const WCHAR VSCLASS_TOOLBARSTYLE [] = {'T','O','O','L','B','A','R','S','T','Y','L','E',0}; |
| 1391 | +static const WCHAR VSCLASS_TOOLBAR[] = {'T','O','O','L','B','A','R',0}; |
| 1392 | +#endif |
| 1393 | + |
| 1394 | +enum TOOLBARPARTS { |
| 1395 | + TP_BUTTON = 1, |
| 1396 | + TP_DROPDOWNBUTTON = 2, |
| 1397 | + TP_SPLITBUTTON = 3, |
| 1398 | + TP_SPLITBUTTONDROPDOWN = 4, |
| 1399 | + TP_SEPARATOR = 5, |
| 1400 | + TP_SEPARATORVERT = 6, |
| 1401 | +}; |
| 1402 | + |
| 1403 | +#define TOOLBARSTYLEPARTS TOOLBARPARTS; |
| 1404 | + |
| 1405 | +enum TOOLBARSTYLESTATES { |
| 1406 | + TS_NORMAL = 1, |
| 1407 | + TS_HOT = 2, |
| 1408 | + TS_PRESSED = 3, |
| 1409 | + TS_DISABLED = 4, |
| 1410 | + TS_CHECKED = 5, |
| 1411 | + TS_HOTCHECKED = 6, |
| 1412 | + TS_NEARHOT = 7, |
| 1413 | + TS_OTHERSIDEHOT = 8, |
| 1414 | +}; |
| 1415 | + |
| 1416 | +/* TOOLTIPSTYLE class */ |
| 1417 | +#if defined(__GNUC__) |
| 1418 | +#define VSCLASS_TOOLTIPSTYLE (const WCHAR []){'T','O','O','L','T','I','P','S','T','Y','L','E',0} |
| 1419 | +#define VSCLASS_TOOLTIP (const WCHAR []){'T','O','O','L','T','I','P',0} |
| 1420 | +#elif defined(_MSC_VER) |
| 1421 | +#define VSCLASS_TOOLTIPSTYLE L"TOOLTIPSTYLE" |
| 1422 | +#define VSCLASS_TOOLTIP L"TOOLTIP" |
| 1423 | +#else |
| 1424 | +static const WCHAR VSCLASS_TOOLTIPSTYLE [] = {'T','O','O','L','T','I','P','S','T','Y','L','E',0}; |
| 1425 | +static const WCHAR VSCLASS_TOOLTIP[] = {'T','O','O','L','T','I','P',0}; |
| 1426 | +#endif |
| 1427 | + |
| 1428 | +enum TOOLTIPPARTS { |
| 1429 | + TTP_STANDARD = 1, |
| 1430 | + TTP_STANDARDTITLE = 2, |
| 1431 | + TTP_BALLOON = 3, |
| 1432 | + TTP_BALLOONTITLE = 4, |
| 1433 | + TTP_CLOSE = 5, |
| 1434 | + TTP_BALLOONSTEM = 6, |
| 1435 | +}; |
| 1436 | + |
| 1437 | +#define TOOLTIPSTYLEPARTS TOOLTIPPARTS; |
| 1438 | + |
| 1439 | +enum CLOSESTATES { |
| 1440 | + TTCS_NORMAL = 1, |
| 1441 | + TTCS_HOT = 2, |
| 1442 | + TTCS_PRESSED = 3, |
| 1443 | +}; |
| 1444 | + |
| 1445 | +enum STANDARDSTATES { |
| 1446 | + TTSS_NORMAL = 1, |
| 1447 | + TTSS_LINK = 2, |
| 1448 | +}; |
| 1449 | + |
| 1450 | +enum BALLOONSTATES { |
| 1451 | + TTBS_NORMAL = 1, |
| 1452 | + TTBS_LINK = 2, |
| 1453 | +}; |
| 1454 | + |
| 1455 | +enum BALLOONSTEMSTATES { |
| 1456 | + TTBSS_POINTINGUPLEFTWALL = 1, |
| 1457 | + TTBSS_POINTINGUPCENTERED = 2, |
| 1458 | + TTBSS_POINTINGUPRIGHTWALL = 3, |
| 1459 | + TTBSS_POINTINGDOWNRIGHTWALL = 4, |
| 1460 | + TTBSS_POINTINGDOWNCENTERED = 5, |
| 1461 | + TTBSS_POINTINGDOWNLEFTWALL = 6, |
| 1462 | +}; |
| 1463 | + |
| 1464 | +/* TRACKBARSTYLE class */ |
| 1465 | +#if defined(__GNUC__) |
| 1466 | +#define VSCLASS_TRACKBARSTYLE (const WCHAR []){'T','R','A','C','K','B','A','R','S','T','Y','L','E',0} |
| 1467 | +#define VSCLASS_TRACKBAR (const WCHAR []){'T','R','A','C','K','B','A','R',0} |
| 1468 | +#elif defined(_MSC_VER) |
| 1469 | +#define VSCLASS_TRACKBARSTYLE L"TRACKBARSTYLE" |
| 1470 | +#define VSCLASS_TRACKBAR L"TRACKBAR" |
| 1471 | +#else |
| 1472 | +static const WCHAR VSCLASS_TRACKBARSTYLE [] = {'T','R','A','C','K','B','A','R','S','T','Y','L','E',0}; |
| 1473 | +static const WCHAR VSCLASS_TRACKBAR [] = {'T','R','A','C','K','B','A','R',0}; |
| 1474 | +#endif |
| 1475 | + |
| 1476 | +enum TRACKBARPARTS { |
| 1477 | + TKP_TRACK = 1, |
| 1478 | + TKP_TRACKVERT = 2, |
| 1479 | + TKP_THUMB = 3, |
| 1480 | + TKP_THUMBBOTTOM = 4, |
| 1481 | + TKP_THUMBTOP = 5, |
| 1482 | + TKP_THUMBVERT = 6, |
| 1483 | + TKP_THUMBLEFT = 7, |
| 1484 | + TKP_THUMBRIGHT = 8, |
| 1485 | + TKP_TICS = 9, |
| 1486 | + TKP_TICSVERT = 10, |
| 1487 | +}; |
| 1488 | + |
| 1489 | +#define TRACKBARSTYLEPARTS TRACKBARPARTS; |
| 1490 | + |
| 1491 | +enum TRACKBARSTYLESTATES { |
| 1492 | + TKS_NORMAL = 1, |
| 1493 | +}; |
| 1494 | + |
| 1495 | +enum TRACKSTATES { |
| 1496 | + TRS_NORMAL = 1, |
| 1497 | +}; |
| 1498 | + |
| 1499 | +enum TRACKVERTSTATES { |
| 1500 | + TRVS_NORMAL = 1, |
| 1501 | +}; |
| 1502 | + |
| 1503 | +enum THUMBSTATES { |
| 1504 | + TUS_NORMAL = 1, |
| 1505 | + TUS_HOT = 2, |
| 1506 | + TUS_PRESSED = 3, |
| 1507 | + TUS_FOCUSED = 4, |
| 1508 | + TUS_DISABLED = 5, |
| 1509 | +}; |
| 1510 | + |
| 1511 | +enum THUMBBOTTOMSTATES { |
| 1512 | + TUBS_NORMAL = 1, |
| 1513 | + TUBS_HOT = 2, |
| 1514 | + TUBS_PRESSED = 3, |
| 1515 | + TUBS_FOCUSED = 4, |
| 1516 | + TUBS_DISABLED = 5, |
| 1517 | +}; |
| 1518 | + |
| 1519 | +enum THUMBTOPSTATES { |
| 1520 | + TUTS_NORMAL = 1, |
| 1521 | + TUTS_HOT = 2, |
| 1522 | + TUTS_PRESSED = 3, |
| 1523 | + TUTS_FOCUSED = 4, |
| 1524 | + TUTS_DISABLED = 5, |
| 1525 | +}; |
| 1526 | + |
| 1527 | +enum THUMBVERTSTATES { |
| 1528 | + TUVS_NORMAL = 1, |
| 1529 | + TUVS_HOT = 2, |
| 1530 | + TUVS_PRESSED = 3, |
| 1531 | + TUVS_FOCUSED = 4, |
| 1532 | + TUVS_DISABLED = 5, |
| 1533 | +}; |
| 1534 | + |
| 1535 | +enum THUMBLEFTSTATES { |
| 1536 | + TUVLS_NORMAL = 1, |
| 1537 | + TUVLS_HOT = 2, |
| 1538 | + TUVLS_PRESSED = 3, |
| 1539 | + TUVLS_FOCUSED = 4, |
| 1540 | + TUVLS_DISABLED = 5, |
| 1541 | +}; |
| 1542 | + |
| 1543 | +enum THUMBRIGHTSTATES { |
| 1544 | + TUVRS_NORMAL = 1, |
| 1545 | + TUVRS_HOT = 2, |
| 1546 | + TUVRS_PRESSED = 3, |
| 1547 | + TUVRS_FOCUSED = 4, |
| 1548 | + TUVRS_DISABLED = 5, |
| 1549 | +}; |
| 1550 | + |
| 1551 | +enum TICSSTATES { |
| 1552 | + TSS_NORMAL = 1, |
| 1553 | +}; |
| 1554 | + |
| 1555 | +enum TICSVERTSTATES { |
| 1556 | + TSVS_NORMAL = 1, |
| 1557 | +}; |
| 1558 | + |
| 1559 | +/* TREEVIEWSTYLE class */ |
| 1560 | +#if defined(__GNUC__) |
| 1561 | +#define VSCLASS_TREEVIEWSTYLE (const WCHAR []){'T','R','E','E','V','I','E','W','S','T','Y','L','E',0} |
| 1562 | +#define VSCLASS_TREEVIEW (const WCHAR []){'T','R','E','E','V','I','E','W',0} |
| 1563 | +#elif defined(_MSC_VER) |
| 1564 | +#define VSCLASS_TREEVIEWSTYLE L"TREEVIEWSTYLE" |
| 1565 | +#define VSCLASS_TREEVIEW L"TREEVIEW" |
| 1566 | +#else |
| 1567 | +static const WCHAR VSCLASS_TREEVIEWSTYLE [] = {'T','R','E','E','V','I','E','W','S','T','Y','L','E',0}; |
| 1568 | +static const WCHAR VSCLASS_TREEVIEW [] = {'T','R','E','E','V','I','E','W',0}; |
| 1569 | +#endif |
| 1570 | + |
| 1571 | +enum TREEVIEWPARTS { |
| 1572 | + TVP_TREEITEM = 1, |
| 1573 | + TVP_GLYPH = 2, |
| 1574 | + TVP_BRANCH = 3, |
| 1575 | + TVP_HOTGLYPH = 4, |
| 1576 | +}; |
| 1577 | + |
| 1578 | +#define TREEVIEWSTYLEPARTS TREEVIEWPARTS; |
| 1579 | + |
| 1580 | +enum TREEITEMSTATES { |
| 1581 | + TREIS_NORMAL = 1, |
| 1582 | + TREIS_HOT = 2, |
| 1583 | + TREIS_SELECTED = 3, |
| 1584 | + TREIS_DISABLED = 4, |
| 1585 | + TREIS_SELECTEDNOTFOCUS = 5, |
| 1586 | + TREIS_HOTSELECTED = 6, |
| 1587 | +}; |
| 1588 | + |
| 1589 | +enum GLYPHSTATES { |
| 1590 | + GLPS_CLOSED = 1, |
| 1591 | + GLPS_OPENED = 2, |
| 1592 | +}; |
| 1593 | + |
| 1594 | +enum HOTGLYPHSTATES { |
| 1595 | + HGLPS_CLOSED = 1, |
| 1596 | + HGLPS_OPENED = 2, |
| 1597 | +}; |
| 1598 | + |
| 1599 | +/* WINDOWSTYLE class */ |
| 1600 | +#if defined(__GNUC__) |
| 1601 | +#define VSCLASS_WINDOWSTYLE (const WCHAR []){'W','I','N','D','O','W','S','T','Y','L','E',0} |
| 1602 | +#define VSCLASS_WINDOW (const WCHAR []){'W','I','N','D','O','W',0} |
| 1603 | +#elif defined(_MSC_VER) |
| 1604 | +#define VSCLASS_WINDOWSTYLE L"WINDOWSTYLE" |
| 1605 | +#define VSCLASS_WINDOW L"WINDOW" |
| 1606 | +#else |
| 1607 | +static const WCHAR VSCLASS_WINDOWSTYLE [] = {'W','I','N','D','O','W','S','T','Y','L','E',0}; |
| 1608 | +static const WCHAR VSCLASS_WINDOW [] = {'W','I','N','D','O','W',0}; |
| 1609 | +#endif |
| 1610 | + |
| 1611 | +enum WINDOWPARTS { |
| 1612 | + WP_CAPTION = 1, |
| 1613 | + WP_SMALLCAPTION = 2, |
| 1614 | + WP_MINCAPTION = 3, |
| 1615 | + WP_SMALLMINCAPTION = 4, |
| 1616 | + WP_MAXCAPTION = 5, |
| 1617 | + WP_SMALLMAXCAPTION = 6, |
| 1618 | + WP_FRAMELEFT = 7, |
| 1619 | + WP_FRAMERIGHT = 8, |
| 1620 | + WP_FRAMEBOTTOM = 9, |
| 1621 | + WP_SMALLFRAMELEFT = 10, |
| 1622 | + WP_SMALLFRAMERIGHT = 11, |
| 1623 | + WP_SMALLFRAMEBOTTOM = 12, |
| 1624 | + WP_SYSBUTTON = 13, |
| 1625 | + WP_MDISYSBUTTON = 14, |
| 1626 | + WP_MINBUTTON = 15, |
| 1627 | + WP_MDIMINBUTTON = 16, |
| 1628 | + WP_MAXBUTTON = 17, |
| 1629 | + WP_CLOSEBUTTON = 18, |
| 1630 | + WP_SMALLCLOSEBUTTON = 19, |
| 1631 | + WP_MDICLOSEBUTTON = 20, |
| 1632 | + WP_RESTOREBUTTON = 21, |
| 1633 | + WP_MDIRESTOREBUTTON = 22, |
| 1634 | + WP_HELPBUTTON = 23, |
| 1635 | + WP_MDIHELPBUTTON = 24, |
| 1636 | + WP_HORZSCROLL = 25, |
| 1637 | + WP_HORZTHUMB = 26, |
| 1638 | + WP_VERTSCROLL = 27, |
| 1639 | + WP_VERTTHUMB = 28, |
| 1640 | + WP_DIALOG = 29, |
| 1641 | + WP_CAPTIONSIZINGTEMPLATE = 30, |
| 1642 | + WP_SMALLCAPTIONSIZINGTEMPLATE = 31, |
| 1643 | + WP_FRAMELEFTSIZINGTEMPLATE = 32, |
| 1644 | + WP_SMALLFRAMELEFTSIZINGTEMPLATE = 33, |
| 1645 | + WP_FRAMERIGHTSIZINGTEMPLATE = 34, |
| 1646 | + WP_SMALLFRAMERIGHTSIZINGTEMPLATE = 35, |
| 1647 | + WP_FRAMEBOTTOMSIZINGTEMPLATE = 36, |
| 1648 | + WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE = 37, |
| 1649 | + WP_FRAME = 38, |
| 1650 | +}; |
| 1651 | + |
| 1652 | +#define WINDOWSTYLEPARTS WINDOWPARTS; |
| 1653 | + |
| 1654 | +enum FRAMESTATES { |
| 1655 | + FS_ACTIVE = 1, |
| 1656 | + FS_INACTIVE = 2, |
| 1657 | +}; |
| 1658 | + |
| 1659 | +enum CAPTIONSTATES { |
| 1660 | + CS_ACTIVE = 1, |
| 1661 | + CS_INACTIVE = 2, |
| 1662 | + CS_DISABLED = 3, |
| 1663 | +}; |
| 1664 | + |
| 1665 | +enum MAXCAPTIONSTATES { |
| 1666 | + MXCS_ACTIVE = 1, |
| 1667 | + MXCS_INACTIVE = 2, |
| 1668 | + MXCS_DISABLED = 3, |
| 1669 | +}; |
| 1670 | + |
| 1671 | +enum MINCAPTIONSTATES { |
| 1672 | + MNCS_ACTIVE = 1, |
| 1673 | + MNCS_INACTIVE = 2, |
| 1674 | + MNCS_DISABLED = 3, |
| 1675 | +}; |
| 1676 | + |
| 1677 | +enum HORZSCROLLSTATES { |
| 1678 | + HSS_NORMAL = 1, |
| 1679 | + HSS_HOT = 2, |
| 1680 | + HSS_PUSHED = 3, |
| 1681 | + HSS_DISABLED = 4, |
| 1682 | +}; |
| 1683 | + |
| 1684 | +enum HORZTHUMBSTATES { |
| 1685 | + HTS_NORMAL = 1, |
| 1686 | + HTS_HOT = 2, |
| 1687 | + HTS_PUSHED = 3, |
| 1688 | + HTS_DISABLED = 4, |
| 1689 | +}; |
| 1690 | + |
| 1691 | +enum VERTSCROLLSTATES { |
| 1692 | + VSS_NORMAL = 1, |
| 1693 | + VSS_HOT = 2, |
| 1694 | + VSS_PUSHED = 3, |
| 1695 | + VSS_DISABLED = 4, |
| 1696 | +}; |
| 1697 | + |
| 1698 | +enum VERTTHUMBSTATES { |
| 1699 | + VTS_NORMAL = 1, |
| 1700 | + VTS_HOT = 2, |
| 1701 | + VTS_PUSHED = 3, |
| 1702 | + VTS_DISABLED = 4, |
| 1703 | +}; |
| 1704 | + |
| 1705 | +enum SYSBUTTONSTATES { |
| 1706 | + SBS_NORMAL = 1, |
| 1707 | + SBS_HOT = 2, |
| 1708 | + SBS_PUSHED = 3, |
| 1709 | + SBS_DISABLED = 4, |
| 1710 | +}; |
| 1711 | + |
| 1712 | +enum MINBUTTONSTATES { |
| 1713 | + MINBS_NORMAL = 1, |
| 1714 | + MINBS_HOT = 2, |
| 1715 | + MINBS_PUSHED = 3, |
| 1716 | + MINBS_DISABLED = 4, |
| 1717 | +}; |
| 1718 | + |
| 1719 | +enum RESTOREBUTTONSTATES { |
| 1720 | + RBS_NORMAL = 1, |
| 1721 | + RBS_HOT = 2, |
| 1722 | + RBS_PUSHED = 3, |
| 1723 | + RBS_DISABLED = 4, |
| 1724 | +}; |
| 1725 | + |
| 1726 | +enum HELPBUTTONSTATES { |
| 1727 | + HBS_NORMAL = 1, |
| 1728 | + HBS_HOT = 2, |
| 1729 | + HBS_PUSHED = 3, |
| 1730 | + HBS_DISABLED = 4, |
| 1731 | +}; |
| 1732 | + |
| 1733 | +enum CLOSEBUTTONSTATES { |
| 1734 | + CBS_NORMAL = 1, |
| 1735 | + CBS_HOT = 2, |
| 1736 | + CBS_PUSHED = 3, |
| 1737 | + CBS_DISABLED = 4, |
| 1738 | +}; |
| 1739 | + |
| 1740 | +#endif /* __VSSTYLE_H__ */ |
Index: dxglcfg/tests.cpp |
— | — | @@ -299,6 +299,8 @@ |
300 | 300 | break;
|
301 | 301 | case VK_RIGHT:
|
302 | 302 | break;
|
| 303 | + case 'P':
|
| 304 | + break;
|
303 | 305 | }
|
304 | 306 | }
|
305 | 307 | }
|
Index: vs8/dxgl-vs8.sln |
— | — | @@ -14,9 +14,15 @@ |
15 | 15 | EndProject
|
16 | 16 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ddraw", "ddraw\ddraw.vcproj", "{3AB68EF6-DA0B-4B6D-A749-08F945F63424}"
|
17 | 17 | ProjectSection(ProjectDependencies) = postProject
|
| 18 | + {C2C26392-FA25-4D9A-B915-C4146928498F} = {C2C26392-FA25-4D9A-B915-C4146928498F}
|
| 19 | + {7DC34E0D-7AFF-4282-9F18-81FD29C290D0} = {7DC34E0D-7AFF-4282-9F18-81FD29C290D0}
|
18 | 20 | {9748220C-9E29-47E3-BD7F-6849100E10DA} = {9748220C-9E29-47E3-BD7F-6849100E10DA}
|
19 | | - {7DC34E0D-7AFF-4282-9F18-81FD29C290D0} = {7DC34E0D-7AFF-4282-9F18-81FD29C290D0}
|
| 21 | + EndProjectSection
|
| 22 | +EndProject
|
| 23 | +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dxglcfg", "dxglcfg\dxglcfg.vcproj", "{8A6EAE90-2389-4211-B10F-57C7CADC7FA1}"
|
| 24 | + ProjectSection(ProjectDependencies) = postProject
|
20 | 25 | {C2C26392-FA25-4D9A-B915-C4146928498F} = {C2C26392-FA25-4D9A-B915-C4146928498F}
|
| 26 | + {3AB68EF6-DA0B-4B6D-A749-08F945F63424} = {3AB68EF6-DA0B-4B6D-A749-08F945F63424}
|
21 | 27 | EndProjectSection
|
22 | 28 | EndProject
|
23 | 29 | Global
|
— | — | @@ -45,6 +51,10 @@ |
46 | 52 | {3AB68EF6-DA0B-4B6D-A749-08F945F63424}.Debug|Win32.Build.0 = Debug|Win32
|
47 | 53 | {3AB68EF6-DA0B-4B6D-A749-08F945F63424}.Release|Win32.ActiveCfg = Release|Win32
|
48 | 54 | {3AB68EF6-DA0B-4B6D-A749-08F945F63424}.Release|Win32.Build.0 = Release|Win32
|
| 55 | + {8A6EAE90-2389-4211-B10F-57C7CADC7FA1}.Debug|Win32.ActiveCfg = Debug|Win32
|
| 56 | + {8A6EAE90-2389-4211-B10F-57C7CADC7FA1}.Debug|Win32.Build.0 = Debug|Win32
|
| 57 | + {8A6EAE90-2389-4211-B10F-57C7CADC7FA1}.Release|Win32.ActiveCfg = Release|Win32
|
| 58 | + {8A6EAE90-2389-4211-B10F-57C7CADC7FA1}.Release|Win32.Build.0 = Release|Win32
|
49 | 59 | EndGlobalSection
|
50 | 60 | GlobalSection(SolutionProperties) = preSolution
|
51 | 61 | HideSolutionNode = FALSE
|
Index: vs8/dxglcfg/dxglcfg.vcproj |
— | — | @@ -0,0 +1,287 @@ |
| 2 | +<?xml version="1.0" encoding="Windows-1252"?>
|
| 3 | +<VisualStudioProject
|
| 4 | + ProjectType="Visual C++"
|
| 5 | + Version="8.00"
|
| 6 | + Name="dxglcfg"
|
| 7 | + ProjectGUID="{8A6EAE90-2389-4211-B10F-57C7CADC7FA1}"
|
| 8 | + RootNamespace="dxglcfg"
|
| 9 | + Keyword="Win32Proj"
|
| 10 | + >
|
| 11 | + <Platforms>
|
| 12 | + <Platform
|
| 13 | + Name="Win32"
|
| 14 | + />
|
| 15 | + </Platforms>
|
| 16 | + <ToolFiles>
|
| 17 | + </ToolFiles>
|
| 18 | + <Configurations>
|
| 19 | + <Configuration
|
| 20 | + Name="Debug|Win32"
|
| 21 | + OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
| 22 | + IntermediateDirectory="$(ConfigurationName)"
|
| 23 | + ConfigurationType="1"
|
| 24 | + CharacterSet="2"
|
| 25 | + >
|
| 26 | + <Tool
|
| 27 | + Name="VCPreBuildEventTool"
|
| 28 | + />
|
| 29 | + <Tool
|
| 30 | + Name="VCCustomBuildTool"
|
| 31 | + />
|
| 32 | + <Tool
|
| 33 | + Name="VCXMLDataGeneratorTool"
|
| 34 | + />
|
| 35 | + <Tool
|
| 36 | + Name="VCWebServiceProxyGeneratorTool"
|
| 37 | + />
|
| 38 | + <Tool
|
| 39 | + Name="VCMIDLTool"
|
| 40 | + />
|
| 41 | + <Tool
|
| 42 | + Name="VCCLCompilerTool"
|
| 43 | + Optimization="0"
|
| 44 | + PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
|
| 45 | + MinimalRebuild="true"
|
| 46 | + BasicRuntimeChecks="3"
|
| 47 | + RuntimeLibrary="3"
|
| 48 | + UsePrecompiledHeader="0"
|
| 49 | + WarningLevel="3"
|
| 50 | + Detect64BitPortabilityProblems="true"
|
| 51 | + DebugInformationFormat="4"
|
| 52 | + />
|
| 53 | + <Tool
|
| 54 | + Name="VCManagedResourceCompilerTool"
|
| 55 | + />
|
| 56 | + <Tool
|
| 57 | + Name="VCResourceCompilerTool"
|
| 58 | + PreprocessorDefinitions="_NOBIGICONS;_NOMANIFEST"
|
| 59 | + />
|
| 60 | + <Tool
|
| 61 | + Name="VCPreLinkEventTool"
|
| 62 | + />
|
| 63 | + <Tool
|
| 64 | + Name="VCLinkerTool"
|
| 65 | + AdditionalDependencies="winmm.lib $(OutDir)\cfgmgr.lib opengl32.lib Comctl32.lib Version.lib Htmlhelp.lib $(OutDir)\ddraw.lib"
|
| 66 | + LinkIncremental="2"
|
| 67 | + GenerateDebugInformation="true"
|
| 68 | + SubSystem="2"
|
| 69 | + OptimizeForWindows98="2"
|
| 70 | + TargetMachine="1"
|
| 71 | + />
|
| 72 | + <Tool
|
| 73 | + Name="VCALinkTool"
|
| 74 | + />
|
| 75 | + <Tool
|
| 76 | + Name="VCManifestTool"
|
| 77 | + />
|
| 78 | + <Tool
|
| 79 | + Name="VCXDCMakeTool"
|
| 80 | + />
|
| 81 | + <Tool
|
| 82 | + Name="VCBscMakeTool"
|
| 83 | + />
|
| 84 | + <Tool
|
| 85 | + Name="VCFxCopTool"
|
| 86 | + />
|
| 87 | + <Tool
|
| 88 | + Name="VCAppVerifierTool"
|
| 89 | + />
|
| 90 | + <Tool
|
| 91 | + Name="VCWebDeploymentTool"
|
| 92 | + />
|
| 93 | + <Tool
|
| 94 | + Name="VCPostBuildEventTool"
|
| 95 | + />
|
| 96 | + </Configuration>
|
| 97 | + <Configuration
|
| 98 | + Name="Release|Win32"
|
| 99 | + OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
| 100 | + IntermediateDirectory="$(ConfigurationName)"
|
| 101 | + ConfigurationType="1"
|
| 102 | + CharacterSet="2"
|
| 103 | + WholeProgramOptimization="1"
|
| 104 | + >
|
| 105 | + <Tool
|
| 106 | + Name="VCPreBuildEventTool"
|
| 107 | + />
|
| 108 | + <Tool
|
| 109 | + Name="VCCustomBuildTool"
|
| 110 | + />
|
| 111 | + <Tool
|
| 112 | + Name="VCXMLDataGeneratorTool"
|
| 113 | + />
|
| 114 | + <Tool
|
| 115 | + Name="VCWebServiceProxyGeneratorTool"
|
| 116 | + />
|
| 117 | + <Tool
|
| 118 | + Name="VCMIDLTool"
|
| 119 | + />
|
| 120 | + <Tool
|
| 121 | + Name="VCCLCompilerTool"
|
| 122 | + PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
|
| 123 | + RuntimeLibrary="2"
|
| 124 | + UsePrecompiledHeader="0"
|
| 125 | + WarningLevel="3"
|
| 126 | + Detect64BitPortabilityProblems="true"
|
| 127 | + DebugInformationFormat="3"
|
| 128 | + />
|
| 129 | + <Tool
|
| 130 | + Name="VCManagedResourceCompilerTool"
|
| 131 | + />
|
| 132 | + <Tool
|
| 133 | + Name="VCResourceCompilerTool"
|
| 134 | + PreprocessorDefinitions="_NOBIGICONS;_NOMANIFEST"
|
| 135 | + />
|
| 136 | + <Tool
|
| 137 | + Name="VCPreLinkEventTool"
|
| 138 | + />
|
| 139 | + <Tool
|
| 140 | + Name="VCLinkerTool"
|
| 141 | + AdditionalDependencies="winmm.lib $(OutDir)\cfgmgr.lib opengl32.lib Comctl32.lib Version.lib Htmlhelp.lib $(OutDir)\ddraw.lib"
|
| 142 | + LinkIncremental="1"
|
| 143 | + GenerateDebugInformation="true"
|
| 144 | + SubSystem="2"
|
| 145 | + OptimizeReferences="2"
|
| 146 | + EnableCOMDATFolding="2"
|
| 147 | + OptimizeForWindows98="2"
|
| 148 | + TargetMachine="1"
|
| 149 | + />
|
| 150 | + <Tool
|
| 151 | + Name="VCALinkTool"
|
| 152 | + />
|
| 153 | + <Tool
|
| 154 | + Name="VCManifestTool"
|
| 155 | + />
|
| 156 | + <Tool
|
| 157 | + Name="VCXDCMakeTool"
|
| 158 | + />
|
| 159 | + <Tool
|
| 160 | + Name="VCBscMakeTool"
|
| 161 | + />
|
| 162 | + <Tool
|
| 163 | + Name="VCFxCopTool"
|
| 164 | + />
|
| 165 | + <Tool
|
| 166 | + Name="VCAppVerifierTool"
|
| 167 | + />
|
| 168 | + <Tool
|
| 169 | + Name="VCWebDeploymentTool"
|
| 170 | + />
|
| 171 | + <Tool
|
| 172 | + Name="VCPostBuildEventTool"
|
| 173 | + />
|
| 174 | + </Configuration>
|
| 175 | + </Configurations>
|
| 176 | + <References>
|
| 177 | + </References>
|
| 178 | + <Files>
|
| 179 | + <Filter
|
| 180 | + Name="Source Files"
|
| 181 | + Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
| 182 | + UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
| 183 | + >
|
| 184 | + <File
|
| 185 | + RelativePath="..\..\dxglcfg\dxglcfg.cpp"
|
| 186 | + >
|
| 187 | + </File>
|
| 188 | + <File
|
| 189 | + RelativePath="..\..\dxglcfg\dxgltest.cpp"
|
| 190 | + >
|
| 191 | + </File>
|
| 192 | + <File
|
| 193 | + RelativePath="..\..\dxglcfg\dxguid.cpp"
|
| 194 | + >
|
| 195 | + </File>
|
| 196 | + <File
|
| 197 | + RelativePath="..\..\dxglcfg\MultiDD.cpp"
|
| 198 | + >
|
| 199 | + </File>
|
| 200 | + <File
|
| 201 | + RelativePath="..\..\dxglcfg\palette.cpp"
|
| 202 | + >
|
| 203 | + </File>
|
| 204 | + <File
|
| 205 | + RelativePath="..\..\dxglcfg\precomp.cpp"
|
| 206 | + >
|
| 207 | + </File>
|
| 208 | + <File
|
| 209 | + RelativePath="..\..\dxglcfg\surfacegen.cpp"
|
| 210 | + >
|
| 211 | + </File>
|
| 212 | + <File
|
| 213 | + RelativePath="..\..\dxglcfg\tests.cpp"
|
| 214 | + >
|
| 215 | + </File>
|
| 216 | + <File
|
| 217 | + RelativePath="..\..\dxglcfg\timer.cpp"
|
| 218 | + >
|
| 219 | + </File>
|
| 220 | + </Filter>
|
| 221 | + <Filter
|
| 222 | + Name="Header Files"
|
| 223 | + Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
| 224 | + UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
|
| 225 | + >
|
| 226 | + <File
|
| 227 | + RelativePath="..\..\dxglcfg\common.h"
|
| 228 | + >
|
| 229 | + </File>
|
| 230 | + <File
|
| 231 | + RelativePath="..\..\dxglcfg\dxgltest.h"
|
| 232 | + >
|
| 233 | + </File>
|
| 234 | + <File
|
| 235 | + RelativePath="..\..\dxglcfg\misc.h"
|
| 236 | + >
|
| 237 | + </File>
|
| 238 | + <File
|
| 239 | + RelativePath="..\..\dxglcfg\MultiDD.h"
|
| 240 | + >
|
| 241 | + </File>
|
| 242 | + <File
|
| 243 | + RelativePath="..\..\dxglcfg\palette.h"
|
| 244 | + >
|
| 245 | + </File>
|
| 246 | + <File
|
| 247 | + RelativePath="..\..\dxglcfg\resource.h"
|
| 248 | + >
|
| 249 | + </File>
|
| 250 | + <File
|
| 251 | + RelativePath="..\..\dxglcfg\surfacegen.h"
|
| 252 | + >
|
| 253 | + </File>
|
| 254 | + <File
|
| 255 | + RelativePath="..\..\dxglcfg\tests.h"
|
| 256 | + >
|
| 257 | + </File>
|
| 258 | + <File
|
| 259 | + RelativePath="..\..\dxglcfg\timer.h"
|
| 260 | + >
|
| 261 | + </File>
|
| 262 | + <Filter
|
| 263 | + Name="include"
|
| 264 | + >
|
| 265 | + <File
|
| 266 | + RelativePath="..\..\dxglcfg\include\vsstyle.h"
|
| 267 | + >
|
| 268 | + </File>
|
| 269 | + </Filter>
|
| 270 | + </Filter>
|
| 271 | + <Filter
|
| 272 | + Name="Resource Files"
|
| 273 | + Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
|
| 274 | + UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
|
| 275 | + >
|
| 276 | + <File
|
| 277 | + RelativePath="..\..\dxglcfg\dxglcfg.rc"
|
| 278 | + >
|
| 279 | + </File>
|
| 280 | + <File
|
| 281 | + RelativePath="..\..\dxglcfg\xp.manifest"
|
| 282 | + >
|
| 283 | + </File>
|
| 284 | + </Filter>
|
| 285 | + </Files>
|
| 286 | + <Globals>
|
| 287 | + </Globals>
|
| 288 | +</VisualStudioProject>
|
Index: vs8/dxglcfg |
Property changes on: vs8/dxglcfg |
___________________________________________________________________ |
Added: svn:ignore |
## -0,0 +1,3 ## |
| 289 | +Debug |
| 290 | +Release |
| 291 | +*.user |
Index: vs8 |
Property changes on: vs8 |
___________________________________________________________________ |
Modified: svn:ignore |
## -1,3 +1,4 ## |
1 | 292 | debug |
2 | 293 | *.ncb |
3 | 294 | release |
| 295 | +*.suo |