1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // WARNING: DO NOT USE standard header file protection.
6 // This file may be include several times in its entirety.
8 // This file contains a list of all messages supported by Windows as would be
9 // handled in a message loop. We only list the messages provided in
10 // <winuser.h>, and do not currently include (the otherwise undefined)
11 // #define WM_SYSTIMER 0x118
13 // By using various macro tricks, this list can be used to create pretty print
14 // functions for the messages. See message_loop.cc for an example.
16 // Start list of Windows Messages given in <winuser.h>
17 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NULL
)
18 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CREATE
)
19 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_DESTROY
)
20 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MOVE
)
21 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_SIZE
)
22 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_ACTIVATE
)
23 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_SETFOCUS
)
24 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_KILLFOCUS
)
25 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_ENABLE
)
26 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_SETREDRAW
)
27 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_SETTEXT
)
28 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_GETTEXT
)
29 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_GETTEXTLENGTH
)
30 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_PAINT
)
31 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CLOSE
)
32 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_QUERYENDSESSION
)
33 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_QUERYOPEN
)
34 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_ENDSESSION
)
35 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_QUIT
)
36 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_ERASEBKGND
)
37 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_SYSCOLORCHANGE
)
38 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_SHOWWINDOW
)
39 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_WININICHANGE
)
40 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_SETTINGCHANGE
)
41 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_DEVMODECHANGE
)
42 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_ACTIVATEAPP
)
43 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_FONTCHANGE
)
44 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_TIMECHANGE
)
45 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CANCELMODE
)
46 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_SETCURSOR
)
47 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MOUSEACTIVATE
)
48 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CHILDACTIVATE
)
49 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_QUEUESYNC
)
50 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_GETMINMAXINFO
)
51 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_PAINTICON
)
52 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_ICONERASEBKGND
)
53 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NEXTDLGCTL
)
54 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_SPOOLERSTATUS
)
55 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_DRAWITEM
)
56 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MEASUREITEM
)
57 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_DELETEITEM
)
58 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_VKEYTOITEM
)
59 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CHARTOITEM
)
60 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_SETFONT
)
61 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_GETFONT
)
62 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_SETHOTKEY
)
63 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_GETHOTKEY
)
64 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_QUERYDRAGICON
)
65 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_COMPAREITEM
)
66 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_GETOBJECT
)
67 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_COMPACTING
)
68 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_COMMNOTIFY
)
69 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_WINDOWPOSCHANGING
)
70 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_WINDOWPOSCHANGED
)
71 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_POWER
)
72 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_COPYDATA
)
73 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CANCELJOURNAL
)
74 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NOTIFY
)
75 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_INPUTLANGCHANGEREQUEST
)
76 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_INPUTLANGCHANGE
)
77 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_TCARD
)
78 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_HELP
)
79 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_USERCHANGED
)
80 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NOTIFYFORMAT
)
81 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CONTEXTMENU
)
82 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_STYLECHANGING
)
83 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_STYLECHANGED
)
84 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_DISPLAYCHANGE
)
85 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_GETICON
)
86 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_SETICON
)
87 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCCREATE
)
88 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCDESTROY
)
89 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCCALCSIZE
)
90 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCHITTEST
)
91 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCPAINT
)
92 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCACTIVATE
)
93 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_GETDLGCODE
)
94 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_SYNCPAINT
)
95 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCMOUSEMOVE
)
96 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCLBUTTONDOWN
)
97 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCLBUTTONUP
)
98 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCLBUTTONDBLCLK
)
99 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCRBUTTONDOWN
)
100 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCRBUTTONUP
)
101 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCRBUTTONDBLCLK
)
102 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCMBUTTONDOWN
)
103 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCMBUTTONUP
)
104 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCMBUTTONDBLCLK
)
105 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCXBUTTONDOWN
)
106 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCXBUTTONUP
)
107 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCXBUTTONDBLCLK
)
108 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_INPUT_DEVICE_CHANGE
)
109 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_INPUT
)
110 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_KEYFIRST
)
111 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_KEYDOWN
)
112 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_KEYUP
)
113 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CHAR
)
114 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_DEADCHAR
)
115 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_SYSKEYDOWN
)
116 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_SYSKEYUP
)
117 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_SYSCHAR
)
118 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_SYSDEADCHAR
)
119 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_UNICHAR
)
120 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_KEYLAST
)
121 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_KEYLAST
)
122 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_IME_STARTCOMPOSITION
)
123 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_IME_ENDCOMPOSITION
)
124 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_IME_COMPOSITION
)
125 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_IME_KEYLAST
)
126 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_INITDIALOG
)
127 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_COMMAND
)
128 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_SYSCOMMAND
)
129 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_TIMER
)
130 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_HSCROLL
)
131 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_VSCROLL
)
132 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_INITMENU
)
133 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_INITMENUPOPUP
)
134 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MENUSELECT
)
135 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MENUCHAR
)
136 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_ENTERIDLE
)
137 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MENURBUTTONUP
)
138 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MENUDRAG
)
139 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MENUGETOBJECT
)
140 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_UNINITMENUPOPUP
)
141 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MENUCOMMAND
)
142 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CHANGEUISTATE
)
143 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_UPDATEUISTATE
)
144 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_QUERYUISTATE
)
145 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CTLCOLORMSGBOX
)
146 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CTLCOLOREDIT
)
147 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CTLCOLORLISTBOX
)
148 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CTLCOLORBTN
)
149 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CTLCOLORDLG
)
150 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CTLCOLORSCROLLBAR
)
151 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CTLCOLORSTATIC
)
152 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MOUSEFIRST
)
153 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MOUSEMOVE
)
154 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_LBUTTONDOWN
)
155 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_LBUTTONUP
)
156 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_LBUTTONDBLCLK
)
157 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_RBUTTONDOWN
)
158 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_RBUTTONUP
)
159 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_RBUTTONDBLCLK
)
160 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MBUTTONDOWN
)
161 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MBUTTONUP
)
162 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MBUTTONDBLCLK
)
163 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MOUSEWHEEL
)
164 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_XBUTTONDOWN
)
165 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_XBUTTONUP
)
166 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_XBUTTONDBLCLK
)
167 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MOUSEHWHEEL
)
168 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MOUSELAST
)
169 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MOUSELAST
)
170 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MOUSELAST
)
171 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MOUSELAST
)
172 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_PARENTNOTIFY
)
173 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_ENTERMENULOOP
)
174 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_EXITMENULOOP
)
175 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NEXTMENU
)
176 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_SIZING
)
177 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CAPTURECHANGED
)
178 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MOVING
)
179 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_POWERBROADCAST
)
180 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_DEVICECHANGE
)
181 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MDICREATE
)
182 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MDIDESTROY
)
183 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MDIACTIVATE
)
184 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MDIRESTORE
)
185 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MDINEXT
)
186 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MDIMAXIMIZE
)
187 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MDITILE
)
188 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MDICASCADE
)
189 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MDIICONARRANGE
)
190 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MDIGETACTIVE
)
191 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MDISETMENU
)
192 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_ENTERSIZEMOVE
)
193 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_EXITSIZEMOVE
)
194 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_DROPFILES
)
195 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MDIREFRESHMENU
)
196 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_IME_SETCONTEXT
)
197 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_IME_NOTIFY
)
198 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_IME_CONTROL
)
199 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_IME_COMPOSITIONFULL
)
200 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_IME_SELECT
)
201 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_IME_CHAR
)
202 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_IME_REQUEST
)
203 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_IME_KEYDOWN
)
204 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_IME_KEYUP
)
205 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MOUSEHOVER
)
206 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_MOUSELEAVE
)
207 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCMOUSEHOVER
)
208 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_NCMOUSELEAVE
)
209 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_WTSSESSION_CHANGE
)
210 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_TABLET_FIRST
)
211 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_TABLET_LAST
)
212 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CUT
)
213 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_COPY
)
214 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_PASTE
)
215 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CLEAR
)
216 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_UNDO
)
217 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_RENDERFORMAT
)
218 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_RENDERALLFORMATS
)
219 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_DESTROYCLIPBOARD
)
220 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_DRAWCLIPBOARD
)
221 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_PAINTCLIPBOARD
)
222 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_VSCROLLCLIPBOARD
)
223 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_SIZECLIPBOARD
)
224 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_ASKCBFORMATNAME
)
225 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CHANGECBCHAIN
)
226 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_HSCROLLCLIPBOARD
)
227 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_QUERYNEWPALETTE
)
228 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_PALETTEISCHANGING
)
229 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_PALETTECHANGED
)
230 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_HOTKEY
)
231 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_PRINT
)
232 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_PRINTCLIENT
)
233 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_APPCOMMAND
)
234 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_THEMECHANGED
)
235 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_CLIPBOARDUPDATE
)
236 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_DWMCOMPOSITIONCHANGED
)
237 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_DWMNCRENDERINGCHANGED
)
238 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_DWMCOLORIZATIONCOLORCHANGED
)
239 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_DWMWINDOWMAXIMIZEDCHANGE
)
240 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_GETTITLEBARINFOEX
)
241 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_HANDHELDFIRST
)
242 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_HANDHELDLAST
)
243 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_AFXFIRST
)
244 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_AFXLAST
)
245 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_PENWINFIRST
)
246 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_PENWINLAST
)
247 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_APP
)
248 A_NAMED_MESSAGE_FROM_WINUSER_H(WM_USER
)
249 // End list of Windows Messages given in <winuser.h>