"Go" C # rewrite WndProc intercept send system messages + Windows message constant value (1)

Source: Internet
Author: User
C # rewrite WndProc intercept send system message + windows message constant value (1)

 

        #region Intercepting messages
        /// Intercept the message, handle XP cannot shut down
        protected override void WndProc (ref Message message)
        {
            switch (message.Msg)
            {
                case WM_QUERYENDSESSION:
                    isClosed = true;
                    break;
            }
            base.WndProc (ref message);
        }

        #endregion

 

windows message constants:

windows news

A message is a notification from Windows telling an application that something has happened.
For example, clicking the mouse, changing the window size, or pressing a key on the keyboard causes Windows to send a message to the application.
The message itself is passed to the application as a record, and this record contains the message type and other information.
For example, for a message generated by a mouse click, this record contains the coordinates when the mouse was clicked. This record type is called TMsg,
It is declared in the Windows unit like this:

    HWND hwnd; // Target window handle
    UINT message; // message constant identifier
    WPARAM wParam; // specific additional information for 32-bit messages
    LPARAM lParam; // Specific additional information for 32-bit messages
    DWORD time; // Time when message was created
    TPoint pt; // Mouse position when the message was created


    
hwnd 32-bit window handle. A window can be any type of screen object, because Win32 can maintain handles to most visual objects (windows, dialog boxes, buttons, edit boxes, etc.).
message The constant value used to distinguish other messages. These constants can be predefined constants in Windows units, or they can be custom constants.
wParam is usually a constant value associated with a message, and may also be a handle to a window or control.
lParam is usually a pointer to data in memory.

The constant value corresponding to the message is defined in the Windows SDK file winuser.h, such as:

WM_NULL = 0x0000;

WM_CREATE = 0x0001;
Application creates a window

WM_DESTROY = 0x0002;
A window is destroyed

WM_MOVE = 0x0003;
Move a window

WM_SIZE = 0x0005;
Change the size of a window

WM_ACTIVATE = 0x0006;
A window is activated or deactivated;
 
WM_SETFOCUS = 0x0007;
After getting focus

WM_KILLFOCUS = 0x0008;
lose focus

WM_ENABLE = 0x000A;
Change enable state

WM_SETREDRAW = 0x000B;
Sets whether the window can be redrawn

WM_SETTEXT = 0x000C;
The application sends this message to set the text of a window

WM_GETTEXT = 0x000D;
The application sends this message to copy the text of the corresponding window to the buffer
 
WM_GETTEXTLENGTH = 0x000E;
Get the length of the text associated with a window (not including blank characters)

WM_PAINT = 0x000F;
Ask a window to redraw itself

WM_CLOSE = 0x0010;
Send a signal when a window or application is closing

WM_QUERYENDSESSION = 0x0011;
When the user chooses to end the dialog box or the program calls ExitWindows function by itself

WM_QUIT = 0x0012;
Used to end the program or when the program calls the postquitmessage function

WM_QUERYOPEN = 0x0013;
Send this message to an icon when the user window returns to its previous size

WM_ERASEBKGND = 0x0014;
When the window background must be erased (for example, when the window is resized)

WM_SYSCOLORCHANGE = 0x0015;
Send this message to all top-level windows when the system color changes

WM_ENDSESSION = 0x0016;
When a system process issues a WM_QUERYENDSESSION message, this message is sent to the application,

WM_SYSTEMERROR = 0x0017;

WM_SHOWWINDOW = 0x0018;
Send this message to this window when hiding or showing the window

WM_ACTIVATEAPP = 0x001C;
Send this message to the application which window is active and which is inactive;
 
WM_FONTCHANGE = 0x001D;
Send this message to all top-level windows when the system's font repository changes

WM_TIMECHANGE = 0x001E;
Send this message to all top-level windows when the system's time changes

WM_CANCELMODE = 0x001F;
Send this message to cancel some ongoing state (operation)

WM_SETCURSOR = 0x0020;
Send a message to a window if the mouse causes the cursor to move in a window and mouse input is not captured

WM_MOUSEACTIVATE = 0x0021;
Send this message to the current window when the cursor is in an inactive window and the user is pressing a mouse button

WM_CHILDACTIVATE = 0x0022;
Send this message to the MDI child window when the user clicks the title bar of this window, or when the window is activated, moved, resized

WM_QUEUESYNC = 0x0023;
This message is sent by a computer-based training program via the hook program of WH_JOURNALPALYBACK

