KERNEL_VERSION_MAJOR: 0 -> 5
[reactos.git] / include / messages.h
1 /* 
2    Messages.h
3
4    Windows32 API message definitions
5
6    Copyright (C) 1996 Free Software Foundation, Inc.
7
8    Author: Scott Christley <scottc@net-community.com>
9
10    This file is part of the Windows32 API Library.
11
12    This library is free software; you can redistribute it and/or
13    modify it under the terms of the GNU Library General Public
14    License as published by the Free Software Foundation; either
15    version 2 of the License, or (at your option) any later version.
16    
17    This library is distributed in the hope that it will be useful,
18    but WITHOUT ANY WARRANTY; without even the implied warranty of
19    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
20    Library General Public License for more details.
21
22    If you are interested in a warranty or support for this source code,
23    contact Scott Christley <scottc@net-community.com> for more information.
24    
25    You should have received a copy of the GNU Library General Public
26    License along with this library; see the file COPYING.LIB.
27    If not, write to the Free Software Foundation, 
28    59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
29 */
30 /* WARNING:  This file is automatically generated. */
31
32 #ifndef _GNU_H_WINDOWS32_MESSAGES
33 #define _GNU_H_WINDOWS32_MESSAGES
34
35 #ifdef __cplusplus
36 extern "C" {
37 #endif /* __cplusplus */
38
39
40 /* Application bar */
41
42 /* Application bar notifications */
43
44 /* Animation Control */
45 #define ACM_OPENW       (1127)
46 #define ACM_OPENA       (1124)
47 #ifndef _DISABLE_TIDENTS
48 #ifdef UNICODE
49 #define ACM_OPEN ACM_OPENW
50 #else
51 #define ACM_OPEN ACM_OPENA
52 #endif /* UNICODE */
53 #endif /* _DISABLE_TIDENTS */
54 #define ACM_PLAY        (1125)
55 #define ACM_STOP        (1126)
56 #define ACN_START       (1)
57 #define ACN_STOP        (2)
58
59 /* Buttons */
60 #define BM_CLICK        (245)
61 #define BM_GETCHECK     (240)
62 #define BM_GETIMAGE     (246)
63 #define BM_GETSTATE     (242)
64 #define BM_SETCHECK     (241)
65 #define BM_SETIMAGE     (247)
66 #define BM_SETSTATE     (243)
67 #define BM_SETSTYLE     (244)
68 #define BN_CLICKED      (0)
69 #define BN_DBLCLK       (5)
70 #define BN_DISABLE      (4)
71 #define BN_DOUBLECLICKED        (5)
72 #define BN_HILITE       (2)
73 #define BN_KILLFOCUS    (7)
74 #define BN_PAINT        (1)
75 #define BN_PUSHED       (2)
76 #define BN_SETFOCUS     (6)
77 #define BN_UNHILITE     (3)
78 #define BN_UNPUSHED     (3)
79
80 /* Combo Box */
81 #define CB_ADDSTRING    (323)
82 #define CB_DELETESTRING (324)
83 #define CB_DIR  (325)
84 #define CB_FINDSTRING   (332)
85 #define CB_FINDSTRINGEXACT      (344)
86 #define CB_GETCOUNT     (326)
87 #define CB_GETCURSEL    (327)
88 #define CB_GETDROPPEDCONTROLRECT        (338)
89 #define CB_GETDROPPEDSTATE      (343)
90 #define CB_GETDROPPEDWIDTH      (351)
91 #define CB_GETEDITSEL   (320)
92 #define CB_GETEXTENDEDUI        (342)
93 #define CB_GETHORIZONTALEXTENT  (349)
94 #define CB_GETITEMDATA  (336)
95 #define CB_GETITEMHEIGHT        (340)
96 #define CB_GETLBTEXT    (328)
97 #define CB_GETLBTEXTLEN (329)
98 #define CB_GETLOCALE    (346)
99 #define CB_GETTOPINDEX  (347)
100 #define CB_INITSTORAGE  (353)
101 #define CB_INSERTSTRING (330)
102 #define CB_LIMITTEXT    (321)
103 #define CB_RESETCONTENT (331)
104 #define CB_SELECTSTRING (333)
105 #define CB_SETCURSEL    (334)
106 #define CB_SETDROPPEDWIDTH      (352)
107 #define CB_SETEDITSEL   (322)
108 #define CB_SETEXTENDEDUI        (341)
109 #define CB_SETHORIZONTALEXTENT  (350)
110 #define CB_SETITEMDATA  (337)
111 #define CB_SETITEMHEIGHT        (339)
112 #define CB_SETLOCALE    (345)
113 #define CB_SETTOPINDEX  (348)
114 #define CB_SHOWDROPDOWN (335)
115
116 /* Combo Box notifications */
117 #define CBN_CLOSEUP     (8)
118 #define CBN_DBLCLK      (2)
119 #define CBN_DROPDOWN    (7)
120 #define CBN_EDITCHANGE  (5)
121 #define CBN_EDITUPDATE  (6)
122 #define CBN_ERRSPACE    (-1)
123 #define CBN_KILLFOCUS   (4)
124 #define CBN_SELCHANGE   (1)
125 #define CBN_SELENDCANCEL        (10)
126 #define CBN_SELENDOK    (9)
127 #define CBN_SETFOCUS    (3)
128
129 /* Control Panel */
130
131 /* Device messages */
132
133 /* Drag list box */
134 #define DL_BEGINDRAG    (1157)
135 #define DL_CANCELDRAG   (1160)
136 #define DL_DRAGGING     (1158)
137 #define DL_DROPPED      (1159)
138
139 /* Default push button */
140 #define DM_GETDEFID     (1024)
141 #define DM_REPOSITION   (1026)
142 #define DM_SETDEFID     (1025)
143
144 /* RTF control */
145 #define EM_CANPASTE     (1074)
146 #define EM_CANUNDO      (198)
147 #define EM_CHARFROMPOS  (215)
148 #define EM_DISPLAYBAND  (1075)
149 #define EM_EMPTYUNDOBUFFER      (205)
150 #define EM_EXGETSEL     (1076)
151 #define EM_EXLIMITTEXT  (1077)
152 #define EM_EXLINEFROMCHAR       (1078)
153 #define EM_EXSETSEL     (1079)
154 #define EM_FINDTEXT     (1080)
155 #define EM_FINDTEXTEX   (1103)
156 #define EM_FINDWORDBREAK        (1100)
157 #define EM_FMTLINES     (200)
158 #define EM_FORMATRANGE  (1081)
159 #define EM_GETCHARFORMAT        (1082)
160 #define EM_GETEVENTMASK (1083)
161 #define EM_GETFIRSTVISIBLELINE  (206)
162 #define EM_GETHANDLE    (189)
163 #define EM_GETLIMITTEXT (213)
164 #define EM_GETLINE      (196)
165 #define EM_GETLINECOUNT (186)
166 #define EM_GETMARGINS   (212)
167 #define EM_GETMODIFY    (184)
168 #define EM_GETIMECOLOR  (1129)
169 #define EM_GETIMEOPTIONS        (1131)
170 #define EM_GETOPTIONS   (1102)
171 #define EM_GETOLEINTERFACE      (1084)
172 #define EM_GETPARAFORMAT        (1085)
173 #define EM_GETPASSWORDCHAR      (210)
174 #define EM_GETPUNCTUATION       (1125)
175 #define EM_GETRECT      (178)
176 #define EM_GETSEL       (176)
177 #define EM_GETSELTEXT   (1086)
178 #define EM_GETTEXTRANGE (1099)
179 #define EM_GETTHUMB     (190)
180 #define EM_GETWORDBREAKPROC     (209)
181 #define EM_GETWORDBREAKPROCEX   (1104)
182 #define EM_GETWORDWRAPMODE      (1127)
183 #define EM_HIDESELECTION        (1087)
184 #define EM_LIMITTEXT    (197)
185 #define EM_LINEFROMCHAR (201)
186 #define EM_LINEINDEX    (187)
187 #define EM_LINELENGTH   (193)
188 #define EM_LINESCROLL   (182)
189 #define EM_PASTESPECIAL (1088)
190 #define EM_POSFROMCHAR  (214)
191 #define EM_REPLACESEL   (194)
192 #define EM_REQUESTRESIZE        (1089)
193 #define EM_SCROLL       (181)
194 #define EM_SCROLLCARET  (183)
195 #define EM_SELECTIONTYPE        (1090)
196 #define EM_SETBKGNDCOLOR        (1091)
197 #define EM_SETCHARFORMAT        (1092)
198 #define EM_SETEVENTMASK (1093)
199 #define EM_SETHANDLE    (188)
200 #define EM_SETIMECOLOR  (1128)
201 #define EM_SETIMEOPTIONS        (1130)
202 #define EM_SETLIMITTEXT (197)
203 #define EM_SETMARGINS   (211)
204 #define EM_SETMODIFY    (185)
205 #define EM_SETOLECALLBACK       (1094)
206 #define EM_SETOPTIONS   (1101)
207 #define EM_SETPARAFORMAT        (1095)
208 #define EM_SETPASSWORDCHAR      (204)
209 #define EM_SETPUNCTUATION       (1124)
210 #define EM_SETREADONLY  (207)
211 #define EM_SETRECT      (179)
212 #define EM_SETRECTNP    (180)
213 #define EM_SETSEL       (177)
214 #define EM_SETTABSTOPS  (203)
215 #define EM_SETTARGETDEVICE      (1096)
216 #define EM_SETWORDBREAKPROC     (208)
217 #define EM_SETWORDBREAKPROCEX   (1105)
218 #define EM_SETWORDWRAPMODE      (1126)
219 #define EM_STREAMIN     (1097)
220 #define EM_STREAMOUT    (1098)
221 #define EM_UNDO (199)
222
223 /* Edit control */
224 #define EN_CHANGE       (768)
225 #define EN_CORRECTTEXT  (1797)
226 #define EN_DROPFILES    (1795)
227 #define EN_ERRSPACE     (1280)
228 #define EN_HSCROLL      (1537)
229 #define EN_IMECHANGE    (1799)
230 #define EN_KILLFOCUS    (512)
231 #define EN_MAXTEXT      (1281)
232 #define EN_MSGFILTER    (1792)
233 #define EN_OLEOPFAILED  (1801)
234 #define EN_PROTECTED    (1796)
235 #define EN_REQUESTRESIZE        (1793)
236 #define EN_SAVECLIPBOARD        (1800)
237 #define EN_SELCHANGE    (1794)
238 #define EN_SETFOCUS     (256)
239 #define EN_STOPNOUNDO   (1798)
240 #define EN_UPDATE       (1024)
241 #define EN_VSCROLL      (1538)
242
243 /* File Manager extensions */
244
245 /* File Manager extensions DLL events */
246
247 /* Header control */
248 #define HDM_DELETEITEM  (4610)
249 #define HDM_GETITEMW    (4619)
250 #define HDM_INSERTITEMW (4618)
251 #define HDM_SETITEMW    (4620)
252 #define HDM_GETITEMA    (4611)
253 #define HDM_INSERTITEMA (4609)
254 #define HDM_SETITEMA    (4612)
255 #ifndef _DISABLE_TIDENTS
256 #ifdef UNICODE
257 #define HDM_GETITEM HDM_GETITEMW
258 #define HDM_INSERTITEM HDM_INSERTITEMW
259 #define HDM_SETITEM HDM_SETITEMW
260 #else
261 #define HDM_GETITEM HDM_GETITEMA
262 #define HDM_INSERTITEM HDM_INSERTITEMA
263 #define HDM_SETITEM HDM_SETITEMA
264 #endif /* UNICODE */
265 #endif /* _DISABLE_TIDENTS */
266 #define HDM_GETITEMCOUNT        (4608)
267 #define HDM_HITTEST     (4614)
268 #define HDM_LAYOUT      (4613)
269
270 /* Header control notifications */
271 #define HDN_BEGINTRACKW (-326)
272 #define HDN_DIVIDERDBLCLICKW    (-325)
273 #define HDN_ENDTRACKW   (-327)
274 #define HDN_ITEMCHANGEDW        (-321)
275 #define HDN_ITEMCHANGINGW       (-320)
276 #define HDN_ITEMCLICKW  (-322)
277 #define HDN_ITEMDBLCLICKW       (-323)
278 #define HDN_TRACKW      (-328)
279 #define HDN_BEGINTRACKA (-306)
280 #define HDN_DIVIDERDBLCLICKA    (-305)
281 #define HDN_ENDTRACKA   (-307)
282 #define HDN_ITEMCHANGEDA        (-301)
283 #define HDN_ITEMCHANGINGA       (-300)
284 #define HDN_ITEMCLICKA  (-302)
285 #define HDN_ITEMDBLCLICKA       (-303)
286 #define HDN_TRACKA      (-308)
287 #ifndef _DISABLE_TIDENTS
288 #ifdef UNICODE
289 #define HDN_BEGINTRACK HDN_BEGINTRACKW
290 #define HDN_DIVIDERDBLCLICK HDN_DIVIDERDBLCLICKW
291 #define HDN_ENDTRACK HDN_ENDTRACKW
292 #define HDN_ITEMCHANGED HDN_ITEMCHANGEDW
293 #define HDN_ITEMCHANGING HDN_ITEMCHANGINGW
294 #define HDN_ITEMCLICK HDN_ITEMCLICKW
295 #define HDN_ITEMDBLCLICK HDN_ITEMDBLCLICKW
296 #define HDN_TRACK HDN_TRACKW
297 #else
298 #define HDN_BEGINTRACK HDN_BEGINTRACKA
299 #define HDN_DIVIDERDBLCLICK HDN_DIVIDERDBLCLICKA
300 #define HDN_ENDTRACK HDN_ENDTRACKA
301 #define HDN_ITEMCHANGED HDN_ITEMCHANGEDA
302 #define HDN_ITEMCHANGING HDN_ITEMCHANGINGA
303 #define HDN_ITEMCLICK HDN_ITEMCLICKA
304 #define HDN_ITEMDBLCLICK HDN_ITEMDBLCLICKA
305 #define HDN_TRACK HDN_TRACKA
306 #endif /* UNICODE */
307 #endif /* _DISABLE_TIDENTS */
308
309 /* Hot key control */
310 #define HKM_GETHOTKEY   (1026)
311 #define HKM_SETHOTKEY   (1025)
312 #define HKM_SETRULES    (1027)
313
314 /* List box */
315 #define LB_ADDFILE      (406)
316 #define LB_ADDSTRING    (384)
317 #define LB_DELETESTRING (386)
318 #define LB_DIR  (397)
319 #define LB_FINDSTRING   (399)
320 #define LB_FINDSTRINGEXACT      (418)
321 #define LB_GETANCHORINDEX       (413)
322 #define LB_GETCARETINDEX        (415)
323 #define LB_GETCOUNT     (395)
324 #define LB_GETCURSEL    (392)
325 #define LB_GETHORIZONTALEXTENT  (403)
326 #define LB_GETITEMDATA  (409)
327 #define LB_GETITEMHEIGHT        (417)
328 #define LB_GETITEMRECT  (408)
329 #define LB_GETLOCALE    (422)
330 #define LB_GETSEL       (391)
331 #define LB_GETSELCOUNT  (400)
332 #define LB_GETSELITEMS  (401)
333 #define LB_GETTEXT      (393)
334 #define LB_GETTEXTLEN   (394)
335 #define LB_GETTOPINDEX  (398)
336 #define LB_INITSTORAGE  (424)
337 #define LB_INSERTSTRING (385)
338 #define LB_ITEMFROMPOINT        (425)
339 #define LB_RESETCONTENT (388)
340 #define LB_SELECTSTRING (396)
341 #define LB_SELITEMRANGE (411)
342 #define LB_SELITEMRANGEEX       (387)
343 #define LB_SETANCHORINDEX       (412)
344 #define LB_SETCARETINDEX        (414)
345 #define LB_SETCOLUMNWIDTH       (405)
346 #define LB_SETCOUNT     (423)
347 #define LB_SETCURSEL    (390)
348 #define LB_SETHORIZONTALEXTENT  (404)
349 #define LB_SETITEMDATA  (410)
350 #define LB_SETITEMHEIGHT        (416)
351 #define LB_SETLOCALE    (421)
352 #define LB_SETSEL       (389)
353 #define LB_SETTABSTOPS  (402)
354 #define LB_SETTOPINDEX  (407)
355
356 /* List box notifications */
357 #define LBN_DBLCLK      (2)
358 #define LBN_ERRSPACE    (-2)
359 #define LBN_KILLFOCUS   (5)
360 #define LBN_SELCANCEL   (3)
361 #define LBN_SELCHANGE   (1)
362 #define LBN_SETFOCUS    (4)
363
364 /* List view control */
365 #define LVM_ARRANGE     (4118)
366 #define LVM_CREATEDRAGIMAGE     (4129)
367 #define LVM_DELETEALLITEMS      (4105)
368 #define LVM_DELETECOLUMN        (4124)
369 #define LVM_DELETEITEM  (4104)
370 #define LVM_ENSUREVISIBLE       (4115)
371 #define LVM_GETBKCOLOR  (4096)
372 #define LVM_GETCALLBACKMASK     (4106)
373 #define LVM_GETCOLUMNWIDTH      (4125)
374 #define LVM_GETCOUNTPERPAGE     (4136)
375 #define LVM_GETEDITCONTROL      (4120)
376 #define LVM_GETIMAGELIST        (4098)
377 #define LVM_EDITLABELW  (4214)
378 #define LVM_FINDITEMW   (4179)
379 #define LVM_GETCOLUMNW  (4191)
380 #define LVM_GETISEARCHSTRINGW   (4213)
381 #define LVM_GETITEMW    (4171)
382 #define LVM_GETITEMTEXTW        (4211)
383 #define LVM_GETSTRINGWIDTHW     (4183)
384 #define LVM_INSERTCOLUMNW       (4193)
385 #define LVM_INSERTITEMW (4173)
386 #define LVM_SETCOLUMNW  (4192)
387 #define LVM_SETITEMW    (4172)
388 #define LVM_SETITEMTEXTW        (4212)
389 #define LVM_EDITLABELA  (4119)
390 #define LVM_FINDITEMA   (4109)
391 #define LVM_GETCOLUMNA  (4121)
392 #define LVM_GETISEARCHSTRINGA   (4148)
393 #define LVM_GETITEMA    (4101)
394 #define LVM_GETITEMTEXTA        (4141)
395 #define LVM_GETSTRINGWIDTHA     (4113)
396 #define LVM_INSERTCOLUMNA       (4123)
397 #define LVM_INSERTITEMA (4103)
398 #define LVM_SETCOLUMNA  (4122)
399 #define LVM_SETITEMA    (4102)
400 #define LVM_SETITEMTEXTA        (4142)
401 #ifndef _DISABLE_TIDENTS
402 #ifdef UNICODE
403 #define LVM_EDITLABEL LVM_EDITLABELW
404 #define LVM_FINDITEM LVM_FINDITEMW
405 #define LVM_GETCOLUMN LVM_GETCOLUMNW
406 #define LVM_GETISEARCHSTRING LVM_GETISEARCHSTRINGW
407 #define LVM_GETITEM LVM_GETITEMW
408 #define LVM_GETITEMTEXT LVM_GETITEMTEXTW
409 #define LVM_GETSTRINGWIDTH LVM_GETSTRINGWIDTHW
410 #define LVM_INSERTCOLUMN LVM_INSERTCOLUMNW
411 #define LVM_INSERTITEM LVM_INSERTITEMW
412 #define LVM_SETCOLUMN LVM_SETCOLUMNW
413 #define LVM_SETITEM LVM_SETITEMW
414 #define LVM_SETITEMTEXT LVM_SETITEMTEXTW
415 #else
416 #define LVM_EDITLABEL LVM_EDITLABELA
417 #define LVM_FINDITEM LVM_FINDITEMA
418 #define LVM_GETCOLUMN LVM_GETCOLUMNA
419 #define LVM_GETISEARCHSTRING LVM_GETISEARCHSTRINGA
420 #define LVM_GETITEM LVM_GETITEMA
421 #define LVM_GETITEMTEXT LVM_GETITEMTEXTA
422 #define LVM_GETSTRINGWIDTH LVM_GETSTRINGWIDTHA
423 #define LVM_INSERTCOLUMN LVM_INSERTCOLUMNA
424 #define LVM_INSERTITEM LVM_INSERTITEMA
425 #define LVM_SETCOLUMN LVM_SETCOLUMNA
426 #define LVM_SETITEM LVM_SETITEMA
427 #define LVM_SETITEMTEXT LVM_SETITEMTEXTA
428 #endif /* UNICODE */
429 #endif /* _DISABLE_TIDENTS */
430 #define LVM_GETITEMCOUNT        (4100)
431 #define LVM_GETITEMPOSITION     (4112)
432 #define LVM_GETITEMRECT (4110)
433 #define LVM_GETITEMSPACING      (4147)
434 #define LVM_GETITEMSTATE        (4140)
435 #define LVM_GETNEXTITEM (4108)
436 #define LVM_GETORIGIN   (4137)
437 #define LVM_GETSELECTEDCOUNT    (4146)
438 #define LVM_GETTEXTBKCOLOR      (4133)
439 #define LVM_GETTEXTCOLOR        (4131)
440 #define LVM_GETTOPINDEX (4135)
441 #define LVM_GETVIEWRECT (4130)
442 #define LVM_HITTEST     (4114)
443 #define LVM_REDRAWITEMS (4117)
444 #define LVM_SCROLL      (4116)
445 #define LVM_SETBKCOLOR  (4097)
446 #define LVM_SETCALLBACKMASK     (4107)
447 #define LVM_SETCOLUMNWIDTH      (4126)
448 #define LVM_SETIMAGELIST        (4099)
449 #define LVM_SETITEMCOUNT        (4143)
450 #define LVM_SETITEMPOSITION     (4111)
451 #define LVM_SETITEMPOSITION32   (4145)
452 #define LVM_SETITEMSTATE        (4139)
453 #define LVM_SETTEXTBKCOLOR      (4134)
454 #define LVM_SETTEXTCOLOR        (4132)
455 #define LVM_SORTITEMS   (4144)
456 #define LVM_UPDATE      (4138)
457
458 /* List view control notifications */
459 #define LVN_BEGINDRAG   (-109)
460 #define LVN_BEGINRDRAG  (-111)
461 #define LVN_COLUMNCLICK (-108)
462 #define LVN_DELETEALLITEMS      (-104)
463 #define LVN_DELETEITEM  (-103)
464 #define LVN_BEGINLABELEDITW     (-175)
465 #define LVN_ENDLABELEDITW       (-176)
466 #define LVN_GETDISPINFOW        (-177)
467 #define LVN_SETDISPINFOW        (-178)
468 #define LVN_BEGINLABELEDITA     (-105)
469 #define LVN_ENDLABELEDITA       (-106)
470 #define LVN_GETDISPINFOA        (-150)
471 #define LVN_SETDISPINFOA        (-151)
472 #ifndef _DISABLE_TIDENTS
473 #ifdef UNICODE
474 #define LVN_BEGINLABELEDIT LVN_BEGINLABELEDITW
475 #define LVN_ENDLABELEDIT LVN_ENDLABELEDITW
476 #define LVN_GETDISPINFO LVN_GETDISPINFOW
477 #define LVN_SETDISPINFO LVN_SETDISPINFOW
478 #else
479 #define LVN_BEGINLABELEDIT LVN_BEGINLABELEDITA
480 #define LVN_ENDLABELEDIT LVN_ENDLABELEDITA
481 #define LVN_GETDISPINFO LVN_GETDISPINFOA
482 #define LVN_SETDISPINFO LVN_SETDISPINFOA
483 #endif /* UNICODE */
484 #endif /* _DISABLE_TIDENTS */
485 #define LVN_INSERTITEM  (-102)
486 #define LVN_ITEMCHANGED (-101)
487 #define LVN_ITEMCHANGING        (-100)
488 #define LVN_KEYDOWN     (-155)
489
490 /* Control notification */
491 #define NM_CLICK        (-2)
492 #define NM_DBLCLK       (-3)
493 #define NM_KILLFOCUS    (-8)
494 #define NM_OUTOFMEMORY  (-1)
495 #define NM_RCLICK       (-5)
496 #define NM_RDBLCLK      (-6)
497 #define NM_RETURN       (-4)
498 #define NM_SETFOCUS     (-7)
499
500 /* Power status */
501
502 /* Progress bar control */
503 #define PBM_DELTAPOS    (1027)
504 #define PBM_SETPOS      (1026)
505 #define PBM_SETRANGE    (1025)
506 #define PBM_SETSTEP     (1028)
507 #define PBM_STEPIT      (1029)
508
509 /* Property sheets */
510 #define PSM_ADDPAGE     (1127)
511 #define PSM_APPLY       (1134)
512 #define PSM_CANCELTOCLOSE       (1131)
513 #define PSM_CHANGED     (1128)
514 #define PSM_GETTABCONTROL       (1140)
515 #define PSM_GETCURRENTPAGEHWND  (1142)
516 #define PSM_ISDIALOGMESSAGE     (1141)
517 #define PSM_PRESSBUTTON (1137)
518 #define PSM_QUERYSIBLINGS       (1132)
519 #define PSM_REBOOTSYSTEM        (1130)
520 #define PSM_REMOVEPAGE  (1126)
521 #define PSM_RESTARTWINDOWS      (1129)
522 #define PSM_SETCURSEL   (1125)
523 #define PSM_SETCURSELID (1138)
524 #define PSM_SETFINISHTEXTW      (1145)
525 #define PSM_SETTITLEW   (1144)
526 #define PSM_SETFINISHTEXTA      (1139)
527 #define PSM_SETTITLEA   (1135)
528 #ifndef _DISABLE_TIDENTS
529 #ifdef UNICODE
530 #define PSM_SETFINISHTEXT PSM_SETFINISHTEXTW
531 #define PSM_SETTITLE PSM_SETTITLEW
532 #else
533 #define PSM_SETFINISHTEXT PSM_SETFINISHTEXTA
534 #define PSM_SETTITLE PSM_SETTITLEA
535 #endif /* UNICODE */
536 #endif /* _DISABLE_TIDENTS */
537 #define PSM_SETWIZBUTTONS       (1136)
538 #define PSM_UNCHANGED   (1133)
539
540 /* Property sheet notifications */
541 #define PSN_APPLY       (-202)
542 #define PSN_HELP        (-205)
543 #define PSN_KILLACTIVE  (-201)
544 #define PSN_QUERYCANCEL (-209)
545 #define PSN_RESET       (-203)
546 #define PSN_SETACTIVE   (-200)
547 #define PSN_WIZBACK     (-206)
548 #define PSN_WIZFINISH   (-208)
549 #define PSN_WIZNEXT     (-207)
550
551 /* Status window */
552 #define SB_GETBORDERS   (1031)
553 #define SB_GETPARTS     (1030)
554 #define SB_GETRECT      (1034)
555 #define SB_GETTEXTW     (1037)
556 #define SB_GETTEXTLENGTHW       (1036)
557 #define SB_SETTEXTW     (1035)
558 #define SB_GETTEXTA     (1026)
559 #define SB_GETTEXTLENGTHA       (1027)
560 #define SB_SETTEXTA     (1025)
561 #ifndef _DISABLE_TIDENTS
562 #ifdef UNICODE
563 #define SB_GETTEXT SB_GETTEXTW
564 #define SB_GETTEXTLENGTH SB_GETTEXTLENGTHW
565 #define SB_SETTEXT SB_SETTEXTW
566 #else
567 #define SB_GETTEXT SB_GETTEXTA
568 #define SB_GETTEXTLENGTH SB_GETTEXTLENGTHA
569 #define SB_SETTEXT SB_SETTEXTA
570 #endif /* UNICODE */
571 #endif /* _DISABLE_TIDENTS */
572 #define SB_SETMINHEIGHT (1032)
573 #define SB_SETPARTS     (1028)
574 #define SB_SIMPLE       (1033)
575
576 /* Scroll bar control */
577 #define SBM_ENABLE_ARROWS       (228)
578 #define SBM_GETPOS      (225)
579 #define SBM_GETRANGE    (227)
580 #define SBM_GETSCROLLINFO       (234)
581 #define SBM_SETPOS      (224)
582 #define SBM_SETRANGE    (226)
583 #define SBM_SETRANGEREDRAW      (230)
584 #define SBM_SETSCROLLINFO       (233)
585
586 /* Static control */
587 #define STM_GETICON     (369)
588 #define STM_GETIMAGE    (371)
589 #define STM_SETICON     (368)
590 #define STM_SETIMAGE    (370)
591
592 /* Static control notifications */
593 #define STN_CLICKED     (0)
594 #define STN_DBLCLK      (1)
595 #define STN_DISABLE     (3)
596 #define STN_ENABLE      (2)
597
598 /* Toolbar control */
599 #define TB_ADDBITMAP    (1043)
600 #define TB_ADDBUTTONS   (1044)
601 #define TB_AUTOSIZE     (1057)
602 #define TB_BUTTONCOUNT  (1048)
603 #define TB_BUTTONSTRUCTSIZE     (1054)
604 #define TB_CHANGEBITMAP (1067)
605 #define TB_CHECKBUTTON  (1026)
606 #define TB_COMMANDTOINDEX       (1049)
607 #define TB_CUSTOMIZE    (1051)
608 #define TB_DELETEBUTTON (1046)
609 #define TB_ENABLEBUTTON (1025)
610 #define TB_GETBITMAP    (1068)
611 #define TB_GETBITMAPFLAGS       (1065)
612 #define TB_GETBUTTON    (1047)
613 #define TB_ADDSTRINGW   (1101)
614 #define TB_GETBUTTONTEXTW       (1099)
615 #define TB_SAVERESTOREW (1100)
616 #define TB_ADDSTRINGA   (1052)
617 #define TB_GETBUTTONTEXTA       (1069)
618 #define TB_SAVERESTOREA (1050)
619 #ifndef _DISABLE_TIDENTS
620 #ifdef UNICODE
621 #define TB_ADDSTRING TB_ADDSTRINGW
622 #define TB_GETBUTTONTEXT TB_GETBUTTONTEXTW
623 #define TB_SAVERESTORE TB_SAVERESTOREW
624 #else
625 #define TB_ADDSTRING TB_ADDSTRINGA
626 #define TB_GETBUTTONTEXT TB_GETBUTTONTEXTA
627 #define TB_SAVERESTORE TB_SAVERESTOREA
628 #endif /* UNICODE */
629 #endif /* _DISABLE_TIDENTS */
630 #define TB_GETITEMRECT  (1053)
631 #define TB_GETROWS      (1064)
632 #define TB_GETSTATE     (1042)
633 #define TB_GETTOOLTIPS  (1059)
634 #define TB_HIDEBUTTON   (1028)
635 #define TB_INDETERMINATE        (1029)
636 #define TB_INSERTBUTTON (1045)
637 #define TB_ISBUTTONCHECKED      (1034)
638 #define TB_ISBUTTONENABLED      (1033)
639 #define TB_ISBUTTONHIDDEN       (1036)
640 #define TB_ISBUTTONINDETERMINATE        (1037)
641 #define TB_ISBUTTONPRESSED      (1035)
642 #define TB_PRESSBUTTON  (1027)
643 #define TB_SETBITMAPSIZE        (1056)
644 #define TB_SETBUTTONSIZE        (1055)
645 #define TB_SETCMDID     (1066)
646 #define TB_SETPARENT    (1061)
647 #define TB_SETROWS      (1063)
648 #define TB_SETSTATE     (1041)
649 #define TB_SETTOOLTIPS  (1060)
650
651 /* Track bar control */
652 #define TBM_CLEARSEL    (1043)
653 #define TBM_CLEARTICS   (1033)
654 #define TBM_GETCHANNELRECT      (1050)
655 #define TBM_GETLINESIZE (1048)
656 #define TBM_GETNUMTICS  (1040)
657 #define TBM_GETPAGESIZE (1046)
658 #define TBM_GETPOS      (1024)
659 #define TBM_GETPTICS    (1038)
660 #define TBM_GETRANGEMAX (1026)
661 #define TBM_GETRANGEMIN (1025)
662 #define TBM_GETSELEND   (1042)
663 #define TBM_GETSELSTART (1041)
664 #define TBM_GETTHUMBLENGTH      (1052)
665 #define TBM_GETTHUMBRECT        (1049)
666 #define TBM_GETTIC      (1027)
667 #define TBM_GETTICPOS   (1039)
668 #define TBM_SETLINESIZE (1047)
669 #define TBM_SETPAGESIZE (1045)
670 #define TBM_SETPOS      (1029)
671 #define TBM_SETRANGE    (1030)
672 #define TBM_SETRANGEMAX (1032)
673 #define TBM_SETRANGEMIN (1031)
674 #define TBM_SETSEL      (1034)
675 #define TBM_SETSELEND   (1036)
676 #define TBM_SETSELSTART (1035)
677 #define TBM_SETTHUMBLENGTH      (1051)
678 #define TBM_SETTIC      (1028)
679 #define TBM_SETTICFREQ  (1044)
680
681 /* Tool bar control notifications */
682 #define TBN_BEGINADJUST (-703)
683 #define TBN_BEGINDRAG   (-701)
684 #define TBN_CUSTHELP    (-709)
685 #define TBN_ENDADJUST   (-704)
686 #define TBN_ENDDRAG     (-702)
687 #define TBN_GETBUTTONINFOW      (-720)
688 #define TBN_GETBUTTONINFOA      (-700)
689 #ifndef _DISABLE_TIDENTS
690 #ifdef UNICODE
691 #define TBN_GETBUTTONINFO TBN_GETBUTTONINFOW
692 #else
693 #define TBN_GETBUTTONINFO TBN_GETBUTTONINFOA
694 #endif /* UNICODE */
695 #endif /* _DISABLE_TIDENTS */
696 #define TBN_QUERYDELETE (-707)
697 #define TBN_QUERYINSERT (-706)
698 #define TBN_RESET       (-705)
699 #define TBN_TOOLBARCHANGE       (-708)
700
701 /* Tab control */
702 #define TCM_ADJUSTRECT  (4904)
703 #define TCM_DELETEALLITEMS      (4873)
704 #define TCM_DELETEITEM  (4872)
705 #define TCM_GETCURFOCUS (4911)
706 #define TCM_GETCURSEL   (4875)
707 #define TCM_GETIMAGELIST        (4866)
708 #define TCM_GETITEMW    (4924)
709 #define TCM_INSERTITEMW (4926)
710 #define TCM_SETITEMW    (4925)
711 #define TCM_GETITEMA    (4869)
712 #define TCM_INSERTITEMA (4871)
713 #define TCM_SETITEMA    (4870)
714 #ifndef _DISABLE_TIDENTS
715 #ifdef UNICODE
716 #define TCM_GETITEM TCM_GETITEM
717 #define TCM_INSERTITEM TCM_INSERTITEMW
718 #define TCM_SETITEM TCM_SETITEMW
719 #else
720 #define TCM_GETITEM TCM_GETITEMA
721 #define TCM_INSERTITEM TCM_INSERTITEMA
722 #define TCM_SETITEM TCM_SETITEMA
723 #endif /* UNICODE */
724 #endif /* _DISABLE_TIDENTS */
725 #define TCM_GETITEMCOUNT        (4868)
726 #define TCM_GETITEMRECT (4874)
727 #define TCM_GETROWCOUNT (4908)
728 #define TCM_GETTOOLTIPS (4909)
729 #define TCM_HITTEST     (4877)
730 #define TCM_REMOVEIMAGE (4906)
731 #define TCM_SETCURFOCUS (4912)
732 #define TCM_SETCURSEL   (4876)
733 #define TCM_SETIMAGELIST        (4867)
734 #define TCM_SETITEMEXTRA        (4878)
735 #define TCM_SETITEMSIZE (4905)
736 #define TCM_SETPADDING  (4907)
737 #define TCM_SETTOOLTIPS (4910)
738
739 /* Tab control notifications */
740 #define TCN_KEYDOWN     (-550)
741 #define TCN_SELCHANGE   (-551)
742 #define TCN_SELCHANGING (-552)
743
744 /* Tool tip control */
745 #define TTM_ACTIVATE    (1025)
746 #define TTM_ADDTOOLW    (1074)
747 #define TTM_DELTOOLW    (1075)
748 #define TTM_ENUMTOOLSW  (1082)
749 #define TTM_GETCURRENTTOOLW     (1083)
750 #define TTM_GETTEXTW    (1080)
751 #define TTM_GETTOOLINFOW        (1077)
752 #define TTM_HITTESTW    (1079)
753 #define TTM_NEWTOOLRECTW        (1076)
754 #define TTM_SETTOOLINFOW        (1078)
755 #define TTM_UPDATETIPTEXTW      (1081)
756 #define TTM_ADDTOOLA    (1028)
757 #define TTM_DELTOOLA    (1029)
758 #define TTM_ENUMTOOLSA  (1038)
759 #define TTM_GETCURRENTTOOLA     (1039)
760 #define TTM_GETTEXTA    (1035)
761 #define TTM_GETTOOLINFOA        (1032)
762 #define TTM_HITTESTA    (1034)
763 #define TTM_NEWTOOLRECTA        (1030)
764 #define TTM_SETTOOLINFOA        (1033)
765 #define TTM_UPDATETIPTEXTA      (1036)
766 #ifndef _DISABLE_TIDENTS
767 #ifdef UNICODE
768 #define TTM_ADDTOOL TTM_ADDTOOLW
769 #define TTM_DELTOOL TTM_DELTOOLW
770 #define TTM_ENUMTOOLS TTM_ENUMTOOLSW
771 #define TTM_GETCURRENTTOOL TTM_GETCURRENTTOOLW
772 #define TTM_GETTEXT TTM_GETTEXTW
773 #define TTM_GETTOOLINFO TTM_GETTOOLINFOW
774 #define TTM_HITTEST TTM_HITTESTW
775 #define TTM_NEWTOOLRECT TTM_NEWTOOLRECTW
776 #define TTM_SETTOOLINFO TTM_SETTOOLINFOW
777 #define TTM_UPDATETIPTEXT TTM_UPDATETIPTEXTW
778 #else
779 #define TTM_ADDTOOL TTM_ADDTOOLA
780 #define TTM_DELTOOL TTM_DELTOOLA
781 #define TTM_ENUMTOOLS TTM_ENUMTOOLSA
782 #define TTM_GETCURRENTTOOL TTM_GETCURRENTTOOLA
783 #define TTM_GETTEXT TTM_GETTEXTA
784 #define TTM_GETTOOLINFO TTM_GETTOOLINFOA
785 #define TTM_HITTEST TTM_HITTESTA
786 #define TTM_NEWTOOLRECT TTM_NEWTOOLRECTA
787 #define TTM_SETTOOLINFO TTM_SETTOOLINFOA
788 #define TTM_UPDATETIPTEXT TTM_UPDATETIPTEXTA
789 #endif /* UNICODE */
790 #endif /* _DISABLE_TIDENTS */
791 #define TTM_GETTOOLCOUNT        (1037)
792 #define TTM_RELAYEVENT  (1031)
793 #define TTM_SETDELAYTIME        (1027)
794 #define TTM_WINDOWFROMPOINT     (1040)
795
796 /* Tool tip control notification */
797 #define TTN_NEEDTEXTW   (-530)
798 #define TTN_NEEDTEXTA   (-520)
799 #ifndef _DISABLE_TIDENTS
800 #ifdef UNICODE
801 #define TTN_NEEDTEXT TTN_NEEDTEXTW
802 #else
803 #define TTN_NEEDTEXT TTN_NEEDTEXTA
804 #endif /* UNICODE */
805 #endif /* _DISABLE_TIDENTS */
806 #define TTN_POP (-522)
807 #define TTN_SHOW        (-521)
808
809 /* Tree view control */
810 #define TVM_CREATEDRAGIMAGE     (4370)
811 #define TVM_DELETEITEM  (4353)
812 #define TVM_ENDEDITLABELNOW     (4374)
813 #define TVM_ENSUREVISIBLE       (4372)
814 #define TVM_EXPAND      (4354)
815 #define TVM_GETCOUNT    (4357)
816 #define TVM_GETEDITCONTROL      (4367)
817 #define TVM_GETIMAGELIST        (4360)
818 #define TVM_GETINDENT   (4358)
819 #define TVM_GETITEMRECT (4356)
820 #define TVM_GETNEXTITEM (4362)
821 #define TVM_GETVISIBLECOUNT     (4368)
822 #define TVM_HITTEST     (4369)
823 #define TVM_EDITLABELW  (4417)
824 #define TVM_GETISEARCHSTRINGW   (4416)
825 #define TVM_GETITEMW    (4414)
826 #define TVM_INSERTITEMW (4402)
827 #define TVM_SETITEMW    (4415)
828 #define TVM_EDITLABELA  (4366)
829 #define TVM_GETISEARCHSTRINGA   (4375)
830 #define TVM_GETITEMA    (4364)
831 #define TVM_INSERTITEMA (4352)
832 #define TVM_SETITEMA    (4365)
833 #ifndef _DISABLE_TIDENTS
834 #ifdef UNICODE
835 #define TVM_EDITLABEL TVM_EDITLABELW
836 #define TVM_GETISEARCHSTRING TVM_GETISEARCHSTRINGW
837 #define TVM_GETITEM TVM_GETITEMW
838 #define TVM_INSERTITEM TVM_INSERTITEMW
839 #define TVM_SETITEM TVM_SETITEMW
840 #else
841 #define TVM_EDITLABEL TVM_EDITLABELA
842 #define TVM_GETISEARCHSTRING TVM_GETISEARCHSTRINGA
843 #define TVM_GETITEM TVM_GETITEMA
844 #define TVM_INSERTITEM TVM_INSERTITEMA
845 #define TVM_SETITEM TVM_SETITEMA
846 #endif /* UNICODE */
847 #endif /* _DISABLE_TIDENTS */
848 #define TVM_SELECTITEM  (4363)
849 #define TVM_SETIMAGELIST        (4361)
850 #define TVM_SETINDENT   (4359)
851 #define TVM_SORTCHILDREN        (4371)
852 #define TVM_SORTCHILDRENCB      (4373)
853
854 /* Tree view control notification */
855 #define TVN_KEYDOWN     (-412)
856 #define TVN_BEGINDRAGW  (-456)
857 #define TVN_BEGINLABELEDITW     (-459)
858 #define TVN_BEGINRDRAGW (-457)
859 #define TVN_DELETEITEMW (-458)
860 #define TVN_ENDLABELEDITW       (-460)
861 #define TVN_GETDISPINFOW        (-452)
862 #define TVN_ITEMEXPANDEDW       (-455)
863 #define TVN_ITEMEXPANDINGW      (-454)
864 #define TVN_SELCHANGEDW (-451)
865 #define TVN_SELCHANGINGW        (-450)
866 #define TVN_SETDISPINFOW        (-453)
867 #define TVN_BEGINDRAGA  (-407)
868 #define TVN_BEGINLABELEDITA     (-410)
869 #define TVN_BEGINRDRAGA (-408)
870 #define TVN_DELETEITEMA (-409)
871 #define TVN_ENDLABELEDITA       (-411)
872 #define TVN_GETDISPINFOA        (-403)
873 #define TVN_ITEMEXPANDEDA       (-406)
874 #define TVN_ITEMEXPANDINGA      (-405)
875 #define TVN_SELCHANGEDA (-402)
876 #define TVN_SELCHANGINGA        (-401)
877 #define TVN_SETDISPINFOA        (-404)
878 #ifndef _DISABLE_TIDENTS
879 #ifdef UNICODE
880 #define TVN_BEGINDRAG TVN_BEGINDRAGW
881 #define TVN_BEGINLABELEDIT TVN_BEGINLABELEDITW
882 #define TVN_BEGINRDRAG TVN_BEGINRDRAGW
883 #define TVN_DELETEITEM TVN_DELETEITEMW
884 #define TVN_ENDLABELEDIT TVN_ENDLABELEDITW
885 #define TVN_GETDISPINFO TVN_GETDISPINFOW
886 #define TVN_ITEMEXPANDED TVN_ITEMEXPANDEDW
887 #define TVN_ITEMEXPANDING TVN_ITEMEXPANDINGW
888 #define TVN_SELCHANGED TVN_SELCHANGEDW
889 #define TVN_SELCHANGING TVN_SELCHANGINGW
890 #define TVN_SETDISPINFO TVN_SETDISPINFOW
891 #else
892 #define TVN_BEGINDRAG TVN_BEGINDRAGA
893 #define TVN_BEGINLABELEDIT TVN_BEGINLABELEDITA
894 #define TVN_BEGINRDRAG TVN_BEGINRDRAGA
895 #define TVN_DELETEITEM TVN_DELETEITEMA
896 #define TVN_ENDLABELEDIT TVN_ENDLABELEDITA
897 #define TVN_GETDISPINFO TVN_GETDISPINFOA
898 #define TVN_ITEMEXPANDED TVN_ITEMEXPANDEDA
899 #define TVN_ITEMEXPANDING TVN_ITEMEXPANDINGA
900 #define TVN_SELCHANGED TVN_SELCHANGEDA
901 #define TVN_SELCHANGING TVN_SELCHANGINGA
902 #define TVN_SETDISPINFO TVN_SETDISPINFOA
903 #endif /* UNICODE */
904 #endif /* _DISABLE_TIDENTS */
905
906 /* Up/down control */
907 #define UDM_GETACCEL    (1132)
908 #define UDM_GETBASE     (1134)
909 #define UDM_GETBUDDY    (1130)
910 #define UDM_GETPOS      (1128)
911 #define UDM_GETRANGE    (1126)
912 #define UDM_SETACCEL    (1131)
913 #define UDM_SETBASE     (1133)
914 #define UDM_SETBUDDY    (1129)
915 #define UDM_SETPOS      (1127)
916 #define UDM_SETRANGE    (1125)
917
918 /* Up/down control notification */
919 #define UDN_DELTAPOS    (-722)
920
921 /* Window messages */
922
923 #define WM_ACTIVATE     (6)
924 #define WM_ACTIVATEAPP  (28)
925 #define WM_ASKCBFORMATNAME      (780)
926 #define WM_CANCELJOURNAL        (75)
927 #define WM_CANCELMODE   (31)
928 #define WM_CAPTURECHANGED       (533)
929 #define WM_CHANGECBCHAIN        (781)
930 #define WM_CHAR (258)
931 #define WM_CHARTOITEM   (47)
932 #define WM_CHILDACTIVATE        (34)
933 #define WM_CHOOSEFONT_GETLOGFONT        (1025)
934 #define WM_CHOOSEFONT_SETLOGFONT        (1125)
935 #define WM_CHOOSEFONT_SETFLAGS  (1126)
936 #define WM_CLEAR        (771)
937 #define WM_CLOSE        (16)
938 #define WM_COMMAND      (273)
939 #define WM_COMPACTING   (65)
940 #define WM_COMPAREITEM  (57)
941 #define WM_CONTEXTMENU  (123)
942 #define WM_COPY (769)
943 #define WM_COPYDATA     (74)
944 #define WM_CREATE       (1)
945 #define WM_CTLCOLORBTN  (309)
946 #define WM_CTLCOLORDLG  (310)
947 #define WM_CTLCOLOREDIT (307)
948 #define WM_CTLCOLORLISTBOX      (308)
949 #define WM_CTLCOLORMSGBOX       (306)
950 #define WM_CTLCOLORSCROLLBAR    (311)
951 #define WM_CTLCOLORSTATIC       (312)
952 #define WM_CUT  (768)
953 #define WM_DEADCHAR     (259)
954 #define WM_DELETEITEM   (45)
955 #define WM_DESTROY      (2)
956 #define WM_DESTROYCLIPBOARD     (775)
957 #define WM_DEVICECHANGE (537)
958 #define WM_DEVMODECHANGE        (27)
959 #define WM_DISPLAYCHANGE        (126)
960 #define WM_DRAWCLIPBOARD        (776)
961 #define WM_DRAWITEM     (43)
962 #define WM_DROPFILES    (563)
963 #define WM_DROPOBJECT   (544)
964 #define WM_ENABLE       (10)
965 #define WM_ENDSESSION   (22)
966 #define WM_ENTERIDLE    (289)
967 #define WM_ENTERMENULOOP        (529)
968 #define WM_ENTERSIZEMOVE        (561)
969 #define WM_ERASEBKGND   (20)
970 #define WM_EXITMENULOOP (530)
971 #define WM_EXITSIZEMOVE (562)
972 #define WM_FONTCHANGE   (29)
973 #define WM_GETDLGCODE   (135)
974 #define WM_GETFONT      (49)
975 #define WM_GETHOTKEY    (51)
976 #define WM_GETICON      (127)
977 #define WM_GETMINMAXINFO        (36)
978 #define WM_GETTEXT      (13)
979 #define WM_GETTEXTLENGTH        (14)
980 #define WM_HELP (83)
981 #define WM_HOTKEY       (786)
982 #define WM_HSCROLL      (276)
983 #define WM_HSCROLLCLIPBOARD     (782)
984 #define WM_ICONERASEBKGND       (39)
985 #define WM_IME_CHAR     (646)
986 #define WM_IME_COMPOSITION      (271)
987 #define WM_IME_COMPOSITIONFULL  (644)
988 #define WM_IME_CONTROL  (643)
989 #define WM_IME_ENDCOMPOSITION   (270)
990 #define WM_IME_KEYDOWN  (656)
991 #define WM_IME_KEYUP    (657)
992 #define WM_IME_NOTIFY   (642)
993 #define WM_IME_SELECT   (645)
994 #define WM_IME_SETCONTEXT       (641)
995 #define WM_IME_STARTCOMPOSITION (269)
996 #define WM_INITDIALOG   (272)
997 #define WM_INITMENU     (278)
998 #define WM_INITMENUPOPUP        (279)
999 #define WM_INPUTLANGCHANGE      (81)
1000 #define WM_INPUTLANGCHANGEREQUEST       (80)
1001 #define WM_KEYDOWN      (256)
1002 #define WM_KEYUP        (257)
1003 #define WM_KILLFOCUS    (8)
1004 #define WM_SETVISIBLE   (9)
1005 #define WM_LBUTTONDBLCLK        (515)
1006 #define WM_LBUTTONDOWN  (513)
1007 #define WM_LBUTTONUP    (514)
1008 #define WM_MBUTTONDBLCLK        (521)
1009 #define WM_MBUTTONDOWN  (519)
1010 #define WM_MBUTTONUP    (520)
1011 #define WM_MDIACTIVATE  (546)
1012 #define WM_MDICASCADE   (551)
1013 #define WM_MDICREATE    (544)
1014 #define WM_MDIDESTROY   (545)
1015 #define WM_MDIGETACTIVE (553)
1016 #define WM_MDIICONARRANGE       (552)
1017 #define WM_MDIMAXIMIZE  (549)
1018 #define WM_MDINEXT      (548)
1019 #define WM_MDIREFRESHMENU       (564)
1020 #define WM_MDIRESTORE   (547)
1021 #define WM_MDISETMENU   (560)
1022 #define WM_MDITILE      (550)
1023 #define WM_MEASUREITEM  (44)
1024 #define WM_MENUCHAR     (288)
1025 #define WM_MENUSELECT   (287)
1026 #define WM_MOUSEACTIVATE        (33)
1027 #define WM_MOUSEMOVE    (512)
1028 #define WM_MOUSEWHEEL   (522)
1029 #define WM_MOVE (3)
1030 #define WM_MOVING       (534)
1031 #define WM_NCACTIVATE   (134)
1032 #define WM_NCCALCSIZE   (131)
1033 #define WM_NCCREATE     (129)
1034 #define WM_NCDESTROY    (130)
1035 #define WM_NCHITTEST    (132)
1036 #define WM_NCLBUTTONDBLCLK      (163)
1037 #define WM_NCLBUTTONDOWN        (161)
1038 #define WM_NCLBUTTONUP  (162)
1039 #define WM_NCMBUTTONDBLCLK      (169)
1040 #define WM_NCMBUTTONDOWN        (167)
1041 #define WM_NCMBUTTONUP  (168)
1042 #define WM_NCMOUSEMOVE  (160)
1043 #define WM_NCPAINT      (133)
1044 #define WM_NCRBUTTONDBLCLK      (166)
1045 #define WM_NCRBUTTONDOWN        (164)
1046 #define WM_NCRBUTTONUP  (165)
1047 #define WM_NEXTDLGCTL   (40)
1048 #define WM_NOTIFY       (78)
1049 #define WM_NOTIFYFORMAT (85)
1050 #define WM_NULL         (0)
1051 #define WM_PAINT        (15)
1052 #define WM_PAINTCLIPBOARD       (777)
1053 #define WM_PAINTICON    (38)
1054 #define WM_PALETTECHANGED       (785)
1055 #define WM_PALETTEISCHANGING    (784)
1056 #define WM_PARENTNOTIFY (528)
1057 #define WM_PASTE        (770)
1058 #define WM_PENWINFIRST  (896)
1059 #define WM_PENWINLAST  (911)
1060 #define WM_POWER        (72)
1061 #define WM_POWERBROADCAST       (536)
1062 #define WM_PRINT        (791)
1063 #define WM_PRINTCLIENT  (792)
1064 #define WM_PSD_ENVSTAMPRECT     (1029)
1065 #define WM_PSD_FULLPAGERECT     (1025)
1066 #define WM_PSD_GREEKTEXTRECT    (1028)
1067 #define WM_PSD_MARGINRECT       (1027)
1068 #define WM_PSD_MINMARGINRECT    (1026)
1069 #define WM_PSD_PAGESETUPDLG     (1024)
1070 #define WM_PSD_YAFULLPAGERECT   (1030)
1071 #define WM_QUERYDRAGICON        (55)
1072 #define WM_QUERYDROPOBJECT      (555)
1073 #define WM_QUERYENDSESSION      (17)
1074 #define WM_QUERYNEWPALETTE      (783)
1075 #define WM_QUERYOPEN    (19)
1076 #define WM_QUEUESYNC    (35)
1077 #define WM_QUIT (18)
1078 #define WM_RBUTTONDBLCLK        (518)
1079 #define WM_RBUTTONDOWN  (516)
1080 #define WM_RBUTTONUP    (517)
1081 #define WM_RENDERALLFORMATS     (774)
1082 #define WM_RENDERFORMAT (773)
1083 #define WM_SETCURSOR    (32)
1084 #define WM_SETFOCUS     (7)
1085 #define WM_SETFONT      (48)
1086 #define WM_SETHOTKEY    (50)
1087 #define WM_SETICON      (128)
1088 #define WM_SETREDRAW    (11)
1089 #define WM_SETTEXT      (12)
1090 #define WM_SETTINGCHANGE        (26)
1091 #define WM_SHOWWINDOW   (24)
1092 #define WM_SIZE (5)
1093 #define WM_SIZECLIPBOARD        (779)
1094 #define WM_SIZING       (532)
1095 #define WM_SPOOLERSTATUS        (42)
1096 #define WM_STYLECHANGED (125)
1097 #define WM_STYLECHANGING        (124)
1098 #define WM_SYNCPAINT    (136)
1099 #define WM_SYSCHAR      (262)
1100 #define WM_SYSCOLORCHANGE       (21)
1101 #define WM_SYSCOMMAND   (274)
1102 #define WM_SYSDEADCHAR  (263)
1103 #define WM_SYSKEYDOWN   (260)
1104 #define WM_SYSKEYUP     (261)
1105 #define WM_TCARD        (82)
1106 #define WM_TIMECHANGE   (30)
1107 #define WM_TIMER        (275)
1108 #define WM_UNDO (772)
1109 #define WM_USER (1024)
1110 #define WM_USERCHANGED  (84)
1111 #define WM_VKEYTOITEM   (46)
1112 #define WM_VSCROLL      (277)
1113 #define WM_VSCROLLCLIPBOARD     (778)
1114 #define WM_WINDOWPOSCHANGED     (71)
1115 #define WM_WINDOWPOSCHANGING    (70)
1116 #define WM_WININICHANGE (26)
1117
1118 /* Window message ranges */
1119 #define WM_KEYFIRST     (256)
1120 #define WM_KEYLAST      (264)
1121 #define WM_MOUSEFIRST   (512)
1122 #define WM_MOUSELAST    (521)
1123
1124 #ifdef __cplusplus
1125 }
1126 #endif /* __cplusplus */
1127
1128 #endif /* _GNU_H_WINDOWS32_MESSAGES */