Send () function about data:
Message # an unsignedinteger whose value is the system message number number of the message you want to send
The Message # of this is the WM_Command upstairs, and its definition can be found from Windows.h in Microsoft's SDK.
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 when the mouse input is not captured, send a message to a window WM_MOUSEAACTIVATE = $ 0021;
When the cursor is in a non-activated window, 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 minimization window, only when it is drawing the background, it must be heavy
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 through 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 the handle of an icon or cursor, when the user drags and drop icons, the system displays this icon or cursor.
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 the size and location of the window will be changed to call the SETWINDOWPOS function or other window management functions WM_WindowPosChanged = 0047;
Send this message to call the SETWINDOWPOS function or other window management functions when the size and location of the window have been changed.
WM_POWER = $ 0048; (for 16-bit Windows)
This message will be sent when the system will enter the pause state
WM_COPYDATA = $ 004A;
When an application passes the information, it is sent 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 or if this control needs to get some information, send this message to its parent window.
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;
This message is sent 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, otherwise
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 windows, and the system updates the user's specific user when the user logs in or exits.
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;
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) must be 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, Windows control orientation key, and Tab keys enters 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 is moving in a window's non-customer zone, the end: // Non-Customer area is: the edge of the form of the window and the side frame of the window
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 cursor is sent to the non-client zone ten.
WM_ncrbuttondown = $ 00A4;
When the user presses the mouse button, the cursor is sent to the window in the non-client district of the window.
WM_NCRBUTTONUP = $ 00A5;
When the user releases the mouse button, the cursor is sent to this message when the cursor is in the non-client district of the window.
WM_ncrbuttondblClk = $ 00A6;
When the user doubles the mouse button, the cursor is sent to the non-client zone ten.
WM_NCMBUTTONDOWN = $ 00A7;
When the user presses the mouse button while the cursor is sent to this message when the window is in the non-client district
WM_NCMBUTTONUP = $ 00A8;
When the user releases the mouse button while the cursor is sent this message when the cursor is in the non-client district of the window.
WM_NCMBUTTONDBLCLK = $ 00A9;
When the user double-click 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;
WM_MouseFirst = $ 0200;
WM_MOUSEMOVE = $ 0200;
// Move mouse
WM_LBUTTONDOWN = $ 0201;
File: // Press / Lower Rat
WM_LBUTTONUP = $ 0202;
File: // Release / Rattan left mouse
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 the customer window of a multiplicer file to create an MDI sub-window
WM_MDIDESTROY = $ 0221;
The application sends this message to the multiplicer's customer window to close a MDI sub-window
WM_MDIACTIVATE = $ 0222;
The application sends this message to the customer window of the multiplayer window to activate another MDI sub-window, when the customer window receives
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 get information 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;
When the content changes of the clipboard, this message is sent to the first window of the clipboard to observe the chain; it allows the window to observe the window
Display new content of the clipboard;
WM_PaintClipboard = $ 0309; when the clipboard contains information on the CF_OWNERDIPLAY format and the clipboard observing the client area needs to be redrawn;
WM_VSCROLLLPBOARD = $ 030A;
WM_SIZECLIPBOARD = $ 030B;
When the clipboard contains information in the CF_OWNERDIPLAY format and the size of the clipboard observation window has changed, this message is sent to the owner of the clipboard by the clipboard observation window;
WM_ASKCBFORMATNAME = $ 030c;
Send this message to the owner of the clipboard to request a clipboard name of the clipboard with the owner of the clipboard through the clipboard observation window.
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 is sent to the owner of the clipboard through a clipboard watch window; it occurs when the clipboard contains information 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;
WM_MouseFirst = $ 0200;
WM_MOUSEMOVE = $ 0200;
// Move mouse
WM_LBUTTONDOWN = $ 0201;
File: // Press / Lower Rat
WM_LBUTTONUP = $ 0202;
File: // Release / Rattan left mouse
WM_LBUTTONDBLCLK = $ 0203;
File: // Double / Mouse left mouse
WM_RBUTTONDOWN = $ 0204;
File: // Press / under the mouse button
WM_RBUTTONUP = $ 0205;
File: // Release / Rogue
WM_RBUTTONDBLCLK = $ 0206;
File: // Double / Mouse button
WM_MBUTTONDOWN = $ 0207;
File: // Press / down the mouse button
WM_MBUTTONUP = $ 0208;
File: // Release / Ram
WM_MBUTTONDBLCLK = $ 0209;
FILE: / / Double / 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 its parent window on the child 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 to the window; you can monitor window size and location through this message application
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 the customer window of a multiplicer file to create an MDI sub-window
WM_MDIDESTROY = $ 0221;
The application sends this message to the multiplicer's customer window to close a MDI sub-window
WM_MDIACTIVATE = $ 0222;
The application sends this message to the customer window of the multiplayer window to activate another MDI sub-window, when the customer window receives
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 get information 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;
When the content changes of the clipboard, this message is sent to the first window of the clipboard to observe the chain; it allows the window to observe the window
Display new content of the clipboard;
WM_PaintClipboard = $ 0309;
When the clipboard contains information on the CF_OWNERDIPLAY format and the clipboard observed the window of the window needs to be redrawn;
WM_VSCROLLLPBOARD = $ 030A;
WM_SIZECLIPBOARD = $ 030B;
When the clipboard contains information in the CF_OWNERDIPLAY format and the size of the clipboard observation window has changed, this message is sent to the owner of the clipboard by the clipboard observation window;
WM_ASKCBFORMATNAME = $ 030c;
Send this message to the owner of the clipboard to request a clipboard name of the clipboard with the owner of the clipboard through the clipboard observation window.
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 is sent to the owner of the clipboard through a clipboard watch window; it occurs when the clipboard contains information 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;
WM_QUERYNEWPALETTE = $ 030F;
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.
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 on a focus window.
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 is only part of the application only when Windows or other applications issues a request request;
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 of 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 that does not update the specified item or a special clipboard format.
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 message
WM_DDE_DATA = WM_DDE_FIRST 5;
A DDE service program submits this message to the DDE client to deliver a data item to the customer or notify the customer.
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 program, the customer uses this message to request the server to receive an unadcoming data item; the server passes whether the WM_DDE_ACK message prompts whether it receives 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 a serial command, and the server responds by submitting the WM_DDE_ACK message;
WM_DDE_LAST = WM_DDE_FIRST 8;
WM_APP = $ 8000;
WM_USER = $ 0400;
This message helps application custom private messages;
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 is only part of the application only when Windows or other applications issues a request request;
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 that does not update the specified item or a special clipboard format.
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 message
WM_DDE_DATA = WM_DDE_FIRST 5;
A DDE service program submits this message to the DDE client to deliver a data item to the customer or notify the customer.
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 program, the customer uses this message to request the server to receive an unadcoming data item; the server passes whether the WM_DDE_ACK message prompts whether it receives 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 a serial command, and the server responds by submitting the 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, need to pass
Know the father window. Notification News is only available for standard window controls such as buttons, list boxes, combo boxs, edit boxes, and Windows 95 public
Commicies such as tree views, list views, etc. For example, click or double-click a control, select some text, operate controls in the control
The scroll bar will generate a notification message.
Press
B N _ C L i c k e d file: // Click the button with /
B N _ D I S A B L E File: // Press / button to be banned
B N _ D O U B L E C L i c k E D File: // Double-click the button with /
B N _ h i l i t e file: // use / house tighten 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 frame lost input focus C B N _ S E L C H A N g e selected one item in the combo box
C B N _ S e l e n d c a n c e l user selection should be canceled
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
The message means a notification issued by Wi N D O W S to tell the application something happens. For example, click on the mouse, change
Window size, pressing a key on the keyboard to send Wi N D O W S to an application.
The message itself is passed to the application as a record, and this record contains the type of message and other information. E.g,
For messages generated by clicking on the mouse, this record contains the coordinates when clicking the mouse. This record type is called T M s G, it
This declares in the Wi N D O W S unit:
T y p e
TMSG = Packed Record
HWnd: hwnd; / / window handle
Message: UINT; / / message constant identifier
WPARAM: Specific additional information for WPA R A m // 32-bit message
LPARAM: Specific additional information for LPA R a m // 32-bit message
Time: DWORD; / / message is created
PT: TPOINT; / / Message Mouse Location
e n d
What is there in the news?
Do you feel that the information in a message record is like Greek? If so, then take a look at the explanation below:
HWND 32-bit window handle. The window can be any type of screen object because Win32 can maintain most
The handle of the object (window, dialog, buttons, edit box, etc.).
Message is used to distinguish constant values for other messages, which may be predefined in the Windows unit,
Can be a custom constant.
WPARAM is usually a constant value related to messages or a handle of a window or control.
LParam is usually a pointer to the memory in memory. Since W p A r a m, L P A R A M and P O i n t E r are 3 2 bits,
Therefore, they can be converted between them.
Familiar with Windows programming knows that Windows's API provides a large number of messages for programmers, with more than 200. In PowerBuilder, the system passes each Windows message to programmatic processing, and provides default processing for most common events.
PowerBuilder sets some common events for each standard control in the statement depictors, and the general programmers can basically complete common operations based on these events. If we need to intercept Windows messages, we can add a new event in "Declare | UseRevent ..." of the Statement Drawing Menu and point out the Windows message you want. The message of the Windows API is typically start with the identity of two to three characters, which indicates the source or object of the message.