WM_GETMINMAXINFO = 0x0024;
This message is sent to the window when it is about to change size or position;

WM_PAINTICON = 0x0026;
Send to minimized window when its icon is about to be redrawn

WM_ICONERASEBKGND = 0x0027;
This message is sent to a minimized window, and its background must be repainted only before it draws the icon

WM_NEXTDLGCTL = 0x0028;
Send this message to a dialog program to change the focus position

WM_SPOOLERSTATUS = 0x002A;
This message is issued whenever the print management queue increases or decreases a job

WM_DRAWITEM = 0x002B;
Send this message to the owner of these blanks when the visual appearance of button, combobox, listbox, menu changes

WM_MEASUREITEM = 0x002C;
Send this message to the owner of the button, combo box, list box, list view control, or menu item when it is created

WM_DELETEITEM = 0x002D;
When the list box or combo box is destroyed or when certain items are deleted via LB_DELETESTRING, LB_RESETCONTENT, CB_DELETESTRING, or CB_RESETCONTENT message

WM_VKEYTOITEM = 0x002E;
This message has an LBS_WANTKEYBOARDINPUT style sent to its owner in response to the WM_KEYDOWN message

WM_CHARTOITEM = 0x002F;
This message was sent to his owner by an LBS_WANTKEYBOARDINPUT style list box in response to the WM_CHAR message

WM_SETFONT = 0x0030;
The program sends this message when drawing text to get the color used by the control

WM_GETFONT = 0x0031;
The application sends this message to get the font of the text drawn by the current control

WM_SETHOTKEY = 0x0032;
The application sends this message to associate a window with a hotkey

WM_GETHOTKEY = 0x0033;
The application sends this message to determine if the hotkey is associated with a window

WM_QUERYDRAGICON = 0x0037;
This message is sent to the minimized window. When the window is about to be dragged and its icon is not defined in the class, the application can return an icon or cursor handle. The system displays the icon or cursor when the user drags and drops the icon.

WM_COMPAREITEM = 0x0039;
Send this message to determine the relative position of newly added items in combobox or listbox

WM_GETOBJECT = 0x003D;
WM_COMPACTING = 0x0041;
Display memory is low

WM_WINDOWPOSCHANGING = 0x0046;
Send this message to the window when the size and position of the window is about to be changed, call the setwindowpos function or other window management functions

WM_WINDOWPOSCHANGED = 0x0047;
Send this message to the window when the size and position of the window has been changed, call the setwindowpos function or other window management functions

WM_POWER = 0x0048; (for 16-bit windows)
This message is sent when the system is about to enter a suspended state

WM_COPYDATA = 0x004A;
This message is sent when one application passes data to another

WM_CANCELJOURNAL = 0x004B;
When a user cancels the program log activation status, submit this message to the program

WM_NOTIFY = 0x004E;
Send a message to its parent window when an event of a control has occurred or this control needs some information

WM_INPUTLANGCHANGEREQUEST = 0x0050;
When the user selects a certain input language, or the hotkey of the input language changes

WM_INPUTLANGCHANGE = 0x0051;
Send this message to the topmost affected window when the platform site has been changed

WM_TCARD = 0x0052;
Send this message to the application when the program has initialized the windows helper routine

WM_HELP = 0x0053;
This message shows that the user has pressed F1. If a menu is active, send this message to the menu associated with this window, otherwise it will
Send to the window with focus, if there is no focus currently, send this message to the currently active window

WM_USERCHANGED = 0x0054;
This message is sent to all windows when the user has logged in or logged out, and the system updates the user's details when the user logs in or logs out
Setting information, the system will send this message immediately when the user updates the setting;

WM_NOTIFYFORMAT = 0x0055;
Common control, custom control and their parent window use this message to determine whether the control uses ANSI or UNICODE structure
In the WM_NOTIFY message, using this control enables a control to communicate with its parent control

WM_CONTEXTMENU = 0x007B;
When the user right-clicks in a window, this message is sent to this window
 
WM_STYLECHANGING = 0x007C;
Send this message to the window when calling the SETWINDOWLONG function to change the style of one or more windows

WM_STYLECHANGED = 0x007D;
Send this message to one or more window styles after calling the SETWINDOWLONG function

WM_DISPLAYCHANGE = 0x007E;
Send this message to all windows when the resolution of the display changes

WM_GETICON = 0x007F;
This message is sent to a window to return a handle to a large or small icon associated with a window;

