Public const wm_null as long = & h0 '(none)
Public const wm_create as long = & h1 'app creates a window
Public const wm_destroy as long = & h2 'a window is destroyed
Public const WM_MOVE AS long = & h3 'moving a window
Public const wm_size as long = & h5 'changes the size of a window
Public const wm_activate as long = & h6 'One window is activated or lost activation status
Public const wm_setfocus as long = & h7 'after the focus
Public const wm_killfocus as long = & h8 'lost focus
Public const wm_enable as long = & ha 'changes enable status
Public const wm_setredraw asse line = & hb 'sets the window to redraw?
Public const wm_settext as long = & hc 'application sends this message to set the text of a window
Public const wm_gettext as long = & hd 'application sends this message to copy the text to the buffer corresponding to the window
Public const wm_gettextLCTLENGTLENGTLENGTH AS long = & he 'gets the length of text related to a window (not including empty characters)
Public const wm_paint as long = & hf 'requires a window to call yourself
Public const wm_close as long = & h10 'Send a signal when a window or application is turned off
Public const wm_queryendsession as long = & h11 'When the user selects the end dialog or the program calls the exitwindows function
Public const wm_quit as long = & h12 'is used to end the program run or when the program calls postquitMessage function
Public const wm_queryopen as long = & h13 'When the user window restores the previous size position, send this message to an icon.
Public const wm_erasebkgnd as long = & h14 'When the window background must be erased (case change in window)
Public const wm_syscolorchange asse line = & h15 'When the system color changes, send this message to all top windows
Public const wm_endsession as long = & h16 'When the system process issues a WM_QueryEndSession message, this message is sent to the application, informs it to end if the conversation ends the public const wm_systemerror as long = & h17'
Public const wm_showwindow as long = & h18 'When hidden or display window is sent to this message to this window
Public const wm_ctlcolor as long = & h19 '
Public const wm_wininichange as long = & h1a '
Public const wm_devmodechange as long = & h1b '
Public const wm_activateApp as long = & h1c 'Send this message Which window is activated, which is an inactive
Public const wm_fontchange as long = & h1d 'When the system's font resource library changes, this message is sent to all top windows.
Public const wm_timechange as long = & h1e 'When the system's time changes, this message is sent to all top windows.
Public const wm_cancelmode as long = & h1f 'sends this message to cancel some of the ongoing touch state (operation)
Public const wm_setcursor as long = & h20 'If the mouse causes the cursor to move in a window and the mouse input is not captured, send a message to a window.
Public const wm_mouseactivate as long = & h21 'When the cursor is in a non-active window and the user is in accordance with a key to the mouse, it sends this message to the current window.
Public const wm_childactivate as long = & h22 'Send this message to the MDI sub-window When the user clicks on this window, or when the window is activated, moved, change the size
Public const wm_queueSync as long = & h23 'This message is sent by a computer-based training program, separating user input messages via WH_Journalpalyback hook programs
Public const wm_getminMaxInfo as long = & h24 'This message is sent to the window When it will change the size or position
Public const wm_paintICON as long = & h26 'Send to minimization window When it icon will be edited
Public const wm_iconeraseBkGnd as long = & h27 'This message is sent to a minimization window, only when it is drawn, it must be redrawn
Public const wm_nextdlgctl as long = & h28 'Send this message to a dialog program to change the focus location
Public const wm_spoolerstatus as long = & h2A 'Whenever the print management queue adds or decreases this message PUBLIC ConST WM_DRAWITEM AS long = & h2b' When the visual appearance of Button, ComboBox, Listbox, Menu is sent to these empty Piece owner
Public const WM_MEASUREITEM As long = & h2c 'When Button, Combo Box, List Box, List View Control, or Menu Item is sent to the controls of the owner of the control
Public const wm_deleteItem as long = & h2d 'When the list box or Combo Box is destroyed or when some item is removed by lb_deleteString, lb_resetcontent, cb_deleteString, or cb_resetcontent message
Public const wm_vkeytoItem as long = & h2e 'This message has a LBS_WANTKEYBOARDINPUT style to the owner of it to respond to WM_KEYDOWN messages
Public const wm_chartoItem as long = & h2f 'This message is sent to his owner by a list box in a LBS_WANTKEYBOARDINPUT style to respond to WM_CHAR messages
Public const wm_setfont as long = & h30 'When the text is drawn, the program sends this message to get the color to use.
Public const wm_getfont as long = & h31 'application Send this message to get the font of the current control
Public const wm_sethotkey as long = & h32 'application sends this message to let a window associated with a hotkey
Public const wm_gethotkey as long = & h33 'application sends this message to determine if the hotkey is associated with a window
Public const wm_querydragicon as long = & h37 'This message is sent to the minimization window, when this window will be dragged and the icon is not defined in its class, the application can return an icon or cursor handle, when the user drags and drop the icon Show this icon or cursor
Public const wm_compareItem as long = & h39 'Send this message to determine the relative position of ComboBox or ListBox added items
Public const WM_GETOBJECT As long = & h3d '
Public const wm_compacting as long = & h41 'shows that memory is already
Public const wm_otherwindowcreated as long = & h42 '
Public const wm_otherwindowdestroyed as long = & h43 '
Public const wm_commnotify as long = & h44 'public const wm_windowposchanging as long = & h46' Send this message to the size and location of the window to call the SETWINDOWPOS function or other window management functions
Public const wm_windowposchanged as long = & h47 'Send this message to call the SETWINDOWPOS function or other window management functions when the size and location of the window have been changed.
Public const wm_power as long = & h48 '(for 16-bit Windows) When the system will send this message when the system is going to be paused
Public const wm_copydata as long = & h4a 'When an application passes data to another application, this message is sent
Public const WM_CANCELJOURNALNALNALNALNALNALNALNALNALNALNALNALNERNGER When a user cancels the program log activation status, submit this message to the program
Public const wm_notify as long = & h4e 'When a control is already or when this control needs to get some information, send this message to its parent window
Public const WM_INPUTLANGCHANGEREQUEST AS Long = & H50 'When the user selects a certain input language, or the hotkey change in the language
Public const WM_INPUTLANGCHANGE AS long = & h51 'When the platform has been changed, this message is sent to the most affected top window.
Public const wm_tcard as long = & h52 'When the program has initialized the Windows Help routine, this message is sent to the application.
Public const wm_help as long = & h53 'This message displays the user presses F1. If a menu is activated, send this message and this window is associated with the menu, otherwise send a window with focus, if there is no focus now , Send this message to the current activated window
Public const wm_userchanged as long = & h54 'When the user has already logged in or exit, this message is sent to all windows, when the user logs in or exits, the system updates the user's specific setup information, and the system immediately sends this message when the user update settings.
Public const wm_notifyformat as long = & h55 'public control, custom control, and their parent window to determine that the control is using ansi or the Unicode structure in the WM_NOTIFY message, using this control to make a control and its parent control Conduct mutual communication
Public const wm_contextMenu as long = & h7b 'When you click on the right button in a window, send this message to this window.
Public const wm_styleChanging as long = & h7c 'This message is sent to that message when the calling setWindowlong function will change one or more windows.
Public const wm_styleChange AS Long = & H7D 'When the style of the SETWINDOWLONG function is called after the style of one or more windows, this message is sent to the window public const wm_displaychange as long = & h7e' When the resolution of the display changes this message to all the windows
Public const wm_geticon as long = & h7f 'This message is sent to a window to return a big icon or a small icon of a large icon or a small icon with a window.
Public const wm_seticon as long = & h80 'program Send this message to let a new big icon or small icon associate with a window
Public const wm_nccreate as long = & h81 'When a window is created for the first time, this message is sent before the WM_CREATE message
Public const wm_ncdestroy as long = & h82 'This message notifies a window, non-customer district is destroying
Public const wm_nccalcsize as long = & h83 public const wm_keyfirst as long = & h100 '
Public const wm_keydown as long = & h100 'Press a key
Public const wm_keyup as long = & h101 'Releases a key
Public const wm_char as long = & h102 'Pressing a key and has issued WM_KEYDOWN, WM_KEYUP message
Public const wm_deadchar as ring = & h103 'When using the TranslateMessage function to translate the WM_KEYUP message to send this message to the window with focus
Public const wm_syskeydown as long = & h104 'When the user holds down the Alt button, submit this message to the window with the focus.
Public const wm_syskeyup as long = & h105 'When the user releases a button while the Alt key is pressed, submit this message to the window with focus.
Public const wm_syschar as long = & h106 'When the WM_SYSKEYDOWN message is translated by the translateMessage function, submit this message to the window with focus.
Public const wm_sysdeadchar as long = & h107 'When the WM_SYSKEYDOWN message is translated by the translateMessage function, send this message to the window with focus.
Public const wm_keylast as long = & h108 '
Public const WM_CONVERTREQUESTEX As long = & h108 '
Public const WM_WNT_CONVERTREQUESTEX As long = & h109 'public const wm_convertrequest as long = & h10a'
Public const WM_CONVERTRESULT AS long = & h10b '
Public const wm_interim as long = & h10c '
Public const wm_ime_startcomposition as long = & h10d '
Public const WM_IME_ENDComposition As long = & h10e '
Public const wm_ime_comPosition as long = & h10f '
Public const wm_ime_keylast as long = & h10f '
Public const wm_initdialog as long = & h110 'Send this message before a dialog program is displayed to it, usually use this message to initialize the control and perform other tasks
Public const wm_command as long = & h111 'When a user selects a menu command item or when a control sends a message to its parent window, a shortcut is translated
Public const wm_syscommand as long = & h112 'When a user selects a command to select Window menu or when the user selects maximizes or minimizes the message, the window will receive this message.
Public const wm_timer as long = & h113 'has a timer event
Public const wm_hscroll as long = & h114 'When a window standard horizontal scroll bar generates a scrolling event to send this message to that window, also sent to controls with it
Public const wm_vscroll as long = & h115 'When a window standard vertical scroll bar generates a scrolling event to send this message to that window, also sent to controls with it
Public const wm_initmenu as long = & h116 'When a menu will be sent to send this message when a menu is activated, it happens to an item in the user menu bar or pressing a menu button, which allows the program to change the menu before display
Public const wm_initMenupup as long = & h117 'When a drop-down menu or submenu will be activated, it will send this message, which allows the program to change the menu before it is displayed, not to change all
Public const wm_menuselect as long = & h11f 'When the user selects a menu item, send this message to the owner of the menu (generally the window)
Public const wm_menuclehar as long = & h120 'When the menu has been activated by a key (different from acceleration keys), send this message to the owner of the menu
Public const wm_enteridle asse line = & h121 'When a modal dialog or menu enters an on-load state, send this message to the owner, a modal dialog or menu enters an air-load state is to process one or more previous After the message, there is no message to wait for the PUBLIC Const WM_MenurbuttonUp as long = & h122 '.
Public const WM_MENUDRAG As long = & h123 '
Public const wm_menugetObject as long = & h124 '
Public const wm_uninitMenupopup as long = & h125 '
Public const wm_menucommand as long = & h126 '
Public const wm_changeuistate as long = & h127 '
Public const wm_updateuistate as long = & h128 '
Public const wm_quryuistate as long = & h129 '
Public const wm_ctlcolormsgbox as long = & h132 'Send this message to the owner window of the message box before Windows, by responding to this message, the owner window can set the message box by using the handle of a given related display device. Text and background colors
Public const wm_ctlcoloredit as long = & h133 'When a edit control will send this message to the parent window; by responding to this message, the owner window can set the edit box by using the handle of a given related display device. Text and background color
Public const wm_ctlcolorListbox as long = & h134 'When a list box control will send this message to its parent window; by responding to this message, the owner window can set the list box by using the handle of the given related display device. Text and background color
Public const wm_ctlcolorbtn as long = & h135 'When a button control will be drawn to the parent window; by responding to this message, the owner window can set the button by using the handle of the given related display device. Text and background colors
Public const wm_ctlcolordlg as long = & h136 'When a dialog control will send this message to the parent window to send this message before being drawn; by responding to this message, the owner window can set the dialog box by using the handle of the given related display device. Text background color
Public const wm_ctlcolorscrollbar as long = & h137 'When a scroll strip control will send this message to the parent window; by responding to this message, the owner window can set the scroll bar by using the handle of a given related display device. Background color
Public const wm_ctlcolorstatic as long = & h138 'When a static control will send this message to its parent window; by responding to this message, the owner window can set the static control by using the handle of a given related display device. Text and Background Colors Public Const WM_Mousefirst As Long = & H200 '
Public const wm_mousemove as long = & h200 'mobile mouse
Public const wm_lbuttondown as long = & h201 'Press the left mouse button
Public const wm_lbuttonup as long = & h202 'Releases the left mouse button
Public const wm_lbuttondblclk as long = & h203 'Double-click the left mouse button
Public const wm_rbuttondown as long = & h204 'Press the right mouse button
Public const wm_rbuttonup as long = & h205 'Release mouse button
Public const wm_rbuttondblclk as long = & h206 'Double-click Mouse button
Public const wm_mbuttondown as long = & h207 'Press the mouse button
Public const WM_MBUTTONUP As long = & h208 'Release mouse over
Public const WM_MBUTTONDBLCLK As long = & h209 'Double-click Mouse button
Public const wm_mouselast as long = & h209 '
Public const wm_mousewheel as long = & h20a 'When the mouse wheel is rotated, the message is sent to the current focus control.
Public const wm_xbuttondown as long = & h20b '
Public const wm_xbuttonup as long = & h20c '
Public const wm_xbuttondblclk as long = & h20d '
Public const wm_parentNotify as long = & h210 'When the MDI sub-window is created or destroyed, or the user presses the mouse button and the cursor sends this message to its parent window on the child window.
Public const wm_entermenuloop as long = & h211 'Send this message to notify the application's main window That already entered menu loop mode
Public const wm_exitmenuloop as long = & h212 'Send this message to notify the application's main window That has exited menu loop mode
Public const wm_nextMenu as long = & h213 '
Public const wm_sizing as long = & h214 'When the user is adjusting the window to send this message to the window; you can monitor window size and location can also modify their public const wm_capturechanged as long = & h215' Send this message to the window It lost the captured mouse
Public const wm_moving as long = & h216 'When the user sends this message while moving the window, you can monitor the window size and location through this message. You can also modify them.
Public const wm_powerbroadcast as long = & h218 'This message is sent to an application to inform it about power management events
Public const wm_devicechange asse line = & h219 'When the device's hardware configuration changes, this message is sent to the application or device driver.
Public const wm_mdicreate as long = & h220 'application sends this message to a multi-document customer window to create an MDI sub-window
Public const wm_mdideStroy as long = & h221 'application sends this message to a multi-document's customer window to close a MDI sub-window
Public const wm_mdiactivate as long = & h222 'application Send this message to the multi-document client window to inform the client window to activate another MDI sub-window, when the customer window receives this message, it issues a WM_MDIACTIVE message to the MDI sub-window (not activated) Activate it
Public const wm_mdirestore as long = & h223 'program sends this message to the MDI customer window to restore the sub-window from the maximum minimization to the original size
Public const wm_mdinext as long = & h224 'program Send this message to the MDI customer window activation the next or the previous window
Public const wm_mdimaximize as long = & h225 'program sends this message to MDI customer window to maximize an MDI sub-window
Public const wm_mditile as long = & h226 'program Send this message to the MDI client window to rearrange all MDI sub-windows
Public const wm_mdicascade as long = & h227 'program Send this message to the MDI customer window to rearrange all MDI sub-windows in a laminated manner
Public const wm_mdiiconarrange as long = & h228 'program sends this elimination
Public const WM_IME_REPORT As long = & h280 '
Public const WM_IME_SETCONTEXT As long = & h281 '
Public const WM_IME_NOTIFY As Long = & H282 '
Public const WM_IME_CONTROL As long = & h283 '
Public const WM_IME_COMPSITIONFULL AS long = & h284 'public const wm_ime_select as long = & h285'
Public const WM_IME_CHAR AS long = & h286 '
Public const WM_IME_REQUEST As long = & h288 '
Public const WM_IME_KEYDOWN As long = & h290 '
Public const WM_IME_KEYUP As long = & h291 '
Public const wm_ncmousehover as long = & h2a0 '
Public const WM_Mousehover As long = & h2a1 '
Public const wm_ncmouseleave as long = & h2a2 '
Public const wm_mouseeleave as long = & h2a3 '
Public const wm_cut as long = & h300 'program Send this message to an edit box or ComboBox to delete the currently selected text
Public const wm_copy as long = & h301 'program Send this message to an edit box or ComboBox to copy the currently selected text to the clipboard
Public const wm_paste as long = & h302 'program Send this message to EditControl or ComboBox gets data from the clipboard
Public const wm_clear as long = & h303 'program Send this message to EDITCONTROL or ComboBox Clear the currently selected content
Public const wm_undo as long = & h304 'program sends this message to editcontrol or ComboBox to undo the last operation
Public const WM_RENDERFORMAT AS long = & h305 '
Public const wm_renderallFormats as long = & h306 '
Public const WM_DESTROYCLIPBOARD AS long = & h307 'This message is sent to the owner of the clipboard when calling the enptyclipboard function
Public const wm_drawclipboard as long = & h308 'When the content changes of the clipboard changes to the first window of the clipboard observed the chain; it allows the clipboard to observe the window to display the new content of the clipboard.
Public const wm_paintclipboard as long = & h309 'When the clipboard contains data in the CF_OWNERDIPLAY format and clipboard observation window needs to be redrawn
Public const wm_vscrollclipboard as long = & h30a 'public const wm_sizeclipboard as long = & h30b' When the clipboard contains data in the CF_OWNERDIPLAY format and the size of the client area of the clipboard observation window has changed this message, sent to the clipboard through the clipboard watch window. By
Public const wm_askcbformactname as long = & h30c 'Sends this message to the owner of the clipboard to request a clipboard of the clipboard by clipboard watch window.
Public const wm_changecbchain as long = & h30d 'When a window is removed from the clipboard observation chain to send this message to the first window of the clipboard observation chain
Public const wm_hscrollclipboard as long = & h30E 'This message sends the owner of the clipboard via a clipboard watch window; it occurs in the clipboard contains data in the CFOWNERDISPALY format and has an event on the horizontal scroll bar of the clipboard viewing window; The owner should scroll the clipboard image and update the value of the scroll bar.
Public const wm_querynewpalette as long = & h30f 'This message is sent to a window that will receive a focus. This message enables the window to have the opportunity to achieve his logical palette while receiving the focus.
Public const wm_paletteischanging as long = & h310 'When an application is to implement its logical palette, send this message to notify all applications
Public const wm_palettechanged as long = & h311 'This message implements this message to all top-level and overlapping windows after implementing its logical palette, to change the system palette
Public const wm_hotkey as long = & h312 'Submit this message when the user presses the hotkey registered by the RegisterhotKey function
Public const wm_print as long = & h317 'application Send this message only when Windows or other applications issues a part of an application to draw a request
Public const WM_PrintClient as long = & h318 '
Public const wm_appcommand as long = & h319 '
Public const wm_handheldfirst as long = & h358 '
Public const wm_handheldlast as long = & h35f '
Public const wm_afxfirst as long = & h360 '
Public const wm_forwardmsg as long = & h37f '
Public const wm_afxlast as long = & h37f '
Public const wm_penwinfirst as long = & h380 '
Public const WM_PENWINLAST As long = & h38f 'public const wm_dde_first as long = & h3e0'
Public const wm_dde_initiate = (wm_dde_first 0) 'A DDE client submits this message to start a session of the server to respond to the specified program and theme name
Public const wm_dde_terminate = (wm_dde_first 1) 'A DDE application (whether a customer or server) submits this message to terminate a session
Public const wm_dde_advise = (wm_dde_first 2) 'A DDE client submits this message to a DDE service program to update it whenever the data item changes
Public const wm_dde_unadvise = (wm_dde_first 3) 'A DDE client notifies a DDE service that does not update the specified item or a special clipboard format
Public const wm_dde_ack = (wm_dde_first 4) 'This message notifies a DDE (Dynamic Data Exchange) program has received and is processing WM_DDE_EXECUTE, WM_DDE_EXECUTE, WM_DDE_DATA, WM_DDE_ADVISE, WM_DDE_UNADVISE, or WM_DDE_INITIAT message
Public const wm_dde_data = (wm_dde_first 5) 'A DDE service program submits this message to the DDE client to deliver a data item to a customer or notifying the customer's available data item
Public const wm_dde_request = (WM_DDE_First 6) 'A DDE client submits this message to a DDE service program to request a value of a data item
Public const wm_dde_poke = (wm_dde_first 7) 'A DDE client submits this message to a DDE service program, the customer uses this message to request the server to receive an unadiable data item; the server passes whether the WM_DDE_ACK message prompts whether it receives this data item
Public const WM_DDE_EXECUTE = (WM_DDE_First 8) 'A DDE client submits this message to a DDE service program to send a string to the server to make it like serial commands, the server responds by submitting the WM_DDE_ACK message
Public const wm_dde_last = (WM_DDE_First 8) '
Public const wm_user as long = & h400 'This message helps application custom private messages
Public const WM_APP as long = & h8000 '
Public const WM_RASDIALEVENT AS long = & hcccd '
Public const wm_settingchange as long = wm_wininichange