WM_NULL = 0000;
WM_CREATE = $ 0001;
Application creates a window
WM_DESTROY = $ 0002;
One window is destroyed
WM_MOVE = $ 0003;
Move a window
WM_SIZE = $ 0005;
Change the size of a window
WM_ACTIVATE = $ 0006;
A window is activated or lost to activate;
WM_SETFOCUS = $ 0007;
After getting the focus
WM_KILLFOCUS = $ 0008;
lose focus
WM_ENABLE = $ 000A;
Change the Enable status
WM_SETREDRAW = $ 000B;
Set whether the window is able to redraw
WM_SETTEXT = $ 000c;
The application sends this message to set the text of a window
WM_GETTEXT = $ 000d;
The application sends this message to copy the text to the buffer corresponding to the window
WM_GETTEXTLENGTH = $ 000E;
Get the length of text related to a window (not including empty characters)
WM_PAINT = $ 000F;
Ask one window to call yourself
WM_CLOSE = $ 0010;
Send a signal when a window or application is turned off
WM_QUERYENDSESSION = $ 0011;
When the user selects the end dialog or the program calls the exitwindows function
WM_QUIT = $ 0012;
Used to end the program to run or when the program calls postquitMessage functions
WM_QUERYOPEN = $ 0013;
When the user window recovers the previous size position, send this message to an icon.
WM_ERASEBKGND = $ 0014;
When the window background must be erased (case change in the window)
WM_SYSCOLORCHANGE = $ 0015;
When the system color changes, send this message to all top windows
WM_ENDSESSION = $ 0016;
This message is sent to the application when the system process issues a WM_QUERYENDSESSION message.
Notify it to end if the conversation ends
WM_SYSTEMERROR = $ 0017;
WM_SHOWINDOW = $ 0018;
When the hidden or display window is sent to this message to this window
WM_ACTIVATEAPP = $ 001C;
Send this message Which window is activated, which is an inactive;
WM_FONTCHANGE = $ 001d;
Send this message to all top windows when the system's font resource library changes
WM_TIMECHANGE = $ 001E;
Send this message to all top windows when the system's time changes
WM_CANCELMODE = $ 001F;
Send this message to cancel some of the ongoing touch state (operation)
WM_SETCURSOR = $ 0020;
If the mouse causes the cursor to move in a window and the mouse input is not captured, send a message to a window.
WM_MOUSEAACTIVATE = $ 0021;
When the cursor is in a non-active window and the user is in pressing a key in the mouse to send this message to the current window.
WM_CHILDACTIVATE = $ 0022;
Send this message to the MDI child window When the user clicks on this window, or when the window is activated, moved, change the size
WM_QUEESYNC = $ 0023;
This message is sent by the computer-based training program, through the HOOK program of WH_Journalpalyback
Separate user input message
WM_GETMINMAXINFO = $ 0024;
This message is sent to the window When it will change the size or position;
WM_PaintICON = $ 0026;
Send to the minimization window When it icon will be heavy
WM_ICONERASEBKGND = $ 0027; This message is sent to a minimized window, only when it is drawn, it must be redrawn
WM_NEXTDLGCTL = $ 0028;
Send this message to a dialog program to change the focus location
WM_SPOOLERSTATUS = $ 002A;
Whenever the print management queue increases or decreases this message when a job
WM_DRAWITEM = $ 002B;
Send when button, ComboBox, ListBox, Menu visual appearance changes
This message gives the owner of these empty parts
WM_MEASUREITEM = $ 002c;
When Button, Combo Box, List Box, List View Control, or Menu Item is created
Send this message to the owner of the control
WM_DELETEITEM = $ 002d;
When the list box or Combo Box is destroyed or when some items are removed by lb_deleteString,
LB_RESETCONTENT, CB_DELETESTRING, OR CB_RESETCONTENT message
WM_VKEYTOITEM = $ 002E;
This message has a LBS_WANTKEYBOARDINPUT style to the owner of it to respond to WM_KeyDown messages
WM_CHARTOITEM = $ 002F;
This message is sent to his owner by a list box in a lbs_wantkeyboardinput style to respond to WM_CHAR messages.
WM_SETFONT = $ 0030;
When the text is drawn, the program is sent this message to get the color you want to use.
WM_GETFONT = $ 0031;
Application Send this message to get the current control to draw the text
WM_SETHOTKEY = $ 0032;
The application sends this message to let a window associated with a hotkey
WM_GETHOTKEY = $ 0033;
The application sends this message to determine if the hotkey is associated with a window.
WM_QUERYDRAGICON = 0037;
This message is sent to the minimization window, when this window will be dragged and dropped and the icon is not defined in its class, the application can
Returns a handle of an icon or cursor, and the system displays this icon or cursor when the user drags and drop icons.
WM_CompareItem = $ 0039;
Send this message to determine the relative position of the new item added in ComboBox or Listbox
WM_GETOBJECT = $ 003D;
WM_Compacting = $ 0041;
There is already very few memory
WM_WINDOWPOSCHANGINGING = 0046;
Send this message to call the SetWindowPos function or other window tube when the size and location of the window will be changed.
Function
WM_WINDOWPOSCHANGED = $ 0047;
Send this message to call the SETWINDOWPOS function or other window tube when the size and location of the window have been changed.
Function
WM_POWER = $ 0048; (for 16-bit Windows)
This message will be sent when the system will enter the pause state
WM_COPYDATA = $ 004A;
Send this message when an application passes data to another application
WM_CANCELJNAL = $ 004B;
Submit this message to the program when a user cancels the program log activation status
WM_NOTIFY = $ 004E;
When a control is already or if this control needs to get some information, send this message to its parent window
mouth
WM_INPUTLANGCHANGEREQUEST = $ 0050;
When the user selects some kind of input language, or the hotkey change in the input language
WM_INPUTLANGCHANGE = $ 0051;
This message is sent to the most affected top window when the platform has been changed.
WM_TCARD = $ 0052; send this message to the application when the program has initialized the Windows Help routine
WM_HELP = $ 0053;
This message shows that the user presses F1, if a menu is activated, send this message and this window is associated with the menu, no
Then
Send to a focus window, if there is no focus, you send this message to the currently activated window.
WM_USERCHANGED = $ 0054;
When the user has already logged in or exits, this message is sent to all the windows, and the system updates the user when the user logs in or exits.
body
Setting information, send this message immediately when the user update settings;
WM_NOTIFYFORMAT = $ 0055;
Public controls, custom controls and their parent windows to determine that the control is using ANSI or Unicode structure
In the WM_NOTIFY message, use this control to communicate with each control with its parent controls
WM_CONTEXTMENU = $ 007B;
When you click on a window, you can send this message to this window.
WM_StyleChanging = $ 007c;
When the calling setWindowlong function will change this message to that window when you want to change the style of one or more windows.
WM_Stylechanged = $ 007D;
This message is sent to that window when calling the style of a setWindowlong function one or more windows.
WM_DISPLAYCHANGE = $ 007E;
Send this message to all windows when the resolution of the display changes
WM_GETICON = $ 007F;
This message is sent to a window to return a handle of a large icon or a small icon with a window;
WM_seticon = 0080;
The program sends this message to let a new large icon or small icon associated with a window;
WM_NCCREATE = $ 0081;
This message is sent before the WM_CREATE message is sent when a window is created first.
WM_NCDESTROY = $ 0082;
This message notifies a window, non-customer district is destroying
WM_NCCALCSIZE = $ 0083;
This message must be sent when a customer area of a window must be verified
WM_NCHITTEST = $ 0084; // Move the mouse, hold down or release the mouse
WM_NCPAINT = $ 0085;
The program sends this message to a window when it (window) is drawn;
WM_NCActivate = $ 0086;
This message is sent to a window only when its non-customer area needs to be changed to display is activated or inactive;
WM_GETDLGCODE = $ 0087;
Send this message to a control associated with a dialog program, Widdows Control orientation key, and Tab keys make input into this control
By responding to the WM_GETDLGCODE message, the application can treat him as a special input control and can handle it.
WM_NCMOUSEMOVE = $ 00A0;
This message is sent to this message when the cursor moves in a window's non-customer zone to this window // Non-client: the title of the form
Bar and window
Bench
WM_NCLBUTTONDOWN = $ 00A1;
This message submits this message when the cursor is in the non-client area of a window.
WM_NCLBUTTONUP = $ 00A2;
When the user releases the left mouse button, the cursor is sent to the non-client zone ten;
WM_NCLBUTTONDBLCLK = $ 00A3;
When the user doubles the left mouse button, the spectrum is sent to this message in the non-client zone ten.
WM_ncrbuttondown = $ 00A4;
When the user presses the mouse button, the cursor is sent to this message when the cursor is in the non-client district of the window.
WM_NCRBUTTONUP = $ 00A5;
When the user releases the right mouse button, the cursor is sent to the window's non-client district.
WM_ncrbuttondblClk = $ 00A6;
When the user doubles the mouse button, the cursor is sent in the non-client zone ten.
WM_NCMBUTTONDOWN = $ 00A7;
When the user presses the mouse button while the cursor is also sent this message when the cursor is in the non-client district of the window.
WM_NCMBUTTONUP = $ 00A8;
When the user releases the mouse button while the cursor is also sent to the window's non-client district
WM_NCMBUTTONDBLCLK = $ 00A9;
When the user doubles the mouse button, the cursor is sent to this message when the cursor is in the non-client district of the window.
WM_KEYFIRST = $ 0100;
WM_KEYDOWN = $ 0100;
// Press a key
WM_KEYUP = $ 0101;
/ / Release a key
WM_CHAR = $ 0102;
/ / Press a key and have issued WM_KEYDOWN, WM_KEYUP message
WM_deadchar = $ 0103;
Send this message to the window with focus when translating the WM_KEYUP message with the TranslateMessage function
WM_SYSKEYDOWN = $ 0104;
Submit this message to the window with focus when the user holds down the Alt button.
WM_SYSKEYUP = $ 0105;
When the user releases a button while the Alt key is pressed, submit this message to the window with focus.
WM_SYSCHAR = $ 0106;
When the WM_SYSKEYDOWN message is translated by the translateMessage function, submit this message to the window with focus.
WM_SYSDEADCHAR = $ 0107;
When the WM_SYSKEYDOWN message is translated by the translateMessage function, send this message to the window with focus.
WM_KEYLAST = $ 0108;
WM_INITDIALOG = $ 0110;
Send this message before a dialog program is displayed, usually use this message to initialize the control and perform other tasks.
WM_COMMAND = $ 0111;
When the user chooses a menu command item or when a control sends a message to its parent window, a shortcut is translated
WM_SYSCOMMAND = $ 0112;
When a user selects a command to the window menu or when the user selects maximizes or minimizes the message, the window will receive this message.
WM_TIMER = $ 0113; // The timer event has occurred
WM_HSCROLL = $ 0114;
When a window standard horizontal scroll bar generates a scrolling event to send this message to that window, it is also sent to own it.
Control
WM_VSCROLL = $ 0115;
When a window standard vertical scroll bar generates a scrolling event to send this message to that window, send it to it.
Control wm_initmenu = $ 0116;
When a menu will be activated, this message is sent, it happens in a user menu bar or presses a menu button, it
allow
Change the menu before display
WM_INITMENUPOPUP = $ 0117;
When a drop down menu or submenu will be activated, this message is sent, which allows the program to change the menu before it is displayed, not
want
Change all
WM_MENUSELECT = $ 011f;
When the user selects a menu item, send this message to the owner of the menu (generally the window)
WM_MENUCHAR = $ 0120;
When the menu has been activated by the user (different from the accelerator), send this message to the owner of the menu;
WM_ENTERIDLE = $ 0121;
Send this message to its owner, a modal dialog or menu when a modal dialog or menu enters an on-load state
Entering the no-load status is to wait in the series after the previous or several previous messages
WM_MENURBUTTONUP = $ 0122;
WM_MENUDRAG = $ 0123;
WM_MENUGETOBJECT = $ 0124; wm_uninitmenupopup = $ 0125;
WM_MENUCOMMAND = $ 0126;
WM_CHANGEUISTATE = $ 0127;
WM_UPDATEUISTATE = $ 0128;
WM_QUERYUISTATE = $ 0129;
WM_CTLCOLORMSGBOX = $ 0132;
Send this message to the owner window of the message box before drawing the message box, by responding to this message, the owner window
Mouth
Set the text and background color of the message box by using the handle of the given related display device
WM_CTLCOLOREDIT = $ 0133;
When a edit control will be drawn, send this message to the parent window; by responding to this message, the owner window
can
Set the text and background color of the edit box by using the handle of a given related display device
WM_CTLCOLORLISTBOX = $ 0134;
When a list box control will send this message to its parent window before being drawn; by responding to this message, the owner window
can
Set the text and background color of the list box by using the handle of a given related display device
WM_CTLCOLORBTN = $ 0135;
When a button control will be drawn, send this message to its parent window; by responding to this message, the owner window can
In
Set the text and background color of the button by using the handle of a given related display device.
WM_CTLCOLORDLG = $ 0136;
When a dialog control will send this message to its parent window before being drawn; by responding to this message, the owner window
can
Set the text background color of the dialog by using the handle of a given related display device
WM_CTLCOLORSCROLLBAR = $ 0137;
When a scroll bar control will be drawn, send this message to its parent window; by responding to this message, the owner window
can
Set the background color of the scroll bar by using the handle of a given related display device.
WM_CTLCOLORSTATIC = $ 0138;
When a static control will be drawn, send this message to its parent window; by responding to this message, the owner window can
In
Set the text and background color of the static control by using the handle of a given related display device
WM_MouseFirst = $ 0200;
WM_MOUSEMOVE = $ 0200;
// Move mouse
WM_LBUTTONDOWN = $ 0201;
// Press the left mouse button
WM_LBUTTONUP = $ 0202;
// Release the left mouse button
WM_LBUTTONDBLCLK = $ 0203;
/ / Double-click the left mouse button
WM_RBUTTONDOWN = $ 0204;
// Press the right mouse button
WM_RBUTTONUP = $ 0205;
// Release the right mouse button
WM_RBUTTONDBLCLK = $ 0206;
/ / Double-click the mouse button
WM_MBUTTONDOWN = $ 0207;
// Press the mouse button
WM_MBUTTONUP = $ 0208;
/ / Release the mouse button
WM_MBUTTONDBLCLK = $ 0209;
/ / Double click on the mouse button
WM_MOUSEWHEEL = $ 020A;
Send this message when the mouse wheel is rotated, the current focus control
WM_MouseLaseT = $ 020A;
WM_ParentNotify = $ 0210;
When the MDI sub-window is created or destroyed, or the user presses the mouse button and the cursor will send this message to it on the child window.
Parent window
WM_ENTERMENULOOP = $ 0211;
Send this message to notify the application's main window That has entered the menu loop mode
WM_EXITMENULOOP = $ 0212;
Send this message to notify the application's main window That has exited menu loop mode
WM_NEXTMENU = $ 0213; wm_sizing = 532;
When the user is adjusting the window size, send this message to the window; you can monitor window size and position through this message application.
Set
You can also modify them
WM_CAPTURECHANGED = 533;
Send this message to the window When it lost the captured mouse;
WM_MOVING = 534;
When the user sends this message when the mobile window, you can monitor window sizes and locations through this message application.
You can also modify them;
WM_PowerBroadcast = 536;
This message is sent to the application to inform it about power management events;
WM_DEVICECHANGE = 537;
This message is sent to the application or device driver when the hardware configuration change of the device changes
WM_IME_STARTCOMPSION = $ 010d;
WM_IME_ENDComposition = $ 010e;
WM_IME_COMPSITION = $ 010f;
WM_IME_KEYLAST = $ 010F;
WM_IME_SETCONTEXT = $ 0281;
WM_IME_NOTIFY = $ 0282;
WM_IME_CONTROL = $ 0283;
WM_IME_COMPSITIONFULL = $ 0284;
WM_IME_SELECT = $ 0285;
WM_IME_CHAR = $ 0286;
WM_IME_REQUEST = $ 0288;
WM_IME_KEYDOWN = $ 0290;
WM_IME_KEYUP = $ 0291;
WM_MDicReate = $ 0220;
The application sends this message to a multi-document customer window to create an MDI sub-window
WM_MDIDESTROY = $ 0221;
The application sends this message to the multi-document customer window to close a MDI sub-window
WM_MDIACTIVATE = $ 0222;
The application sends this message to the multi-document customer window to inform the customer window to activate another MDI sub-window, when the customer window
Roger that
After this message, it issues a WM_MDIACTIVE message to activate it to the MDI sub-window (not activated);
WM_MDIRESTORE = $ 0223;
The program sends this message to the MDI customer window to restore the sub-window from the maximum minimization to the original size
WM_MDINEXT = $ 0224;
Program Send this message to the MDI customer window to activate the next or the previous window
WM_MDIMAXIMIZE = $ 0225;
The program sends this message to the MDI client window to maximize an MDI sub-window;
WM_MDITILE = $ 0226;
The program sends this message to the MDI customer window to rearrange all MDI sub-windows
WM_MDICASCADE = $ 0227;
The program sends this message to the MDI customer window to replace all MDI sub-windows in a laminated manner
WM_MDIICONARRANGE = $ 0228;
The program sends this message to rearrange all minimized MDI sub-windows to the MDI client window.
WM_MDIGETACTIVE = $ 0229;
The program sends this message to the MDI client window to find the handle of the activated sub-window
WM_MDisetMenu = $ 0230;
The program sends this message to the MDI customer window instead of the menu of the sub-window
WM_ENTERSIZEMOVE = $ 0231;
WM_EXITSIZEMOVE = $ 0232;
WM_DROPFILES = $ 0233;
WM_MDIREFRESHMENU = $ 0234;
WM_Mousehover = $ 02A1;
WM_MouseLeave = $ 02A3;
WM_CUT = $ 0300;
The program sends this message to an edit box or ComboBox to delete the currently selected text WM_Copy = $ 0301;
The program sends this message to a edit box or ComboBox to copy the currently selected text to the clipboard
WM_PASTE = $ 0302;
Program Send this message to EditControl or ComboBox gets data from the clipboard
WM_CLEAR = $ 0303;
The program sends this message to EDITCONTROL or COMBOBOX to clear the currently selected content;
WM_UNDO = $ 0304;
Program Send this message to EditControl or ComboBox to undo the last operation
WM_RENDERFORMAT = $ 0305;
WM_RENDERLFORMATS = $ 0306;
WM_DESTROYCLIPBOARD = $ 0307;
Send this message to the owner of the clipboard when calling an EnPtyClipboard function
WM_DRAWCLIPBOARD = $ 0308;
This message is sent to the first window of the clipboard to view the chain of the clipboard when the content changes of the clipboard; it allows the window to observe the window
Come
Display new content of the clipboard;
WM_PaintClipboard = $ 0309;
When the clipboard contains data in the CF_OWNERDIPLAY format and the clipboard observed the window of the window needs to be heavy;
WM_VSCROLLLPBOARD = $ 030A;
WM_SIZECLIPBOARD = $ 030B;
When the clipboard contains data in the CF_OWNERDIPLAY format, the size of the client area of the clipboard observed the window has changed.
This message is sent to the owner of the clipboard by the clipboard watch window;
WM_ASKCBFORMATNAME = $ 030c;
Send this message to the owner of the clipboard to request a cf_ownerdisplay format clipboard with a clipboard.
Board name
WM_CHANGECBCHAIN = $ 030D;
This message is sent to the first window of the clipboard when the window is removed from the clipboard observation chain.
WM_HSCROLLLPBOARD = $ 030E;
This message sent to the owner of the clipboard through a clipboard watch window; it occurs when the clipboard is included
CfownerDispaly format data and have an event on the horizontal scroll bar of the clipboard viewing window; owner should scroll
Pack board image and update the value of the scroll bar;
WM_QUERYNEWPALETTE = $ 030F;
This message is sent to the window that will receive the focus. This message enables the window to have the opportunity to achieve his logic at the same time.
Palette
WM_PALETTEISCHANGINGINGINGING = $ 0310;
When an application is to implement its logical palette, this message notifies all applications
WM_PALETTECHANGED = $ 0311;
This message is sent to all top-level and overlapping windows after implementing its logical palette in a focus window.
Hereby
Change the system palette
WM_HOTKEY = $ 0312;
This message is submitted when the user presses the hotkey registered by the RegisterhotKey function.
WM_PRINT = 791;
Application Send this message only when Windows or other applications issues a request to draw one application
section;
WM_PRINTCLIENT = 792;
WM_HANDHELDFIRST = 856;
WM_HANDHELDLAST = 863;
WM_PENWINFIRST = $ 0380;
WM_PENWINLAST = $ 038F;
WM_COALESCE_FIRST = $ 0390;
WM_COALESCE_LAST = $ 039F;
WM_DDE_FIRST = $ 03E0;
WM_DDE_INITIATE = WM_DDE_FIRST 0;
A DDE client submits this message to start a session with the server to respond to the specified program and theme name;
WM_DDE_TERMINATE = WM_DDE_FIRST 1;
A DDE application (whether a customer or server) submits this message to terminate a session;
WM_DDE_ADVISE = WM_DDE_FIRST 2;
A DDE client submits this message to a DDE service program to request the server to update it whenever the data item changes
WM_DDE_UNADVISE = WM_DDE_FIRST 3;
A DDE client notifies a DDE service from this message not to update the specified item or a special clipboard format
Item
WM_DDE_ACK = WM_DDE_FIRST 4;
This message notifies a DDE (Dynamic Data Exchange) program has received and is processing WM_DDE_POKE,
WM_DDE_EXECUTE, WM_DDE_DATA, WM_DDE_ADVISE, WM_DDE_UNADVISE, OR WM_DDE_INITIAT
interest
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.
data item
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;
WM_DDE_POKE = WM_DDE_FIRST 7;
A DDE client submits this message to a DDE service, the customer uses this message to request the server to receive a
Applicable data items; the server passes the WM_DDE_ACK message prompt to receive this data item;
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
As being processed, the server responded by submitting a WM_DDE_ACK message;
WM_DDE_LAST = WM_DDE_FIRST 8;
WM_APP = $ 8000;
WM_USER = $ 0400;
This message helps application custom private messages;
/
Notification Message refers to such a message, some of the child controls in one window.
Love, need to pass
Know the father window. Notification News is only applicable to standard window controls such as buttons, list boxes, combo boxs, edit boxes, and
Windows 95
Commicies such as tree views, list views, etc. For example, click or double-click a control, select some text in the control,
Control
The scroll bar will generate a notification message.
Press
B N _ C L i c k e d // User Click the button
B N _ D I S A B L E // Buttons is disabled
B N _ D O U B L E C L i c k e D // Double-click the button
B N _ h i l i t e // users highlight the button
B N _ PA I n t button should be heavy
B N _ u n h i l i t e highlights should be removed
Combo Box
C B N _ C L O S e u P combination box list box is turned off
C B N _ D B L C L K users double-click a string
The list box of C B N _ D R O P D O W n combination box is pulled out
C B N _ e d I t c h a n g e user modified the text in the edit box
C B N _ e d i t u p D at e Edit box text is about to update
C B N _ E R R S PA C E Combination Box Insufficient
C B N _ K i L L f O c u s combination box lost input focus
C B N_ S E L C H A N G E Selects a C B N _ S E L E N D C A N C E L Users in the Composite Box.
C B N _ S e l e n D O K users' choice is legal
C B N _ S e t f o c u s combination box gets input focus
Edit box
E n _ c h a n g e Edit box text
E n _ e r r s PA C e Edit box memory
E n _ h s c r o l L users Click horizontal scroll bar
E n _ k i l l f o c u s edit box is lost in the input focus
E n _ m a x t e x t inserted inserted
E n _ s e t f o c u s edit box gains input focus
E n _ u pd e Edit box text will be updated
E n _ v s c r o l L users Click on the vertical scroll bar message meaning
List box
L B N _ D B L C L K users double-click one
L B N _ E R R S PA C E list box memory is not enough
L B N _ K i l L f O c u s list box is being lost in the input focus
L B N _ S E L C A N c E L Selection is canceled
L B N _ S E L C H A N g E Choose another
L B N _ S e t f O c u s list box get input focus