WM_SETICON = 0x0080;
The program sends this message to associate a new large icon or small icon with a window;

WM_NCCREATE = 0x0081;
When a window is created for the first time, this message is sent before the WM_CREATE message is sent;

WM_NCDESTROY = 0x0082;
This message notifies a window that the non-client area is being destroyed

WM_NCCALCSIZE = 0x0083;
This message is sent when the client area of a window must be accounted for

WM_NCHITTEST = 0x0084;
Occurs when the mouse is moved, held or released

WM_NCPAINT = 0x0085;
The program sends this message to a window when its (window) frame must When it must be drawn;
 
WM_NCACTIVATE = 0x0086;
This message is sent to a window only if its non-client area needs to be changed to show whether it is active or inactive;

WM_GETDLGCODE = 0x0087;
Send this message to a control associated with the dialog program. The widows control position key and TAB key make the input enter this control.
By responding to the WM_GETDLGCODE message, the application can treat it as a special input control and can process it

WM_NCMOUSEMOVE = 0x00A0;
Send this message to the window when the cursor moves in the non-client area of a window. The non-client area is the title bar of the window and the frame of the window.

WM_NCLBUTTONDOWN = 0x00A1;
Submit this message when the cursor is in the non-client area of a window while the left mouse button is pressed

WM_NCLBUTTONUP = 0x00A2;
Send this message when the user releases the left mouse button while the cursor is in a window in a non-client area;

WM_NCLBUTTONDBLCLK = 0x00A3;
Send this message when the user double-clicks the left mouse button while the cursor is in a window in the non-client area

WM_NCRBUTTONDOWN = 0x00A4;
This message is sent when the user presses the right mouse button while the cursor is in the non-client area of the window

WM_NCRBUTTONUP = 0x00A5;
This message is sent when the user releases the right mouse button while the cursor is in the non-client area of the window

WM_NCRBUTTONDBLCLK = 0x00A6;
Send this message when the user double-clicks the right mouse button while the cursor is in a window in the non-client area

WM_NCMBUTTONDOWN = 0x00A7;
This message is sent when the user presses the middle mouse button while the cursor is in the non-client area of the window

WM_NCMBUTTONUP = 0x00A8;
This message is sent when the user releases the middle mouse button while the cursor is in the non-client area of the window

WM_NCMBUTTONDBLCLK = 0x00A9;
This message is sent when the user double-clicks the middle mouse button while the cursor is in the non-client area of the window

WM_KEYFIRST = 0x0100;
WM_KEYDOWN = 0x0100;
// press a key

WM_KEYUP = 0x0101;
// Release a key

WM_CHAR = 0x0102;
// Press a key, and WM_KEYDOWN, WM_KEYUP messages have been issued

WM_DEADCHAR = 0x0103;
Send this message to the window with focus when translating WM_KEYUP message with translatemessage function

WM_SYSKEYDOWN = 0x0104;
Submit this message to the window that has focus when the user holds the ALT key while pressing other keys;

WM_SYSKEYUP = 0x0105;
Submit this message to the window that has focus when the user releases a key while the ALT key is still pressed

WM_SYSCHAR = 0x0106;
When WM_SYSKEYDOWN message is translated by TRANSLATEMESSAGE function, submit this message to the window that has focus

WM_SYSDEADCHAR = 0x0107;
When the WM_SYSKEYDOWN message is translated by the TRANSLATEMESSAGE function, this message is sent to the window that has focus

WM_KEYLAST = 0x0108;
WM_INITDIALOG = 0x0110;
Send this message to a dialog program before it is displayed. This message is usually used to initialize controls and perform other tasks.

WM_COMMAND = 0x0111;
When the user selects a menu command item or when a control sends a message to its parent window, a shortcut is translated

WM_SYSCOMMAND = 0x0112;
The window receives this message when the user selects a command from the window menu or when the user selects maximize or minimize

WM_TIMER = 0x0113; // A timer event has occurred
WM_HSCROLL = 0x0114;
Send this message to a window when a window's standard horizontal scroll bar generates a scroll event, and also to the control that owns it

WM_VSCROLL = 0x0115;
Send this message to a window when a standard vertical scroll bar of the window generates a scroll event, and to the control that owns it

WM_INITMENU = 0x0116;
This message is sent when a menu is about to be activated. It occurs on an item in the user menu bar or when a menu key is pressed. It allows the program to change the menu before displaying it

