1 | /**
|
---|
2 | * This file has no copyright assigned and is placed in the Public Domain.
|
---|
3 | * This file is part of the mingw-w64 runtime package.
|
---|
4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
---|
5 | */
|
---|
6 | #define RT_MANIFEST 24
|
---|
7 | #define CREATEPROCESS_MANIFEST_RESOURCE_ID 1
|
---|
8 | #define ISOLATIONAWARE_MANIFEST_RESOURCE_ID 2
|
---|
9 | #define ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID 3
|
---|
10 | #define MINIMUM_RESERVED_MANIFEST_RESOURCE_ID 1
|
---|
11 | #define MAXIMUM_RESERVED_MANIFEST_RESOURCE_ID 16
|
---|
12 |
|
---|
13 | #define SW_HIDE 0
|
---|
14 | #define SW_SHOWNORMAL 1
|
---|
15 | #define SW_NORMAL 1
|
---|
16 | #define SW_SHOWMINIMIZED 2
|
---|
17 | #define SW_SHOWMAXIMIZED 3
|
---|
18 | #define SW_MAXIMIZE 3
|
---|
19 | #define SW_SHOWNOACTIVATE 4
|
---|
20 | #define SW_SHOW 5
|
---|
21 | #define SW_MINIMIZE 6
|
---|
22 | #define SW_SHOWMINNOACTIVE 7
|
---|
23 | #define SW_SHOWNA 8
|
---|
24 | #define SW_RESTORE 9
|
---|
25 | #define SW_SHOWDEFAULT 10
|
---|
26 | #define SW_FORCEMINIMIZE 11
|
---|
27 | #define SW_MAX 11
|
---|
28 |
|
---|
29 | #define HIDE_WINDOW 0
|
---|
30 | #define SHOW_OPENWINDOW 1
|
---|
31 | #define SHOW_ICONWINDOW 2
|
---|
32 | #define SHOW_FULLSCREEN 3
|
---|
33 | #define SHOW_OPENNOACTIVATE 4
|
---|
34 |
|
---|
35 | #define SW_PARENTCLOSING 1
|
---|
36 | #define SW_OTHERZOOM 2
|
---|
37 | #define SW_PARENTOPENING 3
|
---|
38 | #define SW_OTHERUNZOOM 4
|
---|
39 |
|
---|
40 | #define VK_LBUTTON 0x01
|
---|
41 | #define VK_RBUTTON 0x02
|
---|
42 | #define VK_CANCEL 0x03
|
---|
43 | #define VK_MBUTTON 0x04
|
---|
44 | #define VK_XBUTTON1 0x05
|
---|
45 | #define VK_XBUTTON2 0x06
|
---|
46 | #define VK_BACK 0x08
|
---|
47 | #define VK_TAB 0x09
|
---|
48 | #define VK_CLEAR 0x0C
|
---|
49 | #define VK_RETURN 0x0D
|
---|
50 |
|
---|
51 | #define VK_SHIFT 0x10
|
---|
52 | #define VK_CONTROL 0x11
|
---|
53 | #define VK_MENU 0x12
|
---|
54 | #define VK_PAUSE 0x13
|
---|
55 | #define VK_CAPITAL 0x14
|
---|
56 |
|
---|
57 | #define VK_KANA 0x15
|
---|
58 | #define VK_HANGEUL 0x15
|
---|
59 | #define VK_HANGUL 0x15
|
---|
60 | #define VK_JUNJA 0x17
|
---|
61 | #define VK_FINAL 0x18
|
---|
62 | #define VK_HANJA 0x19
|
---|
63 | #define VK_KANJI 0x19
|
---|
64 |
|
---|
65 | #define VK_ESCAPE 0x1B
|
---|
66 |
|
---|
67 | #define VK_CONVERT 0x1C
|
---|
68 | #define VK_NONCONVERT 0x1D
|
---|
69 | #define VK_ACCEPT 0x1E
|
---|
70 | #define VK_MODECHANGE 0x1F
|
---|
71 |
|
---|
72 | #define VK_SPACE 0x20
|
---|
73 | #define VK_PRIOR 0x21
|
---|
74 | #define VK_NEXT 0x22
|
---|
75 | #define VK_END 0x23
|
---|
76 | #define VK_HOME 0x24
|
---|
77 | #define VK_LEFT 0x25
|
---|
78 | #define VK_UP 0x26
|
---|
79 | #define VK_RIGHT 0x27
|
---|
80 | #define VK_DOWN 0x28
|
---|
81 | #define VK_SELECT 0x29
|
---|
82 | #define VK_PRINT 0x2A
|
---|
83 | #define VK_EXECUTE 0x2B
|
---|
84 | #define VK_SNAPSHOT 0x2C
|
---|
85 | #define VK_INSERT 0x2D
|
---|
86 | #define VK_DELETE 0x2E
|
---|
87 | #define VK_HELP 0x2F
|
---|
88 |
|
---|
89 | #define VK_LWIN 0x5B
|
---|
90 | #define VK_RWIN 0x5C
|
---|
91 | #define VK_APPS 0x5D
|
---|
92 |
|
---|
93 | #define VK_SLEEP 0x5F
|
---|
94 |
|
---|
95 | #define VK_NUMPAD0 0x60
|
---|
96 | #define VK_NUMPAD1 0x61
|
---|
97 | #define VK_NUMPAD2 0x62
|
---|
98 | #define VK_NUMPAD3 0x63
|
---|
99 | #define VK_NUMPAD4 0x64
|
---|
100 | #define VK_NUMPAD5 0x65
|
---|
101 | #define VK_NUMPAD6 0x66
|
---|
102 | #define VK_NUMPAD7 0x67
|
---|
103 | #define VK_NUMPAD8 0x68
|
---|
104 | #define VK_NUMPAD9 0x69
|
---|
105 | #define VK_MULTIPLY 0x6A
|
---|
106 | #define VK_ADD 0x6B
|
---|
107 | #define VK_SEPARATOR 0x6C
|
---|
108 | #define VK_SUBTRACT 0x6D
|
---|
109 | #define VK_DECIMAL 0x6E
|
---|
110 | #define VK_DIVIDE 0x6F
|
---|
111 | #define VK_F1 0x70
|
---|
112 | #define VK_F2 0x71
|
---|
113 | #define VK_F3 0x72
|
---|
114 | #define VK_F4 0x73
|
---|
115 | #define VK_F5 0x74
|
---|
116 | #define VK_F6 0x75
|
---|
117 | #define VK_F7 0x76
|
---|
118 | #define VK_F8 0x77
|
---|
119 | #define VK_F9 0x78
|
---|
120 | #define VK_F10 0x79
|
---|
121 | #define VK_F11 0x7A
|
---|
122 | #define VK_F12 0x7B
|
---|
123 | #define VK_F13 0x7C
|
---|
124 | #define VK_F14 0x7D
|
---|
125 | #define VK_F15 0x7E
|
---|
126 | #define VK_F16 0x7F
|
---|
127 | #define VK_F17 0x80
|
---|
128 | #define VK_F18 0x81
|
---|
129 | #define VK_F19 0x82
|
---|
130 | #define VK_F20 0x83
|
---|
131 | #define VK_F21 0x84
|
---|
132 | #define VK_F22 0x85
|
---|
133 | #define VK_F23 0x86
|
---|
134 | #define VK_F24 0x87
|
---|
135 |
|
---|
136 | #define VK_NUMLOCK 0x90
|
---|
137 | #define VK_SCROLL 0x91
|
---|
138 |
|
---|
139 | #define VK_OEM_NEC_EQUAL 0x92
|
---|
140 |
|
---|
141 | #define VK_OEM_FJ_JISHO 0x92
|
---|
142 | #define VK_OEM_FJ_MASSHOU 0x93
|
---|
143 | #define VK_OEM_FJ_TOUROKU 0x94
|
---|
144 | #define VK_OEM_FJ_LOYA 0x95
|
---|
145 | #define VK_OEM_FJ_ROYA 0x96
|
---|
146 |
|
---|
147 | #define VK_LSHIFT 0xA0
|
---|
148 | #define VK_RSHIFT 0xA1
|
---|
149 | #define VK_LCONTROL 0xA2
|
---|
150 | #define VK_RCONTROL 0xA3
|
---|
151 | #define VK_LMENU 0xA4
|
---|
152 | #define VK_RMENU 0xA5
|
---|
153 |
|
---|
154 | #define VK_BROWSER_BACK 0xA6
|
---|
155 | #define VK_BROWSER_FORWARD 0xA7
|
---|
156 | #define VK_BROWSER_REFRESH 0xA8
|
---|
157 | #define VK_BROWSER_STOP 0xA9
|
---|
158 | #define VK_BROWSER_SEARCH 0xAA
|
---|
159 | #define VK_BROWSER_FAVORITES 0xAB
|
---|
160 | #define VK_BROWSER_HOME 0xAC
|
---|
161 |
|
---|
162 | #define VK_VOLUME_MUTE 0xAD
|
---|
163 | #define VK_VOLUME_DOWN 0xAE
|
---|
164 | #define VK_VOLUME_UP 0xAF
|
---|
165 | #define VK_MEDIA_NEXT_TRACK 0xB0
|
---|
166 | #define VK_MEDIA_PREV_TRACK 0xB1
|
---|
167 | #define VK_MEDIA_STOP 0xB2
|
---|
168 | #define VK_MEDIA_PLAY_PAUSE 0xB3
|
---|
169 | #define VK_LAUNCH_MAIL 0xB4
|
---|
170 | #define VK_LAUNCH_MEDIA_SELECT 0xB5
|
---|
171 | #define VK_LAUNCH_APP1 0xB6
|
---|
172 | #define VK_LAUNCH_APP2 0xB7
|
---|
173 |
|
---|
174 | #define VK_OEM_1 0xBA
|
---|
175 | #define VK_OEM_PLUS 0xBB
|
---|
176 | #define VK_OEM_COMMA 0xBC
|
---|
177 | #define VK_OEM_MINUS 0xBD
|
---|
178 | #define VK_OEM_PERIOD 0xBE
|
---|
179 | #define VK_OEM_2 0xBF
|
---|
180 | #define VK_OEM_3 0xC0
|
---|
181 |
|
---|
182 | #define VK_OEM_4 0xDB
|
---|
183 | #define VK_OEM_5 0xDC
|
---|
184 | #define VK_OEM_6 0xDD
|
---|
185 | #define VK_OEM_7 0xDE
|
---|
186 | #define VK_OEM_8 0xDF
|
---|
187 |
|
---|
188 | #define VK_OEM_AX 0xE1
|
---|
189 | #define VK_OEM_102 0xE2
|
---|
190 | #define VK_ICO_HELP 0xE3
|
---|
191 | #define VK_ICO_00 0xE4
|
---|
192 | #define VK_PROCESSKEY 0xE5
|
---|
193 | #define VK_ICO_CLEAR 0xE6
|
---|
194 |
|
---|
195 | #define VK_PACKET 0xE7
|
---|
196 |
|
---|
197 | #define VK_OEM_RESET 0xE9
|
---|
198 | #define VK_OEM_JUMP 0xEA
|
---|
199 | #define VK_OEM_PA1 0xEB
|
---|
200 | #define VK_OEM_PA2 0xEC
|
---|
201 | #define VK_OEM_PA3 0xED
|
---|
202 | #define VK_OEM_WSCTRL 0xEE
|
---|
203 | #define VK_OEM_CUSEL 0xEF
|
---|
204 | #define VK_OEM_ATTN 0xF0
|
---|
205 | #define VK_OEM_FINISH 0xF1
|
---|
206 | #define VK_OEM_COPY 0xF2
|
---|
207 | #define VK_OEM_AUTO 0xF3
|
---|
208 | #define VK_OEM_ENLW 0xF4
|
---|
209 | #define VK_OEM_BACKTAB 0xF5
|
---|
210 |
|
---|
211 | #define VK_ATTN 0xF6
|
---|
212 | #define VK_CRSEL 0xF7
|
---|
213 | #define VK_EXSEL 0xF8
|
---|
214 | #define VK_EREOF 0xF9
|
---|
215 | #define VK_PLAY 0xFA
|
---|
216 | #define VK_ZOOM 0xFB
|
---|
217 | #define VK_NONAME 0xFC
|
---|
218 | #define VK_PA1 0xFD
|
---|
219 | #define VK_OEM_CLEAR 0xFE
|
---|
220 |
|
---|
221 | #define WM_NULL 0x0000
|
---|
222 | #define WM_CREATE 0x0001
|
---|
223 | #define WM_DESTROY 0x0002
|
---|
224 | #define WM_MOVE 0x0003
|
---|
225 | #define WM_SIZE 0x0005
|
---|
226 |
|
---|
227 | #define WM_ACTIVATE 0x0006
|
---|
228 |
|
---|
229 | #define WA_INACTIVE 0
|
---|
230 | #define WA_ACTIVE 1
|
---|
231 | #define WA_CLICKACTIVE 2
|
---|
232 |
|
---|
233 | #define WM_SETFOCUS 0x0007
|
---|
234 | #define WM_KILLFOCUS 0x0008
|
---|
235 | #define WM_ENABLE 0x000A
|
---|
236 | #define WM_SETREDRAW 0x000B
|
---|
237 | #define WM_SETTEXT 0x000C
|
---|
238 | #define WM_GETTEXT 0x000D
|
---|
239 | #define WM_GETTEXTLENGTH 0x000E
|
---|
240 | #define WM_PAINT 0x000F
|
---|
241 | #define WM_CLOSE 0x0010
|
---|
242 | #ifndef _WIN32_WCE
|
---|
243 | #define WM_QUERYENDSESSION 0x0011
|
---|
244 | #define WM_QUERYOPEN 0x0013
|
---|
245 | #define WM_ENDSESSION 0x0016
|
---|
246 | #endif
|
---|
247 | #define WM_QUIT 0x0012
|
---|
248 | #define WM_ERASEBKGND 0x0014
|
---|
249 | #define WM_SYSCOLORCHANGE 0x0015
|
---|
250 | #define WM_SHOWWINDOW 0x0018
|
---|
251 | #define WM_WININICHANGE 0x001A
|
---|
252 | #define WM_SETTINGCHANGE WM_WININICHANGE
|
---|
253 |
|
---|
254 | #define WM_DEVMODECHANGE 0x001B
|
---|
255 | #define WM_ACTIVATEAPP 0x001C
|
---|
256 | #define WM_FONTCHANGE 0x001D
|
---|
257 | #define WM_TIMECHANGE 0x001E
|
---|
258 | #define WM_CANCELMODE 0x001F
|
---|
259 | #define WM_SETCURSOR 0x0020
|
---|
260 | #define WM_MOUSEACTIVATE 0x0021
|
---|
261 | #define WM_CHILDACTIVATE 0x0022
|
---|
262 | #define WM_QUEUESYNC 0x0023
|
---|
263 |
|
---|
264 | #define WM_GETMINMAXINFO 0x0024
|
---|
265 | #define WM_PAINTICON 0x0026
|
---|
266 | #define WM_ICONERASEBKGND 0x0027
|
---|
267 | #define WM_NEXTDLGCTL 0x0028
|
---|
268 | #define WM_SPOOLERSTATUS 0x002A
|
---|
269 | #define WM_DRAWITEM 0x002B
|
---|
270 | #define WM_MEASUREITEM 0x002C
|
---|
271 | #define WM_DELETEITEM 0x002D
|
---|
272 | #define WM_VKEYTOITEM 0x002E
|
---|
273 | #define WM_CHARTOITEM 0x002F
|
---|
274 | #define WM_SETFONT 0x0030
|
---|
275 | #define WM_GETFONT 0x0031
|
---|
276 | #define WM_SETHOTKEY 0x0032
|
---|
277 | #define WM_GETHOTKEY 0x0033
|
---|
278 | #define WM_QUERYDRAGICON 0x0037
|
---|
279 | #define WM_COMPAREITEM 0x0039
|
---|
280 | #ifndef _WIN32_WCE
|
---|
281 | #define WM_GETOBJECT 0x003D
|
---|
282 | #endif
|
---|
283 | #define WM_COMPACTING 0x0041
|
---|
284 | #define WM_COMMNOTIFY 0x0044
|
---|
285 | #define WM_WINDOWPOSCHANGING 0x0046
|
---|
286 | #define WM_WINDOWPOSCHANGED 0x0047
|
---|
287 |
|
---|
288 | #define WM_POWER 0x0048
|
---|
289 |
|
---|
290 | #define PWR_OK 1
|
---|
291 | #define PWR_FAIL (-1)
|
---|
292 | #define PWR_SUSPENDREQUEST 1
|
---|
293 | #define PWR_SUSPENDRESUME 2
|
---|
294 | #define PWR_CRITICALRESUME 3
|
---|
295 |
|
---|
296 | #define WM_COPYDATA 0x004A
|
---|
297 | #define WM_CANCELJOURNAL 0x004B
|
---|
298 |
|
---|
299 | #define WM_NOTIFY 0x004E
|
---|
300 | #define WM_INPUTLANGCHANGEREQUEST 0x0050
|
---|
301 | #define WM_INPUTLANGCHANGE 0x0051
|
---|
302 | #define WM_TCARD 0x0052
|
---|
303 | #define WM_HELP 0x0053
|
---|
304 | #define WM_USERCHANGED 0x0054
|
---|
305 | #define WM_NOTIFYFORMAT 0x0055
|
---|
306 |
|
---|
307 | #define NFR_ANSI 1
|
---|
308 | #define NFR_UNICODE 2
|
---|
309 | #define NF_QUERY 3
|
---|
310 | #define NF_REQUERY 4
|
---|
311 |
|
---|
312 | #define WM_CONTEXTMENU 0x007B
|
---|
313 | #define WM_STYLECHANGING 0x007C
|
---|
314 | #define WM_STYLECHANGED 0x007D
|
---|
315 | #define WM_DISPLAYCHANGE 0x007E
|
---|
316 | #define WM_GETICON 0x007F
|
---|
317 | #define WM_SETICON 0x0080
|
---|
318 |
|
---|
319 | #define WM_NCCREATE 0x0081
|
---|
320 | #define WM_NCDESTROY 0x0082
|
---|
321 | #define WM_NCCALCSIZE 0x0083
|
---|
322 | #define WM_NCHITTEST 0x0084
|
---|
323 | #define WM_NCPAINT 0x0085
|
---|
324 | #define WM_NCACTIVATE 0x0086
|
---|
325 | #define WM_GETDLGCODE 0x0087
|
---|
326 | #ifndef _WIN32_WCE
|
---|
327 | #define WM_SYNCPAINT 0x0088
|
---|
328 | #endif
|
---|
329 | #define WM_NCMOUSEMOVE 0x00A0
|
---|
330 | #define WM_NCLBUTTONDOWN 0x00A1
|
---|
331 | #define WM_NCLBUTTONUP 0x00A2
|
---|
332 | #define WM_NCLBUTTONDBLCLK 0x00A3
|
---|
333 | #define WM_NCRBUTTONDOWN 0x00A4
|
---|
334 | #define WM_NCRBUTTONUP 0x00A5
|
---|
335 | #define WM_NCRBUTTONDBLCLK 0x00A6
|
---|
336 | #define WM_NCMBUTTONDOWN 0x00A7
|
---|
337 | #define WM_NCMBUTTONUP 0x00A8
|
---|
338 | #define WM_NCMBUTTONDBLCLK 0x00A9
|
---|
339 |
|
---|
340 | #define WM_NCXBUTTONDOWN 0x00AB
|
---|
341 | #define WM_NCXBUTTONUP 0x00AC
|
---|
342 | #define WM_NCXBUTTONDBLCLK 0x00AD
|
---|
343 | #define WM_INPUT 0x00FF
|
---|
344 | #define WM_KEYFIRST 0x0100
|
---|
345 | #define WM_KEYDOWN 0x0100
|
---|
346 | #define WM_KEYUP 0x0101
|
---|
347 | #define WM_CHAR 0x0102
|
---|
348 | #define WM_DEADCHAR 0x0103
|
---|
349 | #define WM_SYSKEYDOWN 0x0104
|
---|
350 | #define WM_SYSKEYUP 0x0105
|
---|
351 | #define WM_SYSCHAR 0x0106
|
---|
352 | #define WM_SYSDEADCHAR 0x0107
|
---|
353 | #define WM_UNICHAR 0x0109
|
---|
354 | #define WM_KEYLAST 0x0109
|
---|
355 | #define UNICODE_NOCHAR 0xFFFF
|
---|
356 |
|
---|
357 | #define WM_IME_STARTCOMPOSITION 0x010D
|
---|
358 | #define WM_IME_ENDCOMPOSITION 0x010E
|
---|
359 | #define WM_IME_COMPOSITION 0x010F
|
---|
360 | #define WM_IME_KEYLAST 0x010F
|
---|
361 | #define WM_INITDIALOG 0x0110
|
---|
362 | #define WM_COMMAND 0x0111
|
---|
363 | #define WM_SYSCOMMAND 0x0112
|
---|
364 | #define WM_TIMER 0x0113
|
---|
365 | #define WM_HSCROLL 0x0114
|
---|
366 | #define WM_VSCROLL 0x0115
|
---|
367 | #define WM_INITMENU 0x0116
|
---|
368 | #define WM_INITMENUPOPUP 0x0117
|
---|
369 | #define WM_MENUSELECT 0x011F
|
---|
370 | #define WM_MENUCHAR 0x0120
|
---|
371 | #define WM_ENTERIDLE 0x0121
|
---|
372 | #ifndef _WIN32_WCE
|
---|
373 | #define WM_MENURBUTTONUP 0x0122
|
---|
374 | #define WM_MENUDRAG 0x0123
|
---|
375 | #define WM_MENUGETOBJECT 0x0124
|
---|
376 | #define WM_UNINITMENUPOPUP 0x0125
|
---|
377 | #define WM_MENUCOMMAND 0x0126
|
---|
378 |
|
---|
379 | #ifndef _WIN32_WCE
|
---|
380 | #define WM_CHANGEUISTATE 0x0127
|
---|
381 | #define WM_UPDATEUISTATE 0x0128
|
---|
382 | #define WM_QUERYUISTATE 0x0129
|
---|
383 |
|
---|
384 | #define UIS_SET 1
|
---|
385 | #define UIS_CLEAR 2
|
---|
386 | #define UIS_INITIALIZE 3
|
---|
387 |
|
---|
388 | #define UISF_HIDEFOCUS 0x1
|
---|
389 | #define UISF_HIDEACCEL 0x2
|
---|
390 | #define UISF_ACTIVE 0x4
|
---|
391 | #endif
|
---|
392 | #endif
|
---|
393 |
|
---|
394 | #define WM_CTLCOLORMSGBOX 0x0132
|
---|
395 | #define WM_CTLCOLOREDIT 0x0133
|
---|
396 | #define WM_CTLCOLORLISTBOX 0x0134
|
---|
397 | #define WM_CTLCOLORBTN 0x0135
|
---|
398 | #define WM_CTLCOLORDLG 0x0136
|
---|
399 | #define WM_CTLCOLORSCROLLBAR 0x0137
|
---|
400 | #define WM_CTLCOLORSTATIC 0x0138
|
---|
401 | #define MN_GETHMENU 0x01E1
|
---|
402 |
|
---|
403 | #define WM_MOUSEFIRST 0x0200
|
---|
404 | #define WM_MOUSEMOVE 0x0200
|
---|
405 | #define WM_LBUTTONDOWN 0x0201
|
---|
406 | #define WM_LBUTTONUP 0x0202
|
---|
407 | #define WM_LBUTTONDBLCLK 0x0203
|
---|
408 | #define WM_RBUTTONDOWN 0x0204
|
---|
409 | #define WM_RBUTTONUP 0x0205
|
---|
410 | #define WM_RBUTTONDBLCLK 0x0206
|
---|
411 | #define WM_MBUTTONDOWN 0x0207
|
---|
412 | #define WM_MBUTTONUP 0x0208
|
---|
413 | #define WM_MBUTTONDBLCLK 0x0209
|
---|
414 | #define WM_MOUSEWHEEL 0x020A
|
---|
415 | #define WM_XBUTTONDOWN 0x020B
|
---|
416 | #define WM_XBUTTONUP 0x020C
|
---|
417 | #define WM_XBUTTONDBLCLK 0x020D
|
---|
418 | #define WM_MOUSELAST 0x020D
|
---|
419 | #define WHEEL_DELTA 120
|
---|
420 | #define GET_WHEEL_DELTA_WPARAM(wParam) ((short)HIWORD(wParam))
|
---|
421 |
|
---|
422 | #define WHEEL_PAGESCROLL (UINT_MAX)
|
---|
423 |
|
---|
424 | #define GET_KEYSTATE_WPARAM(wParam) (LOWORD(wParam))
|
---|
425 | #define GET_NCHITTEST_WPARAM(wParam) ((short)LOWORD(wParam))
|
---|
426 | #define GET_XBUTTON_WPARAM(wParam) (HIWORD(wParam))
|
---|
427 |
|
---|
428 | #define XBUTTON1 0x0001
|
---|
429 | #define XBUTTON2 0x0002
|
---|
430 |
|
---|
431 | #define WM_PARENTNOTIFY 0x0210
|
---|
432 | #define WM_ENTERMENULOOP 0x0211
|
---|
433 | #define WM_EXITMENULOOP 0x0212
|
---|
434 |
|
---|
435 | #define WM_NEXTMENU 0x0213
|
---|
436 | #define WM_SIZING 0x0214
|
---|
437 | #define WM_CAPTURECHANGED 0x0215
|
---|
438 | #define WM_MOVING 0x0216
|
---|
439 | #define WM_POWERBROADCAST 0x0218
|
---|
440 | #define WM_DEVICECHANGE 0x0219
|
---|
441 | #define WM_MDICREATE 0x0220
|
---|
442 | #define WM_MDIDESTROY 0x0221
|
---|
443 | #define WM_MDIACTIVATE 0x0222
|
---|
444 | #define WM_MDIRESTORE 0x0223
|
---|
445 | #define WM_MDINEXT 0x0224
|
---|
446 | #define WM_MDIMAXIMIZE 0x0225
|
---|
447 | #define WM_MDITILE 0x0226
|
---|
448 | #define WM_MDICASCADE 0x0227
|
---|
449 | #define WM_MDIICONARRANGE 0x0228
|
---|
450 | #define WM_MDIGETACTIVE 0x0229
|
---|
451 |
|
---|
452 | #define WM_MDISETMENU 0x0230
|
---|
453 | #define WM_ENTERSIZEMOVE 0x0231
|
---|
454 | #define WM_EXITSIZEMOVE 0x0232
|
---|
455 | #define WM_DROPFILES 0x0233
|
---|
456 | #define WM_MDIREFRESHMENU 0x0234
|
---|
457 |
|
---|
458 | #define WM_IME_SETCONTEXT 0x0281
|
---|
459 | #define WM_IME_NOTIFY 0x0282
|
---|
460 | #define WM_IME_CONTROL 0x0283
|
---|
461 | #define WM_IME_COMPOSITIONFULL 0x0284
|
---|
462 | #define WM_IME_SELECT 0x0285
|
---|
463 | #define WM_IME_CHAR 0x0286
|
---|
464 | #define WM_IME_REQUEST 0x0288
|
---|
465 | #define WM_IME_KEYDOWN 0x0290
|
---|
466 | #define WM_IME_KEYUP 0x0291
|
---|
467 |
|
---|
468 | #define WM_MOUSEHOVER 0x02A1
|
---|
469 | #define WM_MOUSELEAVE 0x02A3
|
---|
470 | #define WM_NCMOUSEHOVER 0x02A0
|
---|
471 | #define WM_NCMOUSELEAVE 0x02A2
|
---|
472 |
|
---|
473 | #define WM_WTSSESSION_CHANGE 0x02B1
|
---|
474 |
|
---|
475 | #define WM_TABLET_FIRST 0x02c0
|
---|
476 | #define WM_TABLET_LAST 0x02df
|
---|
477 | #define WM_CUT 0x0300
|
---|
478 | #define WM_COPY 0x0301
|
---|
479 | #define WM_PASTE 0x0302
|
---|
480 | #define WM_CLEAR 0x0303
|
---|
481 | #define WM_UNDO 0x0304
|
---|
482 | #define WM_RENDERFORMAT 0x0305
|
---|
483 | #define WM_RENDERALLFORMATS 0x0306
|
---|
484 | #define WM_DESTROYCLIPBOARD 0x0307
|
---|
485 | #define WM_DRAWCLIPBOARD 0x0308
|
---|
486 | #define WM_PAINTCLIPBOARD 0x0309
|
---|
487 | #define WM_VSCROLLCLIPBOARD 0x030A
|
---|
488 | #define WM_SIZECLIPBOARD 0x030B
|
---|
489 | #define WM_ASKCBFORMATNAME 0x030C
|
---|
490 | #define WM_CHANGECBCHAIN 0x030D
|
---|
491 | #define WM_HSCROLLCLIPBOARD 0x030E
|
---|
492 | #define WM_QUERYNEWPALETTE 0x030F
|
---|
493 | #define WM_PALETTEISCHANGING 0x0310
|
---|
494 | #define WM_PALETTECHANGED 0x0311
|
---|
495 | #define WM_HOTKEY 0x0312
|
---|
496 |
|
---|
497 | #define WM_PRINT 0x0317
|
---|
498 | #define WM_PRINTCLIENT 0x0318
|
---|
499 |
|
---|
500 | #define WM_APPCOMMAND 0x0319
|
---|
501 | #define WM_THEMECHANGED 0x031A
|
---|
502 | #define WM_HANDHELDFIRST 0x0358
|
---|
503 | #define WM_HANDHELDLAST 0x035F
|
---|
504 | #define WM_AFXFIRST 0x0360
|
---|
505 | #define WM_AFXLAST 0x037F
|
---|
506 | #define WM_PENWINFIRST 0x0380
|
---|
507 | #define WM_PENWINLAST 0x038F
|
---|
508 | #define WM_APP 0x8000
|
---|
509 | #define WM_USER 0x0400
|
---|
510 |
|
---|
511 | #define WMSZ_LEFT 1
|
---|
512 | #define WMSZ_RIGHT 2
|
---|
513 | #define WMSZ_TOP 3
|
---|
514 | #define WMSZ_TOPLEFT 4
|
---|
515 | #define WMSZ_TOPRIGHT 5
|
---|
516 | #define WMSZ_BOTTOM 6
|
---|
517 | #define WMSZ_BOTTOMLEFT 7
|
---|
518 | #define WMSZ_BOTTOMRIGHT 8
|
---|
519 |
|
---|
520 | #ifndef NONCMESSAGES
|
---|
521 |
|
---|
522 | #define HTERROR (-2)
|
---|
523 | #define HTTRANSPARENT (-1)
|
---|
524 | #define HTNOWHERE 0
|
---|
525 | #define HTCLIENT 1
|
---|
526 | #define HTCAPTION 2
|
---|
527 | #define HTSYSMENU 3
|
---|
528 | #define HTGROWBOX 4
|
---|
529 | #define HTSIZE HTGROWBOX
|
---|
530 | #define HTMENU 5
|
---|
531 | #define HTHSCROLL 6
|
---|
532 | #define HTVSCROLL 7
|
---|
533 | #define HTMINBUTTON 8
|
---|
534 | #define HTMAXBUTTON 9
|
---|
535 | #define HTLEFT 10
|
---|
536 | #define HTRIGHT 11
|
---|
537 | #define HTTOP 12
|
---|
538 | #define HTTOPLEFT 13
|
---|
539 | #define HTTOPRIGHT 14
|
---|
540 | #define HTBOTTOM 15
|
---|
541 | #define HTBOTTOMLEFT 16
|
---|
542 | #define HTBOTTOMRIGHT 17
|
---|
543 | #define HTBORDER 18
|
---|
544 | #define HTREDUCE HTMINBUTTON
|
---|
545 | #define HTZOOM HTMAXBUTTON
|
---|
546 | #define HTSIZEFIRST HTLEFT
|
---|
547 | #define HTSIZELAST HTBOTTOMRIGHT
|
---|
548 | #define HTOBJECT 19
|
---|
549 | #define HTCLOSE 20
|
---|
550 | #define HTHELP 21
|
---|
551 |
|
---|
552 | #define SMTO_NORMAL 0x0000
|
---|
553 | #define SMTO_BLOCK 0x0001
|
---|
554 | #define SMTO_ABORTIFHUNG 0x0002
|
---|
555 | #define SMTO_NOTIMEOUTIFNOTHUNG 0x0008
|
---|
556 | #endif
|
---|
557 |
|
---|
558 | #define MA_ACTIVATE 1
|
---|
559 | #define MA_ACTIVATEANDEAT 2
|
---|
560 | #define MA_NOACTIVATE 3
|
---|
561 | #define MA_NOACTIVATEANDEAT 4
|
---|
562 |
|
---|
563 | #define ICON_SMALL 0
|
---|
564 | #define ICON_BIG 1
|
---|
565 | #define ICON_SMALL2 2
|
---|
566 | #define SIZE_RESTORED 0
|
---|
567 | #define SIZE_MINIMIZED 1
|
---|
568 | #define SIZE_MAXIMIZED 2
|
---|
569 | #define SIZE_MAXSHOW 3
|
---|
570 | #define SIZE_MAXHIDE 4
|
---|
571 |
|
---|
572 | #define SIZENORMAL SIZE_RESTORED
|
---|
573 | #define SIZEICONIC SIZE_MINIMIZED
|
---|
574 | #define SIZEFULLSCREEN SIZE_MAXIMIZED
|
---|
575 | #define SIZEZOOMSHOW SIZE_MAXSHOW
|
---|
576 | #define SIZEZOOMHIDE SIZE_MAXHIDE
|
---|
577 |
|
---|
578 | #define WVR_ALIGNTOP 0x0010
|
---|
579 | #define WVR_ALIGNLEFT 0x0020
|
---|
580 | #define WVR_ALIGNBOTTOM 0x0040
|
---|
581 | #define WVR_ALIGNRIGHT 0x0080
|
---|
582 | #define WVR_HREDRAW 0x0100
|
---|
583 | #define WVR_VREDRAW 0x0200
|
---|
584 | #define WVR_REDRAW (WVR_HREDRAW | WVR_VREDRAW)
|
---|
585 | #define WVR_VALIDRECTS 0x0400
|
---|
586 |
|
---|
587 | #ifndef NOKEYSTATES
|
---|
588 |
|
---|
589 | #define MK_LBUTTON 0x0001
|
---|
590 | #define MK_RBUTTON 0x0002
|
---|
591 | #define MK_SHIFT 0x0004
|
---|
592 | #define MK_CONTROL 0x0008
|
---|
593 | #define MK_MBUTTON 0x0010
|
---|
594 | #define MK_XBUTTON1 0x0020
|
---|
595 | #define MK_XBUTTON2 0x0040
|
---|
596 | #endif
|
---|
597 |
|
---|
598 | #ifndef NOTRACKMOUSEEVENT
|
---|
599 | #define TME_HOVER 0x00000001
|
---|
600 | #define TME_LEAVE 0x00000002
|
---|
601 | #define TME_NONCLIENT 0x00000010
|
---|
602 | #define TME_QUERY 0x40000000
|
---|
603 | #define TME_CANCEL 0x80000000
|
---|
604 |
|
---|
605 | #define HOVER_DEFAULT 0xFFFFFFFF
|
---|
606 | #endif
|
---|
607 |
|
---|
608 | #define WS_OVERLAPPED 0x00000000L
|
---|
609 | #define WS_POPUP 0x80000000L
|
---|
610 | #define WS_CHILD 0x40000000L
|
---|
611 | #define WS_MINIMIZE 0x20000000L
|
---|
612 | #define WS_VISIBLE 0x10000000L
|
---|
613 | #define WS_DISABLED 0x08000000L
|
---|
614 | #define WS_CLIPSIBLINGS 0x04000000L
|
---|
615 | #define WS_CLIPCHILDREN 0x02000000L
|
---|
616 | #define WS_MAXIMIZE 0x01000000L
|
---|
617 | #define WS_CAPTION 0x00C00000L
|
---|
618 | #define WS_BORDER 0x00800000L
|
---|
619 | #define WS_DLGFRAME 0x00400000L
|
---|
620 | #define WS_VSCROLL 0x00200000L
|
---|
621 | #define WS_HSCROLL 0x00100000L
|
---|
622 | #define WS_SYSMENU 0x00080000L
|
---|
623 | #define WS_THICKFRAME 0x00040000L
|
---|
624 | #define WS_GROUP 0x00020000L
|
---|
625 | #define WS_TABSTOP 0x00010000L
|
---|
626 |
|
---|
627 | #define WS_MINIMIZEBOX 0x00020000L
|
---|
628 | #define WS_MAXIMIZEBOX 0x00010000L
|
---|
629 |
|
---|
630 | #define WS_TILED WS_OVERLAPPED
|
---|
631 | #define WS_ICONIC WS_MINIMIZE
|
---|
632 | #define WS_SIZEBOX WS_THICKFRAME
|
---|
633 | #define WS_TILEDWINDOW WS_OVERLAPPEDWINDOW
|
---|
634 |
|
---|
635 | #define WS_OVERLAPPEDWINDOW (WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX)
|
---|
636 |
|
---|
637 | #define WS_POPUPWINDOW (WS_POPUP | WS_BORDER | WS_SYSMENU)
|
---|
638 |
|
---|
639 | #define WS_CHILDWINDOW (WS_CHILD)
|
---|
640 |
|
---|
641 | #define WS_EX_DLGMODALFRAME 0x00000001L
|
---|
642 | #define WS_EX_NOPARENTNOTIFY 0x00000004L
|
---|
643 | #define WS_EX_TOPMOST 0x00000008L
|
---|
644 | #define WS_EX_ACCEPTFILES 0x00000010L
|
---|
645 | #define WS_EX_TRANSPARENT 0x00000020L
|
---|
646 | #define WS_EX_MDICHILD 0x00000040L
|
---|
647 | #define WS_EX_TOOLWINDOW 0x00000080L
|
---|
648 | #define WS_EX_WINDOWEDGE 0x00000100L
|
---|
649 | #define WS_EX_CLIENTEDGE 0x00000200L
|
---|
650 | #define WS_EX_CONTEXTHELP 0x00000400L
|
---|
651 | #define WS_EX_RIGHT 0x00001000L
|
---|
652 | #define WS_EX_LEFT 0x00000000L
|
---|
653 | #define WS_EX_RTLREADING 0x00002000L
|
---|
654 | #define WS_EX_LTRREADING 0x00000000L
|
---|
655 | #define WS_EX_LEFTSCROLLBAR 0x00004000L
|
---|
656 | #define WS_EX_RIGHTSCROLLBAR 0x00000000L
|
---|
657 |
|
---|
658 | #define WS_EX_CONTROLPARENT 0x00010000L
|
---|
659 | #define WS_EX_STATICEDGE 0x00020000L
|
---|
660 | #define WS_EX_APPWINDOW 0x00040000L
|
---|
661 |
|
---|
662 | #define WS_EX_OVERLAPPEDWINDOW (WS_EX_WINDOWEDGE | WS_EX_CLIENTEDGE)
|
---|
663 | #define WS_EX_PALETTEWINDOW (WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST)
|
---|
664 | #define WS_EX_LAYERED 0x00080000
|
---|
665 | #define WS_EX_NOINHERITLAYOUT 0x00100000L
|
---|
666 | #define WS_EX_LAYOUTRTL 0x00400000L
|
---|
667 | #define WS_EX_COMPOSITED 0x02000000L
|
---|
668 | #define WS_EX_NOACTIVATE 0x08000000L
|
---|
669 |
|
---|
670 | #define CS_VREDRAW 0x0001
|
---|
671 | #define CS_HREDRAW 0x0002
|
---|
672 | #define CS_DBLCLKS 0x0008
|
---|
673 | #define CS_OWNDC 0x0020
|
---|
674 | #define CS_CLASSDC 0x0040
|
---|
675 | #define CS_PARENTDC 0x0080
|
---|
676 | #define CS_NOCLOSE 0x0200
|
---|
677 | #define CS_SAVEBITS 0x0800
|
---|
678 | #define CS_BYTEALIGNCLIENT 0x1000
|
---|
679 | #define CS_BYTEALIGNWINDOW 0x2000
|
---|
680 | #define CS_GLOBALCLASS 0x4000
|
---|
681 | #define CS_IME 0x00010000
|
---|
682 | #define CS_DROPSHADOW 0x00020000
|
---|
683 |
|
---|
684 | #define CF_TEXT 1
|
---|
685 | #define CF_BITMAP 2
|
---|
686 | #define CF_METAFILEPICT 3
|
---|
687 | #define CF_SYLK 4
|
---|
688 | #define CF_DIF 5
|
---|
689 | #define CF_TIFF 6
|
---|
690 | #define CF_OEMTEXT 7
|
---|
691 | #define CF_DIB 8
|
---|
692 | #define CF_PALETTE 9
|
---|
693 | #define CF_PENDATA 10
|
---|
694 | #define CF_RIFF 11
|
---|
695 | #define CF_WAVE 12
|
---|
696 | #define CF_UNICODETEXT 13
|
---|
697 | #define CF_ENHMETAFILE 14
|
---|
698 | #define CF_HDROP 15
|
---|
699 | #define CF_LOCALE 16
|
---|
700 | #define CF_DIBV5 17
|
---|
701 |
|
---|
702 | #define CF_MAX 18
|
---|
703 |
|
---|
704 | #define CF_OWNERDISPLAY 0x0080
|
---|
705 | #define CF_DSPTEXT 0x0081
|
---|
706 | #define CF_DSPBITMAP 0x0082
|
---|
707 | #define CF_DSPMETAFILEPICT 0x0083
|
---|
708 | #define CF_DSPENHMETAFILE 0x008E
|
---|
709 |
|
---|
710 | #define CF_PRIVATEFIRST 0x0200
|
---|
711 | #define CF_PRIVATELAST 0x02FF
|
---|
712 |
|
---|
713 | #define CF_GDIOBJFIRST 0x0300
|
---|
714 | #define CF_GDIOBJLAST 0x03FF
|
---|
715 |
|
---|
716 | #define MF_INSERT 0x00000000L
|
---|
717 | #define MF_CHANGE 0x00000080L
|
---|
718 | #define MF_APPEND 0x00000100L
|
---|
719 | #define MF_DELETE 0x00000200L
|
---|
720 | #define MF_REMOVE 0x00001000L
|
---|
721 |
|
---|
722 | #define MF_BYCOMMAND 0x00000000L
|
---|
723 | #define MF_BYPOSITION 0x00000400L
|
---|
724 |
|
---|
725 | #define MF_SEPARATOR 0x00000800L
|
---|
726 |
|
---|
727 | #define MF_ENABLED 0x00000000L
|
---|
728 | #define MF_GRAYED 0x00000001L
|
---|
729 | #define MF_DISABLED 0x00000002L
|
---|
730 |
|
---|
731 | #define MF_UNCHECKED 0x00000000L
|
---|
732 | #define MF_CHECKED 0x00000008L
|
---|
733 | #define MF_USECHECKBITMAPS 0x00000200L
|
---|
734 |
|
---|
735 | #define MF_STRING 0x00000000L
|
---|
736 | #define MF_BITMAP 0x00000004L
|
---|
737 | #define MF_OWNERDRAW 0x00000100L
|
---|
738 |
|
---|
739 | #define MF_POPUP 0x00000010L
|
---|
740 | #define MF_MENUBARBREAK 0x00000020L
|
---|
741 | #define MF_MENUBREAK 0x00000040L
|
---|
742 |
|
---|
743 | #define MF_UNHILITE 0x00000000L
|
---|
744 | #define MF_HILITE 0x00000080L
|
---|
745 |
|
---|
746 | #define MF_DEFAULT 0x00001000L
|
---|
747 | #define MF_SYSMENU 0x00002000L
|
---|
748 | #define MF_HELP 0x00004000L
|
---|
749 | #define MF_RIGHTJUSTIFY 0x00004000L
|
---|
750 | #define MF_MOUSESELECT 0x00008000L
|
---|
751 | #define MF_END 0x00000080L
|
---|
752 | #define MFT_STRING MF_STRING
|
---|
753 | #define MFT_BITMAP MF_BITMAP
|
---|
754 | #define MFT_MENUBARBREAK MF_MENUBARBREAK
|
---|
755 | #define MFT_MENUBREAK MF_MENUBREAK
|
---|
756 | #define MFT_OWNERDRAW MF_OWNERDRAW
|
---|
757 | #define MFT_RADIOCHECK 0x00000200L
|
---|
758 | #define MFT_SEPARATOR MF_SEPARATOR
|
---|
759 | #define MFT_RIGHTORDER 0x00002000L
|
---|
760 | #define MFT_RIGHTJUSTIFY MF_RIGHTJUSTIFY
|
---|
761 |
|
---|
762 | #define MFS_GRAYED 0x00000003L
|
---|
763 | #define MFS_DISABLED MFS_GRAYED
|
---|
764 | #define MFS_CHECKED MF_CHECKED
|
---|
765 | #define MFS_HILITE MF_HILITE
|
---|
766 | #define MFS_ENABLED MF_ENABLED
|
---|
767 | #define MFS_UNCHECKED MF_UNCHECKED
|
---|
768 | #define MFS_UNHILITE MF_UNHILITE
|
---|
769 | #define MFS_DEFAULT MF_DEFAULT
|
---|
770 |
|
---|
771 | #define MF_END 0x00000080L
|
---|
772 |
|
---|
773 | #define SC_SIZE 0xF000
|
---|
774 | #define SC_MOVE 0xF010
|
---|
775 | #define SC_MINIMIZE 0xF020
|
---|
776 | #define SC_MAXIMIZE 0xF030
|
---|
777 | #define SC_NEXTWINDOW 0xF040
|
---|
778 | #define SC_PREVWINDOW 0xF050
|
---|
779 | #define SC_CLOSE 0xF060
|
---|
780 | #define SC_VSCROLL 0xF070
|
---|
781 | #define SC_HSCROLL 0xF080
|
---|
782 | #define SC_MOUSEMENU 0xF090
|
---|
783 | #define SC_KEYMENU 0xF100
|
---|
784 | #define SC_ARRANGE 0xF110
|
---|
785 | #define SC_RESTORE 0xF120
|
---|
786 | #define SC_TASKLIST 0xF130
|
---|
787 | #define SC_SCREENSAVE 0xF140
|
---|
788 | #define SC_HOTKEY 0xF150
|
---|
789 | #define SC_DEFAULT 0xF160
|
---|
790 | #define SC_MONITORPOWER 0xF170
|
---|
791 | #define SC_CONTEXTHELP 0xF180
|
---|
792 | #define SC_SEPARATOR 0xF00F
|
---|
793 |
|
---|
794 | #define SC_ICON SC_MINIMIZE
|
---|
795 | #define SC_ZOOM SC_MAXIMIZE
|
---|
796 |
|
---|
797 | #define OBM_CLOSE 32754
|
---|
798 | #define OBM_UPARROW 32753
|
---|
799 | #define OBM_DNARROW 32752
|
---|
800 | #define OBM_RGARROW 32751
|
---|
801 | #define OBM_LFARROW 32750
|
---|
802 | #define OBM_REDUCE 32749
|
---|
803 | #define OBM_ZOOM 32748
|
---|
804 | #define OBM_RESTORE 32747
|
---|
805 | #define OBM_REDUCED 32746
|
---|
806 | #define OBM_ZOOMD 32745
|
---|
807 | #define OBM_RESTORED 32744
|
---|
808 | #define OBM_UPARROWD 32743
|
---|
809 | #define OBM_DNARROWD 32742
|
---|
810 | #define OBM_RGARROWD 32741
|
---|
811 | #define OBM_LFARROWD 32740
|
---|
812 | #define OBM_MNARROW 32739
|
---|
813 | #define OBM_COMBO 32738
|
---|
814 | #define OBM_UPARROWI 32737
|
---|
815 | #define OBM_DNARROWI 32736
|
---|
816 | #define OBM_RGARROWI 32735
|
---|
817 | #define OBM_LFARROWI 32734
|
---|
818 |
|
---|
819 | #define OBM_OLD_CLOSE 32767
|
---|
820 | #define OBM_SIZE 32766
|
---|
821 | #define OBM_OLD_UPARROW 32765
|
---|
822 | #define OBM_OLD_DNARROW 32764
|
---|
823 | #define OBM_OLD_RGARROW 32763
|
---|
824 | #define OBM_OLD_LFARROW 32762
|
---|
825 | #define OBM_BTSIZE 32761
|
---|
826 | #define OBM_CHECK 32760
|
---|
827 | #define OBM_CHECKBOXES 32759
|
---|
828 | #define OBM_BTNCORNERS 32758
|
---|
829 | #define OBM_OLD_REDUCE 32757
|
---|
830 | #define OBM_OLD_ZOOM 32756
|
---|
831 | #define OBM_OLD_RESTORE 32755
|
---|
832 |
|
---|
833 | #define OCR_NORMAL 32512
|
---|
834 | #define OCR_IBEAM 32513
|
---|
835 | #define OCR_WAIT 32514
|
---|
836 | #define OCR_CROSS 32515
|
---|
837 | #define OCR_UP 32516
|
---|
838 | #define OCR_SIZE 32640
|
---|
839 | #define OCR_ICON 32641
|
---|
840 | #define OCR_SIZENWSE 32642
|
---|
841 | #define OCR_SIZENESW 32643
|
---|
842 | #define OCR_SIZEWE 32644
|
---|
843 | #define OCR_SIZENS 32645
|
---|
844 | #define OCR_SIZEALL 32646
|
---|
845 | #define OCR_ICOCUR 32647
|
---|
846 | #define OCR_NO 32648
|
---|
847 | #define OCR_HAND 32649
|
---|
848 | #define OCR_APPSTARTING 32650
|
---|
849 |
|
---|
850 | #define OIC_SAMPLE 32512
|
---|
851 | #define OIC_HAND 32513
|
---|
852 | #define OIC_QUES 32514
|
---|
853 | #define OIC_BANG 32515
|
---|
854 | #define OIC_NOTE 32516
|
---|
855 | #define OIC_WINLOGO 32517
|
---|
856 | #define OIC_WARNING OIC_BANG
|
---|
857 | #define OIC_ERROR OIC_HAND
|
---|
858 | #define OIC_INFORMATION OIC_NOTE
|
---|
859 |
|
---|
860 | #ifdef RC_INVOKED
|
---|
861 | #define IDI_APPLICATION 32512
|
---|
862 | #define IDI_HAND 32513
|
---|
863 | #define IDI_QUESTION 32514
|
---|
864 | #define IDI_EXCLAMATION 32515
|
---|
865 | #define IDI_ASTERISK 32516
|
---|
866 | #define IDI_WINLOGO 32517
|
---|
867 | #else
|
---|
868 | #define IDI_APPLICATION MAKEINTRESOURCE(32512)
|
---|
869 | #define IDI_HAND MAKEINTRESOURCE(32513)
|
---|
870 | #define IDI_QUESTION MAKEINTRESOURCE(32514)
|
---|
871 | #define IDI_EXCLAMATION MAKEINTRESOURCE(32515)
|
---|
872 | #define IDI_ASTERISK MAKEINTRESOURCE(32516)
|
---|
873 | #define IDI_WINLOGO MAKEINTRESOURCE(32517)
|
---|
874 | #endif
|
---|
875 |
|
---|
876 | #define IDI_WARNING IDI_EXCLAMATION
|
---|
877 | #define IDI_ERROR IDI_HAND
|
---|
878 | #define IDI_INFORMATION IDI_ASTERISK
|
---|
879 |
|
---|
880 | #define IDOK 1
|
---|
881 | #define IDCANCEL 2
|
---|
882 | #define IDABORT 3
|
---|
883 | #define IDRETRY 4
|
---|
884 | #define IDIGNORE 5
|
---|
885 | #define IDYES 6
|
---|
886 | #define IDNO 7
|
---|
887 | #define IDCLOSE 8
|
---|
888 | #define IDHELP 9
|
---|
889 |
|
---|
890 | #define IDTRYAGAIN 10
|
---|
891 | #define IDCONTINUE 11
|
---|
892 |
|
---|
893 | #ifndef IDTIMEOUT
|
---|
894 | #define IDTIMEOUT 32000
|
---|
895 | #endif
|
---|
896 |
|
---|
897 | #define ES_LEFT 0x0000L
|
---|
898 | #define ES_CENTER 0x0001L
|
---|
899 | #define ES_RIGHT 0x0002L
|
---|
900 | #define ES_MULTILINE 0x0004L
|
---|
901 | #define ES_UPPERCASE 0x0008L
|
---|
902 | #define ES_LOWERCASE 0x0010L
|
---|
903 | #define ES_PASSWORD 0x0020L
|
---|
904 | #define ES_AUTOVSCROLL 0x0040L
|
---|
905 | #define ES_AUTOHSCROLL 0x0080L
|
---|
906 | #define ES_NOHIDESEL 0x0100L
|
---|
907 | #define ES_OEMCONVERT 0x0400L
|
---|
908 | #define ES_READONLY 0x0800L
|
---|
909 | #define ES_WANTRETURN 0x1000L
|
---|
910 | #define ES_NUMBER 0x2000L
|
---|
911 |
|
---|
912 | #define EM_GETSEL 0x00B0
|
---|
913 | #define EM_SETSEL 0x00B1
|
---|
914 | #define EM_GETRECT 0x00B2
|
---|
915 | #define EM_SETRECT 0x00B3
|
---|
916 | #define EM_SETRECTNP 0x00B4
|
---|
917 | #define EM_SCROLL 0x00B5
|
---|
918 | #define EM_LINESCROLL 0x00B6
|
---|
919 | #define EM_SCROLLCARET 0x00B7
|
---|
920 | #define EM_GETMODIFY 0x00B8
|
---|
921 | #define EM_SETMODIFY 0x00B9
|
---|
922 | #define EM_GETLINECOUNT 0x00BA
|
---|
923 | #define EM_LINEINDEX 0x00BB
|
---|
924 | #define EM_SETHANDLE 0x00BC
|
---|
925 | #define EM_GETHANDLE 0x00BD
|
---|
926 | #define EM_GETTHUMB 0x00BE
|
---|
927 | #define EM_LINELENGTH 0x00C1
|
---|
928 | #define EM_REPLACESEL 0x00C2
|
---|
929 | #define EM_GETLINE 0x00C4
|
---|
930 | #define EM_LIMITTEXT 0x00C5
|
---|
931 | #define EM_CANUNDO 0x00C6
|
---|
932 | #define EM_UNDO 0x00C7
|
---|
933 | #define EM_FMTLINES 0x00C8
|
---|
934 | #define EM_LINEFROMCHAR 0x00C9
|
---|
935 | #define EM_SETTABSTOPS 0x00CB
|
---|
936 | #define EM_SETPASSWORDCHAR 0x00CC
|
---|
937 | #define EM_EMPTYUNDOBUFFER 0x00CD
|
---|
938 | #define EM_GETFIRSTVISIBLELINE 0x00CE
|
---|
939 | #define EM_SETREADONLY 0x00CF
|
---|
940 | #define EM_SETWORDBREAKPROC 0x00D0
|
---|
941 | #define EM_GETWORDBREAKPROC 0x00D1
|
---|
942 | #define EM_GETPASSWORDCHAR 0x00D2
|
---|
943 | #define EM_SETMARGINS 0x00D3
|
---|
944 | #define EM_GETMARGINS 0x00D4
|
---|
945 | #define EM_SETLIMITTEXT EM_LIMITTEXT
|
---|
946 | #define EM_GETLIMITTEXT 0x00D5
|
---|
947 | #define EM_POSFROMCHAR 0x00D6
|
---|
948 | #define EM_CHARFROMPOS 0x00D7
|
---|
949 | #define EM_SETIMESTATUS 0x00D8
|
---|
950 | #define EM_GETIMESTATUS 0x00D9
|
---|
951 |
|
---|
952 | #define BS_PUSHBUTTON 0x00000000L
|
---|
953 | #define BS_DEFPUSHBUTTON 0x00000001L
|
---|
954 | #define BS_CHECKBOX 0x00000002L
|
---|
955 | #define BS_AUTOCHECKBOX 0x00000003L
|
---|
956 | #define BS_RADIOBUTTON 0x00000004L
|
---|
957 | #define BS_3STATE 0x00000005L
|
---|
958 | #define BS_AUTO3STATE 0x00000006L
|
---|
959 | #define BS_GROUPBOX 0x00000007L
|
---|
960 | #define BS_USERBUTTON 0x00000008L
|
---|
961 | #define BS_AUTORADIOBUTTON 0x00000009L
|
---|
962 | #define BS_PUSHBOX 0x0000000AL
|
---|
963 | #define BS_OWNERDRAW 0x0000000BL
|
---|
964 | #define BS_TYPEMASK 0x0000000FL
|
---|
965 | #define BS_LEFTTEXT 0x00000020L
|
---|
966 | #define BS_TEXT 0x00000000L
|
---|
967 | #define BS_ICON 0x00000040L
|
---|
968 | #define BS_BITMAP 0x00000080L
|
---|
969 | #define BS_LEFT 0x00000100L
|
---|
970 | #define BS_RIGHT 0x00000200L
|
---|
971 | #define BS_CENTER 0x00000300L
|
---|
972 | #define BS_TOP 0x00000400L
|
---|
973 | #define BS_BOTTOM 0x00000800L
|
---|
974 | #define BS_VCENTER 0x00000C00L
|
---|
975 | #define BS_PUSHLIKE 0x00001000L
|
---|
976 | #define BS_MULTILINE 0x00002000L
|
---|
977 | #define BS_NOTIFY 0x00004000L
|
---|
978 | #define BS_FLAT 0x00008000L
|
---|
979 | #define BS_RIGHTBUTTON BS_LEFTTEXT
|
---|
980 |
|
---|
981 | #define BN_CLICKED 0
|
---|
982 | #define BN_PAINT 1
|
---|
983 | #define BN_HILITE 2
|
---|
984 | #define BN_UNHILITE 3
|
---|
985 | #define BN_DISABLE 4
|
---|
986 | #define BN_DOUBLECLICKED 5
|
---|
987 | #define BN_PUSHED BN_HILITE
|
---|
988 | #define BN_UNPUSHED BN_UNHILITE
|
---|
989 | #define BN_DBLCLK BN_DOUBLECLICKED
|
---|
990 | #define BN_SETFOCUS 6
|
---|
991 | #define BN_KILLFOCUS 7
|
---|
992 |
|
---|
993 | #define BM_GETCHECK 0x00F0
|
---|
994 | #define BM_SETCHECK 0x00F1
|
---|
995 | #define BM_GETSTATE 0x00F2
|
---|
996 | #define BM_SETSTATE 0x00F3
|
---|
997 | #define BM_SETSTYLE 0x00F4
|
---|
998 | #define BM_CLICK 0x00F5
|
---|
999 | #define BM_GETIMAGE 0x00F6
|
---|
1000 | #define BM_SETIMAGE 0x00F7
|
---|
1001 |
|
---|
1002 | #define BST_UNCHECKED 0x0000
|
---|
1003 | #define BST_CHECKED 0x0001
|
---|
1004 | #define BST_INDETERMINATE 0x0002
|
---|
1005 | #define BST_PUSHED 0x0004
|
---|
1006 | #define BST_FOCUS 0x0008
|
---|
1007 |
|
---|
1008 | #define SS_LEFT 0x00000000L
|
---|
1009 | #define SS_CENTER 0x00000001L
|
---|
1010 | #define SS_RIGHT 0x00000002L
|
---|
1011 | #define SS_ICON 0x00000003L
|
---|
1012 | #define SS_BLACKRECT 0x00000004L
|
---|
1013 | #define SS_GRAYRECT 0x00000005L
|
---|
1014 | #define SS_WHITERECT 0x00000006L
|
---|
1015 | #define SS_BLACKFRAME 0x00000007L
|
---|
1016 | #define SS_GRAYFRAME 0x00000008L
|
---|
1017 | #define SS_WHITEFRAME 0x00000009L
|
---|
1018 | #define SS_USERITEM 0x0000000AL
|
---|
1019 | #define SS_SIMPLE 0x0000000BL
|
---|
1020 | #define SS_LEFTNOWORDWRAP 0x0000000CL
|
---|
1021 | #define SS_OWNERDRAW 0x0000000DL
|
---|
1022 | #define SS_BITMAP 0x0000000EL
|
---|
1023 | #define SS_ENHMETAFILE 0x0000000FL
|
---|
1024 | #define SS_ETCHEDHORZ 0x00000010L
|
---|
1025 | #define SS_ETCHEDVERT 0x00000011L
|
---|
1026 | #define SS_ETCHEDFRAME 0x00000012L
|
---|
1027 | #define SS_TYPEMASK 0x0000001FL
|
---|
1028 | #define SS_REALSIZECONTROL 0x00000040L
|
---|
1029 | #define SS_NOPREFIX 0x00000080L
|
---|
1030 | #define SS_NOTIFY 0x00000100L
|
---|
1031 | #define SS_CENTERIMAGE 0x00000200L
|
---|
1032 | #define SS_RIGHTJUST 0x00000400L
|
---|
1033 | #define SS_REALSIZEIMAGE 0x00000800L
|
---|
1034 | #define SS_SUNKEN 0x00001000L
|
---|
1035 | #define SS_EDITCONTROL 0x00002000L
|
---|
1036 | #define SS_ENDELLIPSIS 0x00004000L
|
---|
1037 | #define SS_PATHELLIPSIS 0x00008000L
|
---|
1038 | #define SS_WORDELLIPSIS 0x0000C000L
|
---|
1039 | #define SS_ELLIPSISMASK 0x0000C000L
|
---|
1040 |
|
---|
1041 | #define DS_ABSALIGN 0x01L
|
---|
1042 | #define DS_SYSMODAL 0x02L
|
---|
1043 | #define DS_LOCALEDIT 0x20L
|
---|
1044 | #define DS_SETFONT 0x40L
|
---|
1045 | #define DS_MODALFRAME 0x80L
|
---|
1046 | #define DS_NOIDLEMSG 0x100L
|
---|
1047 | #define DS_SETFOREGROUND 0x200L
|
---|
1048 |
|
---|
1049 | #define DS_3DLOOK 0x0004L
|
---|
1050 | #define DS_FIXEDSYS 0x0008L
|
---|
1051 | #define DS_NOFAILCREATE 0x0010L
|
---|
1052 | #define DS_CONTROL 0x0400L
|
---|
1053 | #define DS_CENTER 0x0800L
|
---|
1054 | #define DS_CENTERMOUSE 0x1000L
|
---|
1055 | #define DS_CONTEXTHELP 0x2000L
|
---|
1056 |
|
---|
1057 | #define DS_SHELLFONT (DS_SETFONT | DS_FIXEDSYS)
|
---|
1058 |
|
---|
1059 | #if(_WIN32_WCE >= 0x0500)
|
---|
1060 | #define DS_USEPIXELS 0x8000L
|
---|
1061 | #endif
|
---|
1062 |
|
---|
1063 | #define LBS_NOTIFY 0x0001L
|
---|
1064 | #define LBS_SORT 0x0002L
|
---|
1065 | #define LBS_NOREDRAW 0x0004L
|
---|
1066 | #define LBS_MULTIPLESEL 0x0008L
|
---|
1067 | #define LBS_OWNERDRAWFIXED 0x0010L
|
---|
1068 | #define LBS_OWNERDRAWVARIABLE 0x0020L
|
---|
1069 | #define LBS_HASSTRINGS 0x0040L
|
---|
1070 | #define LBS_USETABSTOPS 0x0080L
|
---|
1071 | #define LBS_NOINTEGRALHEIGHT 0x0100L
|
---|
1072 | #define LBS_MULTICOLUMN 0x0200L
|
---|
1073 | #define LBS_WANTKEYBOARDINPUT 0x0400L
|
---|
1074 | #define LBS_EXTENDEDSEL 0x0800L
|
---|
1075 | #define LBS_DISABLENOSCROLL 0x1000L
|
---|
1076 | #define LBS_NODATA 0x2000L
|
---|
1077 | #define LBS_NOSEL 0x4000L
|
---|
1078 | #define LBS_COMBOBOX 0x8000L
|
---|
1079 |
|
---|
1080 | #define LBS_STANDARD (LBS_NOTIFY | LBS_SORT | WS_VSCROLL | WS_BORDER)
|
---|
1081 |
|
---|
1082 | #define CBS_SIMPLE 0x0001L
|
---|
1083 | #define CBS_DROPDOWN 0x0002L
|
---|
1084 | #define CBS_DROPDOWNLIST 0x0003L
|
---|
1085 | #define CBS_OWNERDRAWFIXED 0x0010L
|
---|
1086 | #define CBS_OWNERDRAWVARIABLE 0x0020L
|
---|
1087 | #define CBS_AUTOHSCROLL 0x0040L
|
---|
1088 | #define CBS_OEMCONVERT 0x0080L
|
---|
1089 | #define CBS_SORT 0x0100L
|
---|
1090 | #define CBS_HASSTRINGS 0x0200L
|
---|
1091 | #define CBS_NOINTEGRALHEIGHT 0x0400L
|
---|
1092 | #define CBS_DISABLENOSCROLL 0x0800L
|
---|
1093 | #define CBS_UPPERCASE 0x2000L
|
---|
1094 | #define CBS_LOWERCASE 0x4000L
|
---|
1095 |
|
---|
1096 | #define SBS_HORZ 0x0000L
|
---|
1097 | #define SBS_VERT 0x0001L
|
---|
1098 | #define SBS_TOPALIGN 0x0002L
|
---|
1099 | #define SBS_LEFTALIGN 0x0002L
|
---|
1100 | #define SBS_BOTTOMALIGN 0x0004L
|
---|
1101 | #define SBS_RIGHTALIGN 0x0004L
|
---|
1102 | #define SBS_SIZEBOXTOPLEFTALIGN 0x0002L
|
---|
1103 | #define SBS_SIZEBOXBOTTOMRIGHTALIGN 0x0004L
|
---|
1104 | #define SBS_SIZEBOX 0x0008L
|
---|
1105 | #define SBS_SIZEGRIP 0x0010L
|
---|
1106 |
|
---|
1107 | #define HELP_CONTEXT 0x0001L
|
---|
1108 | #define HELP_QUIT 0x0002L
|
---|
1109 | #define HELP_INDEX 0x0003L
|
---|
1110 | #define HELP_CONTENTS 0x0003L
|
---|
1111 | #define HELP_HELPONHELP 0x0004L
|
---|
1112 | #define HELP_SETINDEX 0x0005L
|
---|
1113 | #define HELP_SETCONTENTS 0x0005L
|
---|
1114 | #define HELP_CONTEXTPOPUP 0x0008L
|
---|
1115 | #define HELP_FORCEFILE 0x0009L
|
---|
1116 | #define HELP_KEY 0x0101L
|
---|
1117 | #define HELP_COMMAND 0x0102L
|
---|
1118 | #define HELP_PARTIALKEY 0x0105L
|
---|
1119 | #define HELP_MULTIKEY 0x0201L
|
---|
1120 | #define HELP_SETWINPOS 0x0203L
|
---|
1121 | #define HELP_CONTEXTMENU 0x000a
|
---|
1122 | #define HELP_FINDER 0x000b
|
---|
1123 | #define HELP_WM_HELP 0x000c
|
---|
1124 | #define HELP_SETPOPUP_POS 0x000d
|
---|
1125 |
|
---|
1126 | #define HELP_TCARD 0x8000
|
---|
1127 | #define HELP_TCARD_DATA 0x0010
|
---|
1128 | #define HELP_TCARD_OTHER_CALLER 0x0011
|
---|
1129 |
|
---|
1130 | #define IDH_NO_HELP 28440
|
---|
1131 | #define IDH_MISSING_CONTEXT 28441
|
---|
1132 | #define IDH_GENERIC_HELP_BUTTON 28442
|
---|
1133 | #define IDH_OK 28443
|
---|
1134 | #define IDH_CANCEL 28444
|
---|
1135 | #define IDH_HELP 28445
|
---|