C int WM_KILLFOCUS = 0x08;
// A window changes to the Enable state.
Public static int WM_ENABLE = 0x0A;
// Set whether the window can be re-painted
Public static int WM_SETREDRAW = 0x0B;
// The application sends this message to set the text of a window
Public static int WM_SETTEXT = 0x0C;
// The application sends this message to copy the text of the corresponding window to the buffer zone.
Public static int WM_GETTEXT = 0x0D;
// Obtain the length of the text related to a window (excluding empty characters)
Public static int WM_GETTEXTLENGTH = 0x0E;
// Ask a window to redraw itself
Public static int WM_PAINT = 0x0F;
// Send a signal when a window or application is closed
Public static int WM_CLOSE = 0x10;
// When the user selects the end dialog box or the program calls the ExitWindows Function
Public static int WM_QUERYENDSESSION = 0x11;
// Used to end the program running
Public static int WM_QUIT = 0x12;
// Send the message to an icon when the user window recovers the previous size position.
Public static int WM_QUERYOPEN = 0x13;
// When the window background must be erased (for example, when the window size changes)
Public static int WM_ERASEBKGND = 0x14;
// Send this message to all top-level windows when the system color changes
Public static int WM_SYSCOLORCHANGE = 0x15;
// When the system process sends the WM_QUERYENDSESSION message, the message is sent to the application to notify the application of whether the conversation ends.
Public static int WM_ENDSESSION = 0x16;
// Send this message to the hidden or displayed window
Public static int WM_SHOWWINDOW = 0x18;
// Send this message to the application. Which window is activated and which is not activated?
Public static int WM_ACTIVATEAPP = 0x1C;
// Send this message to all top-level windows when the font resource library of the system changes
Public static int WM_FONTCHANGE = 0x1D;
// Send this message to all top-level windows when the system time changes
Public static int WM_TIMECHANGE = 0x1E;
// Send this message to cancel an ongoing touch (Operation)
Public static int WM_CANCELMODE = 0x1F;
// If the mouse causes the cursor to move in a window and the mouse input is not captured, a message is sent to a window.
Public static int WM_SETCURSOR = 0x20;
// When the cursor is in an inactive window and the user is pressing the mouse key to send this message to the current window
Public static int WM_MOUSEACTIVATE = 0x21;
// Send this message to the MDI subwindow // when the user clicks the title bar of this window, or // when the window is activated, moved, and changed
Public static int WM_CHILDACTIVATE = 0x22;
// This message is sent by a computer-based training program. The user input message is separated by the WH_JOURNALPALYBACK hook program.
Public static int WM_QUEUESYNC = 0x23;
// This message is sent to the window when it is about to change the size or position
Public static int WM_GETMINMAXINFO = 0x24;
// Send it to the minimized window when its icon is to be repainted
Public static int WM_PAINTICON = 0x26;
// This message is sent to a minimal window, only // The background must be repainted before it is painted.
Public static int WM_ICONERASEBKGND = 0x27;
// Send this message to a dialog box program to change the focus position
Public static int WM_NEXTDLGCTL = 0x28;
// Send this message whenever a job is added or removed in the print management queue
Public static int WM_SPOOLERSTATUS = 0x2A;
// Send a message when the visual appearance of button, combobox, listbox, and menu changes
Public static int WM_DRAWITEM = 0x2B;
// When button, combo box, list box, list view control, or menu item is created
Public static int WM_MEASUREITEM = 0x2C;
// This message has an LBS_WANTKEYBOARDINPUT style that is sent to its owner to respond to the WM_KEYDOWN message.
Public static int WM_VKEYTOITEM = 0x2E;
// This message is sent to its owner by a list box in the LBS_WANTKEYBOARDINPUT style to respond to the WM_CHAR message.
Public static int WM_CHARTOITEM = 0x2F;
// When drawing text, the program sends this message to obtain the color used by the Control
Public static int WM_SETFONT = 0x30;
// The application sends this message to obtain the font of the text drawn by the current control.
Public static int WM_GETFONT = 0x31;
// The application sends this message to connect a window to a hotkey.
Public static int WM_SETHOTKEY = 0x32;
// The application sends this message to determine whether the hotkey is associated with a window.
Public static int WM_GETHOTKEY = 0x33;
// The message is sent to the minimal window. When the window is to be dragged and its class does not have a defined icon, the application can return an icon or a cursor handle, this icon or cursor is displayed when you drag and drop an icon.
Public static int WM_QUERYDRAGICON = 0x37;
// Send this message to determine the relative position of the newly added items in combobox or listbox
Public static int WM_COMPAREITEM = 0x39;
// The Display memory is very small.
Public static int WM_COMPACTING = 0x41;
// When the size and position of the window to which the message is sent are about to be changed, call the setwindowpos function or other window management functions.
Public static int WM_WINDOWPOSCHANGING = 0x46;
// Call the setwindowpos function or other window management functions when the size and position of the window to which the message is sent have been changed.
Public static int WM_WINDOWPOSCHANGED = 0x47;
// Send this message when the system is about to pause
Public static int WM_POWER = 0x48;
// Send this message when one application transmits data to another application
Public static int WM_COPYDATA = 0x4A;
// When a user cancels the activation status of the program log, submit the message to the program
Public static int WM_CANCELJOURNA = 0x4B;
// When an event of a control has occurred or the control needs to obtain some information, send the message to its parent window
Public static int WM_NOTIFY = 0x4E;
// When the user selects an input language or the hotkey of the input language changes
Public static int WM_INPUTLANGCHANGEREQUEST = 0x50;
// Send this message to the affected top-level window when the platform site has been changed
Public static int WM_INPUTLANGCHANGE = 0x51;
// Send this message to the application when the program has initialized the windows Help routine
Public static int WM_TCARD = 0x52;
// The message indicates that the user presses F1. If a menu is activated, the user sends the message to the menu associated with the window; otherwise, the message is sent to the window with focus, if no focus exists at the moment, send the message to the // currently activated window.
Public static int WM_HELP = 0x53;
// Send this message to all windows after the user has logged on or exited. // The system updates the user's specific settings when the user logs on or exits, the system sends this message immediately when the user updates the settings.
& N