WM_INITMENUPOPUP = 0x0117;
This message is sent when a drop-down menu or submenu is about to be activated, it allows the program to change the menu before it is displayed without changing all

WM_MENUSELECT = 0x011F;
Send this message to the owner of the menu (usually a window) when the user selects a menu item

WM_MENUCHAR = 0x0120;
When the menu has been activated, the user presses a key (different from the accelerator key), and sends this message to the owner of the menu;

WM_ENTERIDLE = 0x0121;
Send this message to its owner when a modal dialog or menu enters the no-load state. A modal dialog or menu enters the no-load state is to queue it without a message after processing one or several previous messages. Waiting

WM_MENURBUTTONUP = 0x0122;
WM_MENUDRAG = 0x0123;
WM_MENUGETOBJECT = 0x0124;
WM_UNINITMENUPOPUP = 0x0125;
WM_MENUCOMMAND = 0x0126;
WM_CHANGEUISTATE = 0x0127;
WM_UPDATEUISTATE = 0x0128;
WM_QUERYUISTATE = 0x0129;
WM_CTLCOLORMSGBOX = 0x0132;
Send this message to the owner window of the message box before windows draw the message box. In response to this message, the owner window can set the text and background color of the message box by using the handle of the relevant display device

WM_CTLCOLOREDIT = 0x0133;
Send this message to its parent window when an edit control is about to be drawn; by responding to this message, the owner window can set the text and background color of the edit box by using the handle of the relevant display device given

WM_CTLCOLORLISTBOX = 0x0134;
Send this message to its parent window before a list box control is about to be 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 the relevant display device given

WM_CTLCOLORBTN = 0x0135;
Send this message to its parent window when a button control is about to be drawn; in response to this message, the owner window can set the button's text and background color by using the handle of the given related display device

WM_CTLCOLORDLG = 0x0136;
Send this message to its parent window before a dialog control is about to be drawn; by responding to this message, the owner window can set the dialog's text background color by using the handle of the given display device

WM_CTLCOLORSCROLLBAR = 0x0137;
Send this message to its parent window when a scroll bar control is about to be drawn; in response to this message, the owner window can set the background color of the scroll bar by using the handle of the relevant display device given

WM_CTLCOLORSTATIC = 0x0138;
Send this message to its parent window when a static control is about to be drawn; by responding to this message, the owner window can set the text and background color of the static control by using the handle of the given relevant display device

WM_MOUSEFIRST = 0x0200;

WM_MOUSEMOVE = 0x0200;
// move the mouse
WM_LBUTTONDOWN = 0x0201;
// press the left mouse button

WM_LBUTTONUP = 0x0202;
// release the left mouse button

WM_LBUTTONDBLCLK = 0x0203;
// Double-click the left mouse button

WM_RBUTTONDOWN = 0x0204;
// right click

WM_RBUTTONUP = 0x0205;
// release the right mouse button

WM_RBUTTONDBLCLK = 0x0206;
// Double-click the right mouse button

WM_MBUTTONDOWN = 0x0207;
// press the middle mouse button

WM_MBUTTONUP = 0x0208;
// Release the middle mouse button

WM_MBUTTONDBLCLK = 0x0209;
// Double-click the middle mouse button
 
WM_MOUSEWHEEL = 0x020A;
Send this message when the mouse wheel rotates

WM_MOUSELAST = 0x020A;
WM_PARENTNOTIFY = 0x0210;
Send this message to its parent window when the MDI child window is created or destroyed, or the user presses the mouse button while the cursor is over the child window

WM_ENTERMENULOOP = 0x0211;
Send this message to notify the main window of the application that the menu loop mode has been entered

WM_EXITMENULOOP = 0x0212;
Send this message to notify the application's main window that the menu loop mode has been exited

WM_NEXTMENU = 0x0213;
WM_SIZING = 532;
Send this message to the window when the user is resizing it; this message allows the application to monitor the size and position of the window and modify them

WM_CAPTURECHANGED = 533;
Send this message to the window when it loses the captured mouse;

WM_MOVING = 534;
This message is sent when the user is moving the window, through which the application can monitor the window size and position and modify them;

WM_POWERBROADCAST = 536;
This message is sent to the application to notify it about power management events;

WM_DEVICECHANGE = 537;
Send this message to the application or device driver when the device's hardware configuration changes

