Windows Message ID description

Source: Internet
Author: User
1. wm_null =$ 0000:
2. wm_create = $0001: Application Program Create a window
3. wm_destroy = $0002: A window is destroyed.
4. wm_move = $0003: Move a window
5. wm_size = $0005: change the size of a window.
6. wm_activate = $0006: A window is activated or inactive;
7. wm_setfocus = $0007: after obtaining the focus
8. wm_killfocus = $0008: lost focus
9. wm_enable = $ 000a: changed the Enable status.
10. wm_setredraw = $ 000b: sets whether the window can be repainted.
11. wm_settext = $ 000c: The application sends this message to set the text of a window.
12. wm_gettext = $ 000d: The application sends this message to repeat 13. The text of the corresponding window is written to the buffer zone.
14. wm_gettextlength = $ 000e: Get the length of the text related to a window (not 15. Contains null characters)
16. wm_paint = $ 000f: requires a window to redraw itself
17. wm_close = $0010: send a signal when a window or application is to close
18. wm_queryendsession = $0011: when the user selects the end dialog box or the program calls the exitwindows Function
19. wm_quit = $0012: Used to end the program running or when the program calls the postquitmessage Function
20. wm_queryopen = $0013: when the user window is restored to 21. When the previous size position is reached, 22. Send the message to a certain icon 23.
24. wm_erasebkgnd = $0014: when the window background must be erased (for example, when the window size changes)
25. wm_syscolorchange = $0015: when the system color changes, 26. Send this message to all top-level windows.
27. wm_endsession = $0016: when the system process sends the wm_queryendsession message, the message is sent to the application to notify the application of whether the conversation ends.
28. wm_systemerror =$ 0017:
29. wm_showwindow = $0018: When the hidden or displayed window is sent to this window
30. wm_activateapp = $ 001c: the window in which the message is sent to the application is activated and 31. The window in which the message is not activated;
32. wm_fontchange = $ 001d: send this message to all top-level windows when the font resource library of the system changes
33. wm_timechange = $ 001e: send this message to all top-level windows when the system time changes
34. wm_cancelmode = $ 001f: send this message to cancel an ongoing touch (Operation)
35. wm_setcursor = $0020: If the mouse is 36. Cause the cursor 37. Move in a window and the mouse is 38. If the input is not captured, 39. Send a message to a window.
40. wm_mouseactivate = $0021: When the cursor is 41. In an inactive window and 42. The user is pressing a key of 43. The user is sending this message to the current window.
44. wm_childactivate = $0022: send this message to the MDI subwindow. When the user clicks the 45 icon in this window. question bar, 46. or when the window is activated, 47. move, 48. change size
49. wm_queuesync = $0023: the message is sent by a computer-based training program. 50. The user input message is separated by the wh_journalpalyback hook program.
51. wm_getminmaxinfo = $0024: This message is sent to the window when it is about to change the size or position;
52. wm_painticon = $0026: send to the minimization window when its icon 53. Will be repainted
54. wm_iconerasebkgnd = $0027: This message is sent to a minimal window, 55. The background must be repainted only when it is painting the icon 56.
57. wm_nextdlgctl = $0028: send this message to a dialog box program to change the focus position
58. wm_spoolerstatus = $ 002a: This message is sent whenever a job is added or removed in the print management queue.
59. wm_drawitem = $ 002b: This message is sent to the owner of these empty parts when the visual appearance of the button, 60. ComboBox, 61. ListBox, 62. Menu changes.
63. wm_measureitem = $ 002c: When a button, ComboBox, ListBox, listviewcontrol, or ormenuitem is created, this message is sent to the control owner.
64. wm_deleteitem = $ 002d: When thelistbox or ComboBox is destroyed or some items are deleted, messages are sent through lb_deletestring, lb_resetcontent, cb_deletestring, orcb_resetcontent
65. wm_vkeytoitem = $ 002e: This message has an lbs_wantkeyboardinput style sent to its owner to respond to the wm_keydown message.
66. wm_chartoitem = $ 002f: the message is sent to its owner by a list box in the lbs_wantkeyboardinput style to respond to the wm_char message.
67. wm_setfont = $0030: When drawing text, the program sends this message to obtain the color used by the control.
68. wm_getfont = $0031: The application sends this message to obtain the font of the text drawn by the current control.
69. wm_sethotkey = $0032: The application sends this message to connect a window to a hotkey.
70. wm_gethotkey = $0033: The application sends this message to determine whether the hotkey is associated with a window.
71. wm_querydragicon = $0037: the message is sent to the minimal window, 72. when this window is to be dragged and dropped, 73. its class does not have a defined icon 74 ., 75. the application can return an icon 76. or the cursor 77. handle, 78. when you drag and drop the icon 79. the system displays this icon 80. or the cursor 81.
82. wm_compareitem = $0039: send this message to determine the relative position of the newly added items in ComboBox or ListBox
83. wm_getobject = $ 003d:
84. wm_compacting = $0041: The Display memory is very small.
85. wm_windowposchanging = $0046: When the size and position of the window to which the message is sent are about to be changed, 86. Call the setwindowpos function or other window management functions.
87. wm_windowposchanged = $0047: When the size and position of the window to which the message is sent have been changed, 88. Call the setwindowpos function or other window management functions.
89. wm_power = $0048: (applicable to 16-bit windows) This message is sent when the system is about to pause
90. wm_copydata = $ 004a: This message is sent when an application transmits data to another application.
91. wm_canceljournal = $ 004b: when a user cancels the activation status of the program log, 92. Submit the message to the program
93. wm_notify = $ 004e: when an event of a control has occurred or the control needs to obtain some information, 94. Send this message to its parent window.
95. wm_inputlangchangerequest = $0050: When you select an input language, 96. Or the input language's hot key changes
97. wm_inputlangchange = $0051: When the platform site has been changed, send this message to the affected top-level window.
98. wm_tcard = $0052: send this message to the application when the program has initialized the Windows Help routine
99. wm_help = $0053: the message shows that the user has pressed F1, 100. if a menu is activated, 101. send the message to the associated menu of this window; otherwise, it is sent to the window with focus, 102. if none of the current focuses exist, 103. send the message to the currently activated window.
104. wm_userchanged = $0054: when the user has logged on or exited, send this message to all windows, 105. when a user logs on or exits, the system updates the user's specific settings, 106. the system sends this message immediately when the user updates the settings;
107. wm_policyformat = $0055: public control, 108. the custom control and its parent window use this message to determine whether the control uses the ANSI or Unicode structure in the wm_notify message, 109. this control enables communication between a control and its parent control.
110. wm_contextmenu = $ 007b: When you right-click a window, the message is sent to the window.
111. wm_stylechanging = $ 007c: send this message to the window when you call the setwindowlong function to change the style of one or more windows.
112. wm_stylechanged = $ 007d: This message is sent to the window when one or more windows of the setwindowlong function are called.
113. wm_displaychange = $ 007e: when the resolution of the monitor changes, send this message to all windows.
114. wm_geticon = $ 007f: This message is sent to a window to return the handle of the large icon 115. Or the small icon 116. Associated with a window;
117. wm_seticon = $0080: The program sends this message to associate a new large icon 118 or small icon 119 with a window;
120. wm_nccreate = $0081: When a window is created for the first time, the message is sent before the wm_create message is sent;
122. wm_ncdestroy = $0082: This message notifies a window, 123. The non-customer zone is being destroyed.
124. wm_nccalcsize = $0083: send this message when the customer region of a window must be calculated
125. wm_nchittest = $0084: move the mouse 126., 127. Hold down or release the mouse 128.
129. wm_ncpaint = $0085: The program sends this message to a window when its frame (window) must be drawn;
130. wm_ncactivate = $0086: the message is sent to a window only when its non-customer zone needs to be changed to show whether the message is active or not;
131. wm_getdlgcode = $0087: send this message to a control associated with the dialog box program, 132. widdows controls the orientation key and Tab key so that the input enters this control by responding to the wm_getdlgcode message, 133. an application can treat it as a special input control and process it.
134. wm_ncmousemove = $00a0: When cursor 135. this message is sent to the non-customer partition in a window when it is moved in. File: the non-customer partition is 136 of the form. question bar and border of the window
137. wm_nclbuttondown = $00a1
141. wm_nclbuttonup = $00a2: when the user releases the mouse 142, the left button is the same as 143. The time mark 144. A window sends this message in non-customer Zone 10;
145. wm_nclbuttondblclk = $00a3: When you double-click the mouse button 146, the left button is the same as 147. Time Mark 148. A window sends this message in non-customer Zone 10.
149. wm_ncrbuttondown = $00a4
153. wm_ncrbuttonup = $00a5
157. wm_ncrbuttondblclk = $00a6
161. wm_ncmbuttondown = $00a7
165. wm_ncmbuttonup = $00a8: This message is sent when the user releases the mouse 166. The middle button is the same as 167. The time mark is 168. When the window is not a customer area.
169. wm_ncmbuttondblclk = $00a9
173. wm_keyfirst = $0100:
174. wm_keydown = $0100: file: press the next key
175. wm_keyup = $0101: file: release a key
176. wm_char = $0102: file: press a key, 177. The message wm_keydown, 178. wm_keyup has been sent.
179. wm_deadchar = $0103: send this message to the window with focus when you use the translatemessage function to translate the wm_keyup message
180. wm_syskeydown = $0104: the message is submitted to the window with focus when the user presses another key while holding down the Alt key with 181;
182. wm_syskeyup = $0105: when the user releases a key with 183. When the Alt key is pressed, the user submits the message to the window with focus.
184. wm_syschar = $0106: When the wm_syskeydown message is translated by the translatemessage function, submit the message to the window with focus
185. wm_sysdeadchar = $0107: When the wm_syskeydown message is translated by the translatemessage function, this message is sent to the window with focus
186. wm_initdialog = $0110: send the message to a dialog box before it is displayed. This message is often used to initialize the control and execute other tasks.
187. wm_command = $0111: When you select a menu command item or when a control sends a message to its parent window, 188. A Shortcut Key is translated
189. wm_syscommand = $0112: this message is received when you select a command in the window menu or when you choose to maximize or minimize it.
190. wm_timer = $0113: a timer event occurs.
191. wm_hscroll = $0114: send this message to the window when a window marked 192. Quasi-horizontal scroll bar generates a rolling event, and 193. Send it to the control that owns it.
194. wm_vscroll = $0115: When a window is marked as 195. Quasi-vertical scroll bar, this message is sent to the window when a rolling event is generated. 196. The message is sent to the control that owns the window.
197. wm_initmenu = $0116: send this message when a menu is to be activated, 198. it occurs in a user menu bar or press a menu key, 199. it allows the program to change the menu before display
200. wm_initmenupopup = $0117: send this message when a drop-down menu or sub-menu is to be activated, 201. it allows the program to change the menu before it is displayed, 202. while 203. not 204. to change all
205. wm_menuselect = $ 011f: send this message to the menu owner when a menu item is selected (usually a window)
206. wm_menuchar = $0120: When the menu has been activated, the user presses a key (not 207. Same as 208. On the accelerator Key), 209. sends this message to the menu owner;
210. wm_enteridle = $0121: When a modal dialog box or menu enters the idle state, this message is sent to its owner, 211. when a modal dialog box or menu enters the no-load status, it waits in the queue after processing one or more previous messages without messages.
212. wm_menurbuttonup = $0122: wm_menudrag = $0123: wm_menugetobject = $0124: wm_uninitmenupopup = $0125:
213. wm_menucommand = $0126: wm_changeuistate = $0127: wm_updateuistate = $0128: wm_queryuistate = $0129:
214. wm_ctlcolormsgbox = $0132: send this message to the owner window of the message box before drawing the message box in windows, 215. by responding to this message, 216. in the owner window, you can use the specified related display device 217. to set the text and background color of the message box.
218. wm_ctlcoloredit = $0133: the parent window that sends this message to an edit control when it is to be drawn: in response to this message, the owner window can display the device 219 by using the specified related display device. to set the text and background color of the edit box.
220. wm_ctlcolorlistbox = $0134: When a list box control is to be drawn, send this message to its parent window; by responding to this message, 221. in the owner window, you can use the specified related display device 222. to set the text and background color of the list box.
223. wm_ctlcolorbtn = $0135: send this message to its parent window when a button control is to be drawn. By responding to this message, 224. in the owner window, you can use the specified related display device 225. to set the text and background color of the button.
226. wm_ctlcolordlg = $0136: When a dialog box control is to be drawn, send this message to its parent window; by responding to this message, 227. in the all-in-one window, you can use the specified related display device 228. to set the text background color of the dialog box.
229. wm_ctlcolorscrollbar = $0137: send this message to its parent window when a scroll bar control is to be drawn; by responding to this message, 230. in the owner window, you can use the specified related display device 231. to set the background color of the scroll bar.
232. wm_ctlcolorstatic = $0138: the parent window to which the message is sent when a static control is to be drawn; 233. in the displayed window, you can use the specified related display device 234. to set the text and background color of the static control.
235. wm_mousemove = $0200: move the mouse 236.
237. wm_lbuttondown = $0201 press the mouse 238. Left click
239. wm_lbuttonup = $0202: Release the mouse 240. Left click
241. wm_lbuttondblclk = $0203: double-click the mouse button 242.
243. wm_rbuttondown = $0204: Right click 244.
245. wm_rbuttonup = $0205: Release the mouse 246. Right-click
247. wm_rbuttondblclk = $0206: Double-click 248. Right-click
249. wm_mbuttondown = $0207: press the mouse button 250.
251. wm_mbuttonup = $0208: Release the mouse.
253. wm_mbuttondblclk = $0209: Double-click 254.
255. wm_mousewheel = $ 020a: This message is sent when the mouse 256. the wheel is turned. The current focus control is present.
257. wm_parentnotify = $0210: When the MDI child window is created or destroyed, 258. or the user clicks 259. key and 260. cursor 261. the parent window that sends the message to the Child Window.
262. wm_entermenuloop = $0211: the Main Window of the notification application that has entered the menu loop mode
263. wm_exitmenuloop = $0212: the Main Window of the notification application that has exited the menu loop mode.
264. wm_nextmenu = $0213:
265. wm_sizing = 532: when the user is adjusting the window size, send this message to the window. Through this message application, you can monitor the window size and position, and modify them.
266. wm_capturechanged = 533: send this message to the window when it loses the captured mouse 267;
268. wm_moving = 534: This message is sent when the user moves the window. 269. The message application can monitor the window size and position and modify them;
270. wm_powerbroadcast = 536: This message is sent to the application to notify it of power management events;
271. wm_devicechange = 537: send this message to the application or device 272. driver when the hardware configuration of device 273 is changed.
274. wm_ime_startcomposition = $ 010d:
275. wm_ime_endcomposition = $ 010e:
276. wm_ime_composition = $ 010f:
277. wm_ime_keylast = $ 010f:
278. wm_ime_setcontext = $0281:
279. wm_ime_notify = $0282:
280. wm_ime_control = $0283:
281. wm_ime_compositionfull = $0284:
282. wm_ime_select = $0285:
283. wm_ime_char = $0286:
284. wm_ime_request = $0288:
285. wm_ime_keydown = $0290:
286. wm_ime_keyup = $0291:
287. wm_mdicreate = $0220: The application sends this message to the multi-document customer window to create an MDI subwindow.
288. wm_mdidestroy = $0221: The application sends this message to the multi-document customer window to close an MDI subwindow.
289. wm_mdiactivate = $0222: The application sends this message to the customer window of multiple documents to notify the customer window to activate another MDI subwindow, 290. when the user window receives the message, 291. it sends a wm_mdiactive message to the MDI subwindow (not activated) to activate it;
292. wm_mdirestore = $0223: The program sends this message to the MDI customer window so that the subwindow is restored from the maximum to 293.
294. wm_mdinext = $0224: The program sends this message to the MDI customer window to activate the next or previous window.
295. wm_mdimaximize = $0225: The program sends this message to the MDI customer window to maximize an MDI subwindow;
296. wm_mditile = $0226: The program sends this message to the MDI customer window and rearranges all MDI child windows in Tiled mode.
297. wm_mdicascade = $0227: The program sends this message to the MDI customer window and rearranges all MDI child windows in a stacked manner.
298. wm_mdiiconarrange = $0228: The program sends this message to the MDI customer window to rearrange all the minimized MDI child windows.
299. wm_mdigetactive = $0229: The program sends this message to the MDI customer window to find the handle of the activated subwindow.
300. wm_mdisetmenu = $0230: The program sends this message to the MDI customer window, replacing the sub-Window Menu With the MDI menu
301. wm_entersizemove = $0231:
302. wm_exitsizemove = $0232:
303. wm_dropfiles = $0233:
304. wm_mdirefreshmenu = $0234:
305. wm_mousehover = $02a1:
306. wm_mouseleave = $02a3:
307. wm_cut = $0300: The program sends this message to an edit box or ComboBox to delete the selected text.
308. wm_copy = $0301: The program sends this message to an edit box or ComboBox to restore 309. The selected text is sent to the clipboard.
310. wm_paste = $0302: The program sends this message to editcontrol or ComboBox to get data from the clipboard.
311. wm_clear = $0303: The program sends this message to editcontrol or ComboBox to clear the selected content;
312. wm_undo = $0304: The program sends this message to editcontrol or ComboBox to cancel the last operation.
313. wm_renderformat = $0305;
314. wm_renderallformats = $0306:
315. wm_destroyclipboard = $0307: send this message to the clipboard owner when the enptyclipboard function is called.
316. wm_drawclipboard = $0308: send this message to the first window of the clipboard observation chain when the content of the clipboard changes; it allows the clipboard observation window to display the new content of the clipboard;
317. wm_paintclipboard = $0309: When the Clipboard contains data in the cf_ownerdiplay format and the client area of the clipboard observation window needs to be re-painted;
318. wm_vscrollclipboard = $ 030a:
319. wm_sizeclipboard = $ 030b: When the Clipboard contains data in the cf_ownerdiplay format and the size of the client area in the clipboard observation window has changed, this message is sent to the clipboard owner through the clipboard observation window;
320. wm_askcbformatname = $ 030c: send this message to the clipboard owner through the clipboard observation window to request the name of the clipboard in cf_ownerdisplay format 321. Word
322. wm_changecbchain = $ 030d: send this message to the first window of the clipboard observation chain when a window is moved from the clipboard observation chain;
323. wm_hscrollclipboard = $ 030e: the message is sent to the clipboard owner through a clipboard observation window. It occurs when the Clipboard contains data in the cfownerdispaly format and an event is on the horizontal scroll bar of the clipboard observation window; all users should scroll the clipboard image and update the value of the scroll bar;
324. wm_querynewpalette = $ 030f: This message is sent to the window that will receive the focus, 325. This message enables the window to have the same logical palette as 326 when it receives the focus.
327. wm_paletteischanging = $0310: This message notifies all applications when an application is about to implement its logical palette.
328. wm_palettechanged = $0311: This message is sent to all top-level relay windows after implementing its logical palette in a window with focus. 329. This is used to change the system palette.
330. wm_hotkey = $0312: this message is submitted when you press the hotkey registered by the registerhotkey function.
331. wm_print = 791: The application sends this message only when Windows or other applications send a request requesting to draw a part of an application;
332. wm_printclient = 792:
333. wm_handheldfirst = 856:
334. wm_handheldlast = 863:
335. wm_penwinfirst = $0380:
336. wm_penwinlast = $ 038f:
337. wm_coalesce_first = $0390:
338. wm_coalesce_last = $ 039f:
339. wm_dde_first = $03e0:
340. wm_dde_initiate = wm_dde_first + 0: a dde client program submits this message and starts a session with server 341. server program to respond to the program named 342. And the topic name 343 .;
344. wm_dde_terminate = wm_dde_first + 1: a dde application (whether the client or server 345. Server) submits this message to terminate a session;
346. wm_dde_advise = wm_dde_first + 2: a dde client program submits this message to a DDE Server 347. The service program requests server 348. The server updates it whenever the data items change
349. wm_dde_unadvise = wm_dde_first + 3: a dde client sends a notification to a DDE Server 350 through this message. the service process is not 351. update: 352. specified item or an item in special clipboard format
353. wm_dde_ack = wm_dde_first + 4: one DDE Server is 354. the program submits this message to the DDE client program to pass a data item to the customer or to notify the customer of an available data item.
355. wm_dde_request = wm_dde_first + 6: a dde client program submits the message to a DDE Server 356. The service program requests the value of a data item;
357. wm_dde_poke = wm_dde_first + 7: a dde client program submits this message to a DDE Server 358. program, 359. the customer uses this message to request server 360. the server receives the same 361. data item; server 362. the server replies 363. the message wm_dde_ack prompts whether it receives the data item;
364. wm_dde_execute = wm_dde_first + 8: a dde client program submits this message to a DDE Server 365. program to send a string to server 366. server makes it processed like a serial command, server 367. the server responds by submitting the wm_dde_ack message;
368. wm_dde_last = wm_dde_first + 8:
369. wm_app = $8000:
370. wm_user = $0400: This message helps the application customize private messages;
/
Icationicationmessage refers to a message in which the subcontrol in a window has something to notify the parent window. The notification message is only applicable to standard window controls such as buttons, list boxes, Combo boxes, and edit boxes, as well as Windows 95 public controls such as tree views and list views. For example, click or double-click a control, select some text from the control, and
The scroll bar generates a notification message.
371. Button
372. bn_clicked file: the user clicked the button.
373. bn_disable file: the button is disabled.
374. bn_doubleclicked file: the user double-clicked the button.
375. bn_hilite file: the button is highlighted by the user.
376. The bn_paint button should be repainted.
377. bn_unhilite should be highlighted to remove the combo box
378. The list box of the cbn_closeup combo box is closed.
379. The cbn_dblclk user double-clicked a string
380. The list box of the cbn_dropdown combo box is pulled out.
381. The cbn_editchange user modified the text in the edit box.
382. The text in the cbn_editupdate edit box is about to be updated.
383. The cbn_errspace combox has no memory limit of 384.
385. The cbn_killfocus combo box loses the input focus.
386. cbn_selchange selected an item in the combo box
387. The selection of cbn_selendcancel users should be canceled
388. cbn_selendok users' selection is legal
389. The cbn_setfocus combo box obtains the input focus edit box.
390. The text in the en_change edit box has been updated.
391. The memory size of the en_errspace editing box is not 392.
393. The en_hscroll user clicked the horizontal scroll bar.
394. The en_killfocus edit box is missing the input focus.
395. The content inserted by en_maxtext is truncated.
396. en_setfocus edit box to get the input focus
397. The text in the en_update edit box will be updated
398. The en_vscroll user clicked the vertical scroll bar message meaning
List box
399. The lbn_dblclk user double-clicked an item
400. The memory in the lbn_errspace list box is not 401.
402. The lbn_killfocus list box is losing the input focus.
403. lbn_selcancel selected to be canceled
404. lbn_selchange selected another item
405. lbn_setfocus list box to get the input focus

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.