WM_IME_STARTCOMPOSITION = 0x010D;
WM_IME_ENDCOMPOSITION = 0x010E;
WM_IME_COMPOSITION = 0x010F;
WM_IME_KEYLAST = 0x010F;
WM_IME_SETCONTEXT = 0x0281;
WM_IME_NOTIFY = 0x0282;
WM_IME_CONTROL = 0x0283;
WM_IME_COMPOSITIONFULL = 0x0284;
WM_IME_SELECT = 0x0285;
WM_IME_CHAR = 0x0286;
WM_IME_REQUEST = 0x0288;
WM_IME_KEYDOWN = 0x0290;
WM_IME_KEYUP = 0x0291;
WM_MDICREATE = 0x0220;
The application sends this message to the multi-document client window to create an MDI child window

WM_MDIDESTROY = 0x0221;
The application sends this message to a multi-document client window to close an MDI child window

WM_MDIACTIVATE = 0x0222;
The application sends this message to the multi-document client window to notify the client window to activate another MDI child window. When the client window receives this message, it sends a WM_MDIACTIVE message to the MDI child window (inactive) to activate it;

WM_MDIRESTORE = 0x0223;
The program sends this message to the MDI client window to restore the child window from the maximum minimized to the original size

WM_MDINEXT = 0x0224;
The program sends this message to the MDI client window to activate the next or previous window

WM_MDIMAXIMIZE = 0x0225;
The program sends this message to the MDI client window to maximize an MDI child window;

WM_MDITILE = 0x0226;
The program sends this message to the MDI client window to rearrange all MDI child windows in a tiled manner

WM_MDICASCADE = 0x0227;
The program sends this message to the MDI client window to rearrange all MDI child windows in a cascaded manner

WM_MDIICONARRANGE = 0x0228;
The program sends this message to the MDI client window to rearrange all minimized MDI child windows

WM_MDIGETACTIVE = 0x0229;
The program sends this message to the MDI client window to find the handle of the active child window

WM_MDISETMENU = 0x0230;
The program sends this message to the MDI client window and replaces the menu of the child window with the MDI menu

WM_ENTERSIZEMOVE = 0x0231;
WM_EXITSIZEMOVE = 0x0232;
WM_DROPFILES = 0x0233;
WM_MDIREFRESHMENU = 0x0234;
WM_MOUSEHOVER = 0x02A1;
WM_MOUSELEAVE = 0x02A3;
WM_CUT = 0x0300;
The program sends this message to an edit box or combobox to delete the currently selected text

WM_COPY = 0x0301;
The program sends this message to an edit box or combobox to copy the currently selected text to the clipboard

WM_PASTE = 0x0302;
The program sends this message to editcontrol or combobox to get data from the clipboard

WM_CLEAR = 0x0303;
The program sends this message to editcontrol or combobox to clear the currently selected content

WM_UNDO = 0x0304;
The program sends this message to editcontrol or combobox to undo the last operation
WM_RENDERFORMAT = 0x0305;

WM_RENDERALLFORMATS = 0x0306;
WM_DESTROYCLIPBOARD = 0x0307;
When calling ENPTYCLIPBOARD function send this message to the owner of the clipboard

WM_DRAWCLIPBOARD = 0x0308;
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 be used to
Display the new contents of the clipboard;

WM_PAINTCLIPBOARD = 0x0309;
When the clipboard contains data in the CF_OWNERDIPLAY format and the client area of the clipboard observation window needs to be redrawn;

WM_VSCROLLCLIPBOARD = 0x030A;
WM_SIZECLIPBOARD = 0x030B;
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 is sent to the owner of the clipboard through the clipboard observation window;
 
WM_ASKCBFORMATNAME = 0x030C;
Send this message to the owner of the clipboard through the clipboard watch window to request a clipboard name in the CF_OWNERDISPLAY format

WM_CHANGECBCHAIN = 0x030D;
Send this message to the first window of the clipboard observation chain when a window is removed from the clipboard observation chain;

WM_HSCROLLCLIPBOARD = 0x030E;
This message is sent to the owner of the clipboard through a clipboard viewing window; it occurs when the clipboard contains data in CFOWNERDISPALY format and there is 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 = 0x030F;
This message is sent to the window that will receive focus. This message can give the window the opportunity to implement his logical palette at the same time when it receives focus

WM_PALETTEISCHANGING = 0x0310;
Send this message to notify all applications when an application is about to implement its logical palette

WM_PALETTECHANGED = 0x0311;
This message changes the system palette after a window with focus has implemented its logical palette to all top-level and overlapping windows

WM_HOTKEY = 0x0312;
This message is submitted when the user presses the hotkey registered by the REGISTERHOTKEY function

WM_PRINT = 791;
The application sends this message only when Windows or other applications make a request to draw a part of an application;

WM_PRINTCLIENT = 792;
WM_HANDHELDFIRST = 856;
WM_HANDHELDLAST = 863;
WM_PENWINFIRST = 0x0380;
WM_PENWINLAST = 0x038F;
WM_COALESCE_FIRST = 0x0390;
WM_COALESCE_LAST = 0x039F;
WM_DDE_FIRST = 0x03E0;
WM_DDE_INITIATE = WM_DDE_FIRST + 0;
A DDE client submits this message to start a session with the server program in response to the specified program and topic name;

WM_DDE_TERMINATE = WM_DDE_FIRST + 1;
A DDE application (either client 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 server to request that the server update it whenever a data item changes

WM_DDE_UNADVISE = WM_DDE_FIRST + 3;
A DDE client informs a DDE server not to update the specified item or a special clipboard-formatted item through this message.

WM_DDE_ACK = WM_DDE_FIRST + 4;
This message informs a DDE (Dynamic Data Exchange) program that it has received and is processing WM_DDE_POKE, WM_DDE_EXECUTE, WM_DDE_DATA, WM_DDE_ADVISE, WM_DDE_UNADVISE, or WM_DDE_INITIAT messages

WM_DDE_DATA = WM_DDE_FIRST + 5;
A DDE server submits this message to the DDE client to pass a data item to the client or notify the client of an available data item

WM_DDE_REQUEST = WM_DDE_FIRST + 6;
A DDE client submits this message to a DDE server to request the value of a data item;

WM_DDE_POKE = WM_DDE_FIRST + 7;
A DDE client program submits this message to a DDE service program. The client uses this message to request the server to receive an unauthorized data item; the server prompts whether it receives this data item by replying to the WM_DDE_ACK message;
 
WM_DDE_EXECUTE = WM_DDE_FIRST + 8;
A DDE client submits this message to a DDE server to send a string to the server for processing as a serial command. The server responds by submitting a WM_DDE_ACK message;
 
WM_DDE_LAST = WM_DDE_FIRST + 8;
WM_APP = 0x8000;
WM_USER = 0x0400;
This message can help applications customize private messages;

 

A notification message refers to a message in which something happens to a child control in a window.
The parent window needs to be notified. The notification message only applies to standard window controls such as buttons, list boxes, combo boxes, and edit boxes.
And Windows 95 common controls such as tree view, list view and so on.
For example, clicking or double-clicking a control, selecting part of the text in the control, or manipulating the scroll bar of the control will generate a notification message.
Button
B N _ C L I C K E D // The user clicked the button
B N _ D I S A B L E // button is disabled
B N _ D O U B L E C L I C K E D // The user double-clicked the button
B N _ H I L I T E // The user highlighted the button
B N _ PA I N T button should be redrawn
B N _ U N H I L I T E highlighting should be removed
Combo Box
C B N _ C L O S E U P combo box list box is closed
C B N _ D B L C L K The user double-clicked on a string
C B N _ D R O P D O W N
C B N _ E D I T C H A N G E The user modified the text in the edit box
C B N _ E D I T U P D AT E The text in the edit box is about to be updated
C B N _ E R R S PA C E Combo box is out of memory
C B N _ K I L L F O C U S combo box loses input focus
C B N _ S E L C H A N G E selected an item in the combo box
C B N _ S E L E N D C A N C E L
C B N _ S E L E N D O K The user's choice is legal
C B N _ S E T F O C U S combo box gets input focus
Edit box
E N _ C H A N G E The text in the edit box has been updated
E N _ E R R S PA C E Edit box is out of memory
E N _ H S C R O L L The user clicked the horizontal scroll bar
E N _ K I L L F O C U S edit box is losing input focus
E N _ M A X T E X T Inserted content is truncated
E N _ S E T F O C U S edit box gets input focus
E N _ U P D AT E The text in the edit box is about to be updated
E N _ V S C R O L L User clicked vertical scroll bar Message Meaning
List box
L B N _ D B L C L K The user double-clicked an item
L B N _ E R R S PA C E The list box has insufficient memory.
L B N _ K I L L F O C U S list box is losing input focus
L B N _ S E L C A N C E L
L B N _ S E L C H A N G E
L B N _ S E T F O C U S list box gets input focus


Related Article

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.