[This is preliminary documentation and is subject to change.]
Window messages
Namespace: Tools.API.MessagesAssembly: Tools.Win (in Tools.Win.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public enum WindowMessages |
| Visual Basic |
|---|
Public Enumeration WindowMessages |
| Visual C++ |
|---|
public enum class WindowMessages |
| F# |
|---|
type WindowMessages |
| JScript |
|---|
public enum WindowMessages |
Members
| Member name | Value | Description | |
|---|---|---|---|
| WM_ACTIVATE | 6 | The WM_ACTIVATE message is sent to both the window being activated and the window being deactivated. If the windows use the same input queue, the message is sent synchronously, first to the window procedure of the top-level window being deactivated, then to the window procedure of the top-level window being activated. If the windows use different input queues, the message is sent asynchronously, so the window is activated immediately. | |
| WM_ACTIVATEAPP | 28 | The WM_ACTIVATEAPP message is sent when a window belonging to a different application than the active window is about to be activated. The message is sent to the application whose window is being activated and to the application whose window is being deactivated. A window receives this message through its WindowProc function. | |
| WM_AFXFIRST | 864 | The lowest value for AFX message. | |
| WM_AFXLAST | 895 | The highest value for AFX message. | |
| WM_APP | 32768 | The WM_APP constant is used by applications to help define private messages, usually of the form WM_APP+X, where X is an integer value. | |
| WM_APPCOMMAND | 793 | The WM_APPCOMMAND message notifies a window that the user generated an application command event, for example, by clicking an application command button using the mouse or typing an application command key on the keyboard. | |
| WM_ASKCBFORMATNAME | 780 | The WM_ASKCBFORMATNAME message is sent to the clipboard owner by a clipboard viewer window to request the name of a CF_OWNERDISPLAY clipboard format. A window receives this message through its WindowProc function. | |
| WM_CANCELJOURNAL | 75 | The WM_CANCELJOURNAL message is posted to an application when a user cancels the application's journaling activities. The message is posted with a NULL window handle. | |
| WM_CANCELMODE | 31 | The WM_CANCELMODE message is sent to cancel certain modes, such as mouse capture. For example, the system sends this message to the active window when a dialog box or message box is displayed. Certain functions also send this message explicitly to the specified window regardless of whether it is the active window. For example, the EnableWindow function sends this message when disabling the specified window. A window receives this message through its WindowProc function. | |
| WM_CAPTURECHANGED | 533 | The WM_CAPTURECHANGED message is sent to the window that is losing the mouse capture. A window receives this message through its WindowProc function. | |
| WM_CHANGECBCHAIN | 781 | The WM_CHANGECBCHAIN message is sent to the first window in the clipboard viewer chain when a window is being removed from the chain. A window receives this message through its WindowProc function. | |
| WM_CHANGEUISTATE | 295 | An application sends the WM_CHANGEUISTATE message to indicate that the user interface (UI) state should be changed. | |
| WM_CHARTOITEM | 47 | Sent by a list box with the LBS_WANTKEYBOARDINPUT style to its owner in response to a WM_CHAR message. | |
| WM_CHILDACTIVATE | 34 | The WM_CHILDACTIVATE message is sent to a child window when the user clicks the window's title bar or when the window is activated, moved, or sized. A window receives this message through its WindowProc function. | |
| WM_CLEAR | 771 | An application sends a WM_CLEAR message to an edit control or combo box to delete (clear) the current selection, if any, from the edit control. | |
| WM_CLOSE | 16 | The WM_CLOSE message is sent as a signal that a window or an application should terminate. A window receives this message through its WindowProc function. | |
| WM_COMMAND | 273 | The WM_COMMAND message is sent when the user selects a command item from a menu, when a control sends a notification message to its parent window, or when an accelerator keystroke is translated. | |
| WM_COMPACTING | 65 | The WM_COMPACTING message is sent to all top-level windows when the system detects more than 12.5 percent of system time over a 30- to 60-second interval is being spent compacting memory. This indicates that system memory is low. A window receives this message through its WindowProc function. | |
| WM_COMPAREITEM | 57 | The system sends the WM_COMPAREITEM message to determine the relative position of a new item in the sorted list of an owner-drawn combo box or list box. Whenever the application adds a new item, the system sends this message to the owner of a combo box or list box created with the CBS_SORT or LBS_SORT style. | |
| WM_CONTEXTMENU | 123 | The WM_CONTEXTMENU message notifies a window that the user clicked the right mouse button (right-clicked) in the window. | |
| WM_COPY | 769 | An application sends the WM_COPY message to an edit control or combo box to copy the current selection to the clipboard in CF_TEXT format. | |
| WM_COPYDATA | 74 | An application sends the WM_COPYDATA message to pass data to another application. | |
| WM_CREATE | 1 | The WM_CREATE message is sent when an application requests that a window be created by calling the CreateWindowEx or CreateWindow function. (The message is sent before the function returns.) The window procedure of the new window receives this message after the window is created, but before the window becomes visible. A window receives this message through its WindowProc function. | |
| WM_CTLCOLORBTN | 309 | The WM_CTLCOLORBTN message is sent to the parent window of a button before drawing the button. The parent window can change the button's text and background colors. However, only owner-drawn buttons respond to the parent window processing this message. | |
| WM_CTLCOLORDLG | 310 | The WM_CTLCOLORDLG message is sent to a dialog box before the system draws the dialog box. By responding to this message, the dialog box can set its text and background colors using the specified display device context handle. | |
| WM_CTLCOLOREDIT | 307 | An edit control that is not read-only or disabled sends the WM_CTLCOLOREDIT message to its parent window when the control is about to be drawn. By responding to this message, the parent window can use the specified device context handle to set the text and background colors of the edit control. | |
| WM_CTLCOLORLISTBOX | 308 | Sent to the parent window of a list box before the system draws the list box. By responding to this message, the parent window can set the text and background colors of the list box by using the specified display device context handle. | |
| WM_CTLCOLORMSGBOX | 306 | The WM_CTLCOLORMSGBOX message is sent to the owner window of a message box before Windows draws the message box. By responding to this message, the owner window can set the text and background colors of the message box by using the given display device context handle. | |
| WM_CTLCOLORSCROLLBAR | 311 | This message is sent to the parent window of a scroll bar control when the control is about to be drawn. By responding to this message, the parent window can use the specified display context handle to set the background color of the scroll bar control. | |
| WM_CTLCOLORSTATIC | 312 | A static control, or an edit control that is read-only or disabled, sends the WM_CTLCOLORSTATIC message to its parent window when the control is about to be drawn. By responding to this message, the parent window can use the specified device context handle to set the text and background colors of the static control. A window receives this message through its WindowProc function. | |
| WM_CUT | 768 | An application sends a WM_CUT message to an edit control or combo box to delete (cut) the current selection, if any, in the edit control and copy the deleted text to the clipboard in CF_TEXT format. | |
| WM_DEADCHAR | 259 | The WM_DEADCHAR message is posted to the window with the keyboard focus when a WM_KEYUP message is translated by the TranslateMessage function. WM_DEADCHAR specifies a character code generated by a dead key. A dead key is a key that generates a character, such as the umlaut (double-dot), that is combined with another character to form a composite character. For example, the umlaut-O character (Ö) is generated by typing the dead key for the umlaut character, and then typing the O key. | |
| WM_DELETEITEM | 45 | Sent to the owner of a list box or combo box when the list box or combo box is destroyed or when items are removed by the LB_DELETESTRING, LB_RESETCONTENT, CB_DELETESTRING, or CB_RESETCONTENT message. The system sends a WM_DELETEITEM message for each deleted item. The system sends the WM_DELETEITEM message for any deleted list box or combo box item with nonzero item data. | |
| WM_DESTROY | 2 | The WM_DESTROY message is sent when a window is being destroyed. It is sent to the window procedure of the window being destroyed after the window is removed from the screen. This message is sent first to the window being destroyed and then to the child windows (if any) as they are destroyed. During the processing of the message, it can be assumed that all child windows still exist. A window receives this message through its WindowProc function. | |
| WM_DESTROYCLIPBOARD | 775 | The WM_DESTROYCLIPBOARD message is sent to the clipboard owner when a call to the EmptyClipboard function empties the clipboard. A window receives this message through its WindowProc function. | |
| WM_DEVICECHANGE | 537 | Notifies an application of a change to the hardware configuration of a device or the computer. A window receives this message through its WindowProc function. | |
| WM_DEVMODECHANGE | 27 | The WM_DEVMODECHANGE message is sent to all top-level windows whenever the user changes device-mode settings. A window receives this message through its WindowProc function. | |
| WM_DISPLAYCHANGE | 126 | The WM_DISPLAYCHANGE message is sent to all windows when the display resolution has changed. A window receives this message through its WindowProc function. | |
| WM_DRAWCLIPBOARD | 776 | The WM_DRAWCLIPBOARD message is sent to the first window in the clipboard viewer chain when the content of the clipboard changes. This enables a clipboard viewer window to display the new content of the clipboard. A window receives this message through its WindowProc function. | |
| WM_DRAWITEM | 43 | The WM_DRAWITEM message is sent to the parent window of an owner-drawn button, combo box, list box, or menu when a visual aspect of the button, combo box, list box, or menu has changed. A window receives this message through its WindowProc function. | |
| WM_DROPFILES | 563 | Sent when the user drops a file on the window of an application that has registered itself as a recipient of dropped files. | |
| WM_ENABLE | 10 | The WM_ENABLE message is sent when an application changes the enabled state of a window. It is sent to the window whose enabled state is changing. This message is sent before the EnableWindow function returns, but after the enabled state (WS_DISABLED style bit) of the window has changed. A window receives this message through its WindowProc function. | |
| WM_ENDSESSION | 22 | The WM_ENDSESSION message is sent to an application after the system processes the results of the WM_QUERYENDSESSION message. The WM_ENDSESSION message informs the application whether the session is ending. A window receives this message through its WindowProc function. | |
| WM_ENTERIDLE | 289 | The WM_ENTERIDLE message is sent to the owner window of a modal dialog box or menu that is entering an idle state. A modal dialog box or menu enters an idle state when no messages are waiting in its queue after it has processed one or more previous messages. | |
| WM_ENTERMENULOOP | 529 | The WM_ENTERMENULOOP message informs an application's main window procedure that a menu modal loop has been entered. | |
| WM_ENTERSIZEMOVE | 561 | The WM_ENTERSIZEMOVE message is sent one time to a window after it enters the moving or sizing modal loop. The window enters the moving or sizing modal loop when the user clicks the window's title bar or sizing border, or when the window passes the WM_SYSCOMMAND message to the DefWindowProc function and the wParam parameter of the message specifies the SC_MOVE or SC_SIZE value. The operation is complete when DefWindowProc returns. The system sends the WM_ENTERSIZEMOVE message regardless of whether the dragging of full windows is enabled. A window receives this message through its WindowProc function. | |
| WM_ERASEBKGND | 20 | The WM_ERASEBKGND message is sent when the window background must be erased (for example, when a window is resized). The message is sent to prepare an invalidated portion of a window for painting. | |
| WM_EXITMENULOOP | 530 | The WM_EXITMENULOOP message informs an application's main window procedure that a menu modal loop has been exited. | |
| WM_EXITSIZEMOVE | 562 | The WM_EXITSIZEMOVE message is sent one time to a window, after it has exited the moving or sizing modal loop. The window enters the moving or sizing modal loop when the user clicks the window's title bar or sizing border, or when the window passes the WM_SYSCOMMAND message to the DefWindowProc function and the wParam parameter of the message specifies the SC_MOVE or SC_SIZE value. The operation is complete when DefWindowProc returns. A window receives this message through its WindowProc function. | |
| WM_FONTCHANGE | 29 | An application sends the WM_FONTCHANGE message to all top-level windows in the system after changing the pool of font resources. To send this message, call the SendMessage function with the following parameters. | |
| WM_GETDLGCODE | 135 | The WM_GETDLGCODE message is sent to the window procedure associated with a control. By default, the system handles all keyboard input to the control; the system interprets certain types of keyboard input as dialog box navigation keys. To override this default behavior, the control can respond to the WM_GETDLGCODE message to indicate the types of input it wants to process itself. | |
| WM_GETFONT | 49 | An application sends a WM_GETFONT message to a control to retrieve the font with which the control is currently drawing its text. | |
| WM_GETHOTKEY | 51 | An application sends a WM_GETHOTKEY message to determine the hot key associated with a window. | |
| WM_GETICON | 127 | The WM_GETICON message is sent to a window to retrieve a handle to the large or small icon associated with a window. The system displays the large icon in the ALT+TAB dialog, and the small icon in the window caption. A window receives this message through its WindowProc function. | |
| WM_GETMINMAXINFO | 36 | The WM_GETMINMAXINFO message is sent to a window when the size or position of the window is about to change. An application can use this message to override the window's default maximized size and position, or its default minimum or maximum tracking size. A window receives this message through its WindowProc function. | |
| WM_GETOBJECT | 61 | Active Accessibility sends the WM_GETOBJECT message to obtain information about an accessible object contained in a server application. Applications never send this message directly. It is sent only by Active Accessibility in response to calls to AccessibleObjectFromPoint, AccessibleObjectFromEvent, or AccessibleObjectFromWindow. However, server applications handle this message. | |
| WM_GETTEXT | 13 | An application sends a WM_GETTEXT message to copy the text that corresponds to a window into a buffer provided by the caller. | |
| WM_GETTEXTLENGTH | 14 | An application sends a WM_GETTEXTLENGTH message to determine the length, in characters, of the text associated with a window. | |
| WM_HANDHELDFIRST | 856 | The lowest value for handheld message. | |
| WM_HANDHELDLAST | 863 | The highest value for handheld message. | |
| WM_HELP | 83 | Indicates that the user pressed the F1 key. If a menu is active when F1 is pressed, WM_HELP is sent to the window associated with the menu; otherwise, WM_HELP is sent to the window that has the keyboard focus. If no window has the keyboard focus, WM_HELP is sent to the currently active window. | |
| WM_HOTKEY | 786 | The WM_HOTKEY message is posted when the user presses a hot key registered by the RegisterHotKey function. The message is placed at the top of the message queue associated with the thread that registered the hot key. | |
| WM_HSCROLL | 276 | The WM_HSCROLL message is sent to a window when a scroll event occurs in the window's standard horizontal scroll bar. This message is also sent to the owner of a horizontal scroll bar control when a scroll event occurs in the control. A window receives this message through its WindowProc function. | |
| WM_HSCROLLCLIPBOARD | 782 | The WM_HSCROLLCLIPBOARD message is sent to the clipboard owner by a clipboard viewer window. This occurs when the clipboard contains data in the CF_OWNERDISPLAY format and an event occurs in the clipboard viewer's horizontal scroll bar. The owner should scroll the clipboard image and update the scroll bar values. | |
| WM_ICONERASEBKGND | 39 | Windows NT 3.51 and earlier: The WM_ICONERASEBKGND message is sent to a minimized window when the background of the icon must be filled before painting the icon. A window receives this message only if a class icon is defined for the window; otherwise, WM_ERASEBKGND is sent. This message is not sent by newer versions of Windows. | |
| WM_IME_CHAR | 646 | Sent to an application when the IME gets a character of the conversion result. A window receives this message through its WindowProc function. | |
| WM_IME_COMPOSITION | 271 | Sent to an application when the IME changes composition status as a result of a keystroke. A window receives this message through its WindowProc function. | |
| WM_IME_COMPOSITIONFULL | 644 | Sent to an application when the IME window finds no space to extend the area for the composition window. A window receives this message through its WindowProc function. | |
| WM_IME_CONTROL | 643 | Sent by an application to direct the IME window to carry out the requested command. The application uses this message to control the IME window that it has created. To send this message, the application calls the SendMessage function with the following parameters. | |
| WM_IME_ENDCOMPOSITION | 270 | Sent to an application when the IME ends composition. A window receives this message through its WindowProc function. | |
| WM_IME_KEYDOWN | 656 | Sent to an application by the IME to notify the application of a key press and to keep message order. A window receives this message through its WindowProc function. | |
| WM_IME_KEYLAST | 271 | The highest value of IME keyboard message. | |
| WM_IME_KEYUP | 657 | Sent to an application by the IME to notify the application of a key release and to keep message order. A window receives this message through its WindowProc function. | |
| WM_IME_NOTIFY | 642 | Sent to an application to notify it of changes to the IME window. A window receives this message through its WindowProc function. | |
| WM_IME_REQUEST | 648 | Sent to an application to provide commands and request information. A window receives this message through its WindowProc function. | |
| WM_IME_SELECT | 645 | Sent to an application when the operating system is about to change the current IME. A window receives this message through its WindowProc function. | |
| WM_IME_SETCONTEXT | 641 | Sent to an application when a window is activated. A window receives this message through its WindowProc function. | |
| WM_IME_STARTCOMPOSITION | 269 | Sent immediately before the IME generates the composition string as a result of a keystroke. A window receives this message through its WindowProc function. | |
| WM_INITDIALOG | 272 | The WM_INITDIALOG message is sent to the dialog box procedure immediately before a dialog box is displayed. Dialog box procedures typically use this message to initialize controls and carry out any other initialization tasks that affect the appearance of the dialog box. | |
| WM_INITMENU | 278 | The WM_INITMENU message is sent when a menu is about to become active. It occurs when the user clicks an item on the menu bar or presses a menu key. This allows the application to modify the menu before it is displayed. A window receives this message through its WindowProc function. | |
| WM_INITMENUPOPUP | 279 | The WM_INITMENUPOPUP message is sent when a drop-down menu or submenu is about to become active. This allows an application to modify the menu before it is displayed, without changing the entire menu. | |
| WM_INPUT | 255 | The WM_INPUT message is sent to the window that is getting raw input. | |
| WM_INPUTLANGCHANGE | 81 | The WM_INPUTLANGCHANGE message is sent to the topmost affected window after an application's input language has been changed. You should make any application-specific settings and pass the message to the DefWindowProc function, which passes the message to all first-level child windows. These child windows can pass the message to DefWindowProc to have it pass the message to their child windows, and so on. A window receives this message through its WindowProc function. | |
| WM_INPUTLANGCHANGEREQUEST | 80 | The WM_INPUTLANGCHANGEREQUEST message is posted to the window with the focus when the user chooses a new input language, either with the hotkey (specified in the Keyboard control panel application) or from the indicator on the system taskbar. An application can accept the change by passing the message to the DefWindowProc function or reject the change (and prevent it from taking place) by returning immediately. A window receives this message through its WindowProc function. | |
| WM_KEYDOWN | 256 | WM_KEYDOWN | |
| WM_KEYFIRST | 256 | This message filters for keyboard messages. (This is the lowest value of keyboard message. | |
| WM_KEYLAST | 264 | This message filters for keyboard messages. (This is the highest value of keyboard message) | |
| WM_KEYUP | 257 | The WM_KEYUP message is posted to the window with the keyboard focus when a nonsystem key is released. A nonsystem key is a key that is pressed when the ALT key is not pressed, or a keyboard key that is pressed when a window has the keyboard focus. | |
| WM_CHAR | 258 | The WM_CHAR message is posted to the window with the keyboard focus when a WM_KEYDOWN message is translated by the TranslateMessage function. The WM_CHAR message contains the character code of the key that was pressed. | |
| WM_SYSKEYDOWN | 260 | The WM_SYSKEYDOWN message is posted to the window with the keyboard focus when the user presses the F10 key (which activates the menu bar) or holds down the ALT key and then presses another key. It also occurs when no window currently has the keyboard focus; in this case, the WM_SYSKEYDOWN message is sent to the active window. The window that receives the message can distinguish between these two contexts by checking the context code in the lParam parameter. | |
| WM_SYSKEYUP | 261 | The WM_SYSKEYUP message is posted to the window with the keyboard focus when the user releases a key that was pressed while the ALT key was held down. It also occurs when no window currently has the keyboard focus; in this case, the WM_SYSKEYUP message is sent to the active window. The window that receives the message can distinguish between these two contexts by checking the context code in the lParam parameter. A window receives this message through its WindowProc function. | |
| WM_SYSCHAR | 262 | The WM_SYSCHAR message is posted to the window with the keyboard focus when a WM_SYSKEYDOWN message is translated by the TranslateMessage function. It specifies the character code of a system character key — that is, a character key that is pressed while the ALT key is down. | |
| WM_KILLFOCUS | 8 | The WM_KILLFOCUS message is sent to a window immediately before it loses the keyboard focus. | |
| WM_LBUTTONDBLCLK | 515 | The WM_LBUTTONDBLCLK message is posted when the user double-clicks the left mouse button while the cursor is in the client area of a window. If the mouse is not captured, the message is posted to the window beneath the cursor. Otherwise, the message is posted to the window that has captured the mouse. A window receives this message through its WindowProc function. | |
| WM_LBUTTONDOWN | 513 | The WM_LBUTTONDOWN message is posted when the user presses the left mouse button while the cursor is in the client area of a window. If the mouse is not captured, the message is posted to the window beneath the cursor. Otherwise, the message is posted to the window that has captured the mouse. A window receives this message through its WindowProc function. | |
| WM_LBUTTONUP | 514 | The WM_LBUTTONUP message is posted when the user releases the left mouse button while the cursor is in the client area of a window. If the mouse is not captured, the message is posted to the window beneath the cursor. Otherwise, the message is posted to the window that has captured the mouse. A window receives this message through its WindowProc function. | |
| WM_MBUTTONDBLCLK | 521 | The WM_MBUTTONDBLCLK message is posted when the user double-clicks the middle mouse button while the cursor is in the client area of a window. If the mouse is not captured, the message is posted to the window beneath the cursor. Otherwise, the message is posted to the window that has captured the mouse. A window receives this message through its WindowProc function. | |
| WM_MBUTTONDOWN | 519 | The WM_MBUTTONDOWN message is posted when the user presses the middle mouse button while the cursor is in the client area of a window. If the mouse is not captured, the message is posted to the window beneath the cursor. Otherwise, the message is posted to the window that has captured the mouse. A window receives this message through its WindowProc function. | |
| WM_MBUTTONUP | 520 | The WM_MBUTTONUP message is posted when the user releases the middle mouse button while the cursor is in the client area of a window. If the mouse is not captured, the message is posted to the window beneath the cursor. Otherwise, the message is posted to the window that has captured the mouse. A window receives this message through its WindowProc function. | |
| WM_RBUTTONDBLCLK | 518 | The WM_RBUTTONDBLCLK message is posted when the user double-clicks the right mouse button while the cursor is in the client area of a window. If the mouse is not captured, the message is posted to the window beneath the cursor. Otherwise, the message is posted to the window that has captured the mouse. A window receives this message through its WindowProc function. | |
| WM_RBUTTONDOWN | 516 | The WM_RBUTTONDOWN message is posted when the user presses the right mouse button while the cursor is in the client area of a window. If the mouse is not captured, the message is posted to the window beneath the cursor. Otherwise, the message is posted to the window that has captured the mouse. A window receives this message through its WindowProc function. | |
| WM_RBUTTONUP | 517 | The WM_RBUTTONUP message is posted when the user releases the right mouse button while the cursor is in the client area of a window. If the mouse is not captured, the message is posted to the window beneath the cursor. Otherwise, the message is posted to the window that has captured the mouse. A window receives this message through its WindowProc function. | |
| WM_XBUTTONDBLCLK | 525 | The WM_XBUTTONDBLCLK message is posted when the user double-clicks the first or second X button while the cursor is in the client area of a window. If the mouse is not captured, the message is posted to the window beneath the cursor. Otherwise, the message is posted to the window that has captured the mouse. A window receives this message through its WindowProc function. | |
| WM_XBUTTONDOWN | 523 | The WM_XBUTTONDOWN message is posted when the user presses the first or second X button while the cursor is in the client area of a window. If the mouse is not captured, the message is posted to the window beneath the cursor. Otherwise, the message is posted to the window that has captured the mouse. A window receives this message through its WindowProc function. | |
| WM_XBUTTONUP | 524 | The WM_XBUTTONUP message is posted when the user releases the first or second X button while the cursor is in the client area of a window. If the mouse is not captured, the message is posted to the window beneath the cursor. Otherwise, the message is posted to the window that has captured the mouse. A window receives this message through its WindowProc function. | |
| WM_MDIACTIVATE | 546 | An application sends the WM_MDIACTIVATE message to a multiple-document interface (MDI) client window to instruct the client window to activate a different MDI child window. | |
| WM_MDICASCADE | 551 | An application sends the WM_MDICASCADE message to a multiple-document interface (MDI) client window to arrange all its child windows in a cascade format. | |
| WM_MDICREATE | 544 | An application sends the WM_MDICREATE message to a multiple-document interface (MDI) client window to create an MDI child window. | |
| WM_MDIDESTROY | 545 | An application sends the WM_MDIDESTROY message to a multiple-document interface (MDI) client window to close an MDI child window. | |
| WM_MDIGETACTIVE | 553 | An application sends the WM_MDIGETACTIVE message to a multiple-document interface (MDI) client window to retrieve the handle to the active MDI child window. | |
| WM_MDIICONARRANGE | 552 | An application sends the WM_MDIICONARRANGE message to a multiple document interface (MDI) client window to arrange all minimized MDI child windows. It does not affect child windows that are not minimized. | |
| WM_MDIMAXIMIZE | 549 | An application sends the WM_MDIMAXIMIZE message to a multiple-document interface (MDI) client window to maximize an MDI child window. The system resizes the child window to make its client area fill the client window. The system places the child window's window menu icon in the rightmost position of the frame window's menu bar, and places the child window's restore icon in the leftmost position. The system also appends the title bar text of the child window to that of the frame window. | |
| WM_MDINEXT | 548 | An application sends the WM_MDINEXT message to a multiple-document interface (MDI) client window to activate the next or previous child window. | |
| WM_MDIREFRESHMENU | 564 | An application sends the WM_MDIREFRESHMENU message to a multiple-document interface (MDI) client window to refresh the window menu of the MDI frame window. | |
| WM_MDIRESTORE | 547 | An application sends the WM_MDIRESTORE message to a multiple-document interface (MDI) client window to restore an MDI child window from maximized or minimized size. | |
| WM_MDISETMENU | 560 | Handle to the new frame window menu. If this parameter is NULL, the frame window menu is not changed. | |
| WM_MDITILE | 550 | An application sends the WM_MDITILE message to a multiple-document interface (MDI) client window to arrange all of its MDI child windows in a tile format. | |
| WM_MEASUREITEM | 44 | The WM_MEASUREITEM message is sent to the owner window of a combo box, list box, list view control, or menu item when the control or menu is created. A window receives this message through its WindowProc function. | |
| WM_MENUCHAR | 288 | The WM_MENUCHAR message is sent when a menu is active and the user presses a key that does not correspond to any mnemonic or accelerator key. This message is sent to the window that owns the menu. | |
| WM_MENUCOMMAND | 294 | The WM_MENUCOMMAND message is sent when the user makes a selection from a menu. | |
| WM_MENUDRAG | 291 | The WM_MENUDRAG message is sent to the owner of a drag-and-drop menu when the user drags a menu item. | |
| WM_MENUGETOBJECT | 292 | The WM_MENUGETOBJECT message is sent to the owner of a drag-and-drop menu when the mouse cursor enters a menu item or moves from the center of the item to the top or bottom of the item. | |
| WM_MENURBUTTONUP | 290 | The WM_MENURBUTTONUP message is sent when the user releases the right mouse button while the cursor is on a menu item. | |
| WM_MENUSELECT | 287 | The WM_MENUSELECT message is sent to a menu's owner window when the user selects a menu item. | |
| WM_MOUSEACTIVATE | 33 | The WM_MOUSEACTIVATE message is sent when the cursor is in an inactive window and the user presses a mouse button. The parent window receives this message only if the child window passes it to the DefWindowProc function. A window receives this message through its WindowProc function. | |
| WM_MOUSEFIRST | 512 | Lowest value of mouse message | |
| WM_MOUSEHOVER | 673 | The WM_MOUSEHOVER message is posted to a window when the cursor hovers over the client area of the window for the period of time specified in a prior call to TrackMouseEvent. A window receives this message through its WindowProc function. | |
| WM_MOUSELAST | 525 | Highest value of mouse message | |
| WM_MOUSELEAVE | 675 | The WM_MOUSELEAVE message is posted to a window when the cursor leaves the client area of the window specified in a prior call to TrackMouseEvent. A window receives this message through its WindowProc function. | |
| WM_MOUSEMOVE | 512 | The WM_MOUSEMOVE message is posted to a window when the cursor moves. If the mouse is not captured, the message is posted to the window that contains the cursor. Otherwise, the message is posted to the window that has captured the mouse. A window receives this message through its WindowProc function. | |
| WM_MOUSEWHEEL | 522 | The WM_MOUSEWHEEL message is sent to the focus window when the mouse wheel is rotated. The DefWindowProc function propagates the message to the window's parent. There should be no internal forwarding of the message, since DefWindowProc propagates it up the parent chain until it finds a window that processes it. A window receives this message through its WindowProc function. | |
| WM_MOUSEHWHEEL | 526 | The WM_MOUSEHWHEEL message is sent to the focus window when the mouse's horizontal scroll wheel is tilted or rotated. The DefWindowProc function propagates the message to the window's parent. There should be no internal forwarding of the message, since DefWindowProc propagates it up the parent chain until it finds a window that processes it. A window receives this message through its WindowProc function. | |
| WM_MOVE | 3 | The WM_MOVE message is sent after a window has been moved. A window receives this message through its WindowProc function. | |
| WM_MOVING | 534 | The WM_MOVING message is sent to a window that the user is moving. By processing this message, an application can monitor the position of the drag rectangle and, if needed, change its position. A window receives this message through its WindowProc function. | |
| WM_NCACTIVATE | 134 | The WM_NCACTIVATE message is sent to a window when its nonclient area needs to be changed to indicate an active or inactive state. A window receives this message through its WindowProc function. | |
| WM_NCCALCSIZE | 131 | The WM_NCCALCSIZE message is sent when the size and position of a window's client area must be calculated. By processing this message, an application can control the content of the window's client area when the size or position of the window changes. A window receives this message through its WindowProc function. | |
| WM_NCCREATE | 129 | The WM_NCCREATE message is sent prior to the WM_CREATE message when a window is first created. A window receives this message through its WindowProc function. | |
| WM_NCDESTROY | 130 | The WM_NCDESTROY message informs a window that its nonclient area is being destroyed. The DestroyWindow function sends the WM_NCDESTROY message to the window following the WM_DESTROY message. WM_DESTROY is used to free the allocated memory object associated with the window. The WM_NCDESTROY message is sent after the child windows have been destroyed. In contrast, WM_DESTROY is sent before the child windows are destroyed. A window receives this message through its WindowProc function. | |
| WM_NCHITTEST | 132 | The WM_NCHITTEST message is sent to a window when the cursor moves, or when a mouse button is pressed or released. If the mouse is not captured, the message is sent to the window beneath the cursor. Otherwise, the message is sent to the window that has captured the mouse. A window receives this message through its WindowProc function. | |
| WM_NCLBUTTONDBLCLK | 163 | The WM_NCLBUTTONDBLCLK message is posted when the user double-clicks the left mouse button while the cursor is within the nonclient area of a window. This message is posted to the window that contains the cursor. If a window has captured the mouse, this message is not posted. A window receives this message through its WindowProc function. | |
| WM_NCLBUTTONDOWN | 161 | The WM_NCLBUTTONDOWN message is posted when the user presses the left mouse button while the cursor is within the nonclient area of a window. This message is posted to the window that contains the cursor. If a window has captured the mouse, this message is not posted. A window receives this message through its WindowProc function. | |
| WM_NCLBUTTONUP | 162 | The WM_NCLBUTTONUP message is posted when the user releases the left mouse button while the cursor is within the nonclient area of a window. This message is posted to the window that contains the cursor. If a window has captured the mouse, this message is not posted. A window receives this message through its WindowProc function. | |
| WM_NCMBUTTONDBLCLK | 169 | The WM_NCMBUTTONDBLCLK message is posted when the user double-clicks the middle mouse button while the cursor is within the nonclient area of a window. This message is posted to the window that contains the cursor. If a window has captured the mouse, this message is not posted. A window receives this message through its WindowProc function. | |
| WM_NCMBUTTONDOWN | 167 | The WM_NCMBUTTONDOWN message is posted when the user presses the middle mouse button while the cursor is within the nonclient area of a window. This message is posted to the window that contains the cursor. If a window has captured the mouse, this message is not posted. A window receives this message through its WindowProc function. | |
| WM_NCMBUTTONUP | 168 | The WM_NCMBUTTONUP message is posted when the user releases the middle mouse button while the cursor is within the nonclient area of a window. This message is posted to the window that contains the cursor. If a window has captured the mouse, this message is not posted. A window receives this message through its WindowProc function. | |
| WM_NCMOUSEMOVE | 160 | The WM_NCMOUSEMOVE message is posted to a window when the cursor is moved within the nonclient area of the window. This message is posted to the window that contains the cursor. If a window has captured the mouse, this message is not posted. A window receives this message through its WindowProc function. | |
| WM_NCPAINT | 133 | The WM_NCPAINT message is sent to a window when its frame must be painted. A window receives this message through its WindowProc function. | |
| WM_NCRBUTTONDBLCLK | 166 | The WM_NCRBUTTONDBLCLK message is posted when the user double-clicks the right mouse button while the cursor is within the nonclient area of a window. This message is posted to the window that contains the cursor. If a window has captured the mouse, this message is not posted. A window receives this message through its WindowProc function. | |
| WM_NCRBUTTONDOWN | 164 | The WM_NCRBUTTONDOWN message is posted when the user presses the right mouse button while the cursor is within the nonclient area of a window. This message is posted to the window that contains the cursor. If a window has captured the mouse, this message is not posted. A window receives this message through its WindowProc function. | |
| WM_NCRBUTTONUP | 165 | The WM_NCRBUTTONUP message is posted when the user releases the right mouse button while the cursor is within the nonclient area of a window. This message is posted to the window that contains the cursor. If a window has captured the mouse, this message is not posted. A window receives this message through its WindowProc function. | |
| WM_NCXBUTTONUP | 172 | The WM_NCXBUTTONUP message is posted when the user releases the first or second X button while the cursor is in the nonclient area of a window. This message is posted to the window that contains the cursor. If a window has captured the mouse, this message is not posted. | |
| WM_NCXBUTTONDOWN | 171 | The WM_NCXBUTTONDOWN message is posted when the user presses the first or second X button while the cursor is in the nonclient area of a window. This message is posted to the window that contains the cursor. If a window has captured the mouse, this message is not posted. | |
| WM_NCXBUTTONDBLCLK | 173 | The WM_NCXBUTTONDBLCLK message is posted when the user double-clicks the first or second X button while the cursor is in the nonclient area of a window. This message is posted to the window that contains the cursor. If a window has captured the mouse, this message is not posted. | |
| WM_NEXTDLGCTL | 40 | The WM_NEXTDLGCTL message is sent to a dialog box procedure to set the keyboard focus to a different control in the dialog box. | |
| WM_NEXTMENU | 531 | The WM_NEXTMENU message is sent to an application when the right or left arrow key is used to switch between the menu bar and the system menu. | |
| WM_NOTIFY | 78 | Sent by a common control to its parent window when an event has occurred or the control requires some information. | |
| WM_NOTIFYFORMAT | 85 | Determines if a window accepts ANSI or Unicode structures in the WM_NOTIFY notification message. WM_NOTIFYFORMAT messages are sent from a common control to its parent window and from the parent window to the common control. | |
| WM_NULL | 0 | The WM_NULL message performs no operation. An application sends the WM_NULL message if it wants to post a message that the recipient window will ignore. A window receives this message through its WindowProc function. | |
| WM_PAINT | 15 | The WM_PAINT message is sent when the system or another application makes a request to paint a portion of an application's window. The message is sent when the UpdateWindow or RedrawWindow function is called, or by the DispatchMessage function when the application obtains a WM_PAINT message by using the GetMessage or PeekMessage function. A window receives this message through its WindowProc function. | |
| WM_PAINTCLIPBOARD | 777 | The WM_PAINTCLIPBOARD message is sent to the clipboard owner by a clipboard viewer window when the clipboard contains data in the CF_OWNERDISPLAY format and the clipboard viewer's client area needs repainting. | |
| WM_PAINTICON | 38 | Windows NT 3.51 and earlier: The WM_PAINTICON message is sent to a minimized window when the icon is to be painted. This message is not sent by newer versions of Microsoft Windows, except in unusual circumstances explained in the Remarks. | |
| WM_PALETTECHANGED | 785 | The WM_PALETTECHANGED message is sent to all top-level and overlapped windows after the window with the keyboard focus has realized its logical palette, thereby changing the system palette. This message enables a window that uses a color palette but does not have the keyboard focus to realize its logical palette and update its client area. A window receives this message through its WindowProc function. | |
| WM_PALETTEISCHANGING | 784 | The WM_PALETTEISCHANGING message informs applications that an application is going to realize its logical palette. A window receives this message through its WindowProc function. | |
| WM_PARENTNOTIFY | 528 | The WM_PARENTNOTIFY message is sent to the parent of a child window when the child window is created or destroyed, or when the user clicks a mouse button while the cursor is over the child window. When the child window is being created, the system sends WM_PARENTNOTIFY just before the CreateWindow or CreateWindowEx function that creates the window returns. When the child window is being destroyed, the system sends the message before any processing to destroy the window takes place. A window receives this message through its WindowProc function. | |
| WM_PASTE | 770 | An application sends a WM_PASTE message to an edit control or combo box to copy the current content of the clipboard to the edit control at the current caret position. Data is inserted only if the clipboard contains data in CF_TEXT format. | |
| WM_PENWINFIRST | 896 | The lowes value for pen messages. | |
| WM_PENWINLAST | 911 | The highest value for pen messages. | |
| WM_POWER | 72 | Notifies applications that the system, typically a battery-powered personal computer, is about to enter a suspended mode. Note The WM_POWER message is obsolete. It is provided only for compatibility with 16-bit Windows-based applications. Applications should use the WM_POWERBROADCAST message. A window receives this message through its WindowProc function. | |
| WM_POWERBROADCAST | 536 | Notifies applications that a power-management event has occurred. A window receives this message through its WindowProc function. | |
| WM_PRINT | 791 | The WM_PRINT message is sent to a window to request that it draw itself in the specified device context, most commonly in a printer device context. A window receives this message through its WindowProc function. | |
| WM_PRINTCLIENT | 792 | The WM_PRINTCLIENT message is sent to a window to request that it draw its client area in the specified device context, most commonly in a printer device context. A window receives this message through its WindowProc function. | |
| WM_QUERYDRAGICON | 55 | The WM_QUERYDRAGICON message is sent to a minimized (iconic) window. The window is about to be dragged by the user but does not have an icon defined for its class. An application can return a handle to an icon or cursor. The system displays this cursor or icon while the user drags the icon. A window receives this message through its WindowProc function. | |
| WM_QUERYENDSESSION | 17 | The WM_QUERYENDSESSION message is sent when the user chooses to end the session or when an application calls one of the system shutdown functions. If any application returns zero, the session is not ended. The system stops sending WM_QUERYENDSESSION messages as soon as one application returns zero. After processing this message, the system sends the WM_ENDSESSION message with the wParam parameter set to the results of the WM_QUERYENDSESSION message. A window receives this message through its WindowProc function. | |
| WM_QUERYNEWPALETTE | 783 | The WM_QUERYNEWPALETTE message informs a window that it is about to receive the keyboard focus, giving the window the opportunity to realize its logical palette when it receives the focus. A window receives this message through its WindowProc function. | |
| WM_QUERYOPEN | 19 | The WM_QUERYOPEN message is sent to an icon when the user requests that the window be restored to its previous size and position. A window receives this message through its WindowProc function. | |
| WM_QUEUESYNC | 35 | The WM_QUEUESYNC message is sent by a computer-based training (CBT) application to separate user-input messages from other messages sent through the WH_JOURNALPLAYBACK Hook procedure. | |
| WM_QUIT | 18 | The WM_QUIT message indicates a request to terminate an application and is generated when the application calls the PostQuitMessage function. It causes the GetMessage function to return zero. | |
| WM_RENDERALLFORMATS | 774 | The WM_RENDERALLFORMATS message is sent to the clipboard owner before it is destroyed, if the clipboard owner has delayed rendering one or more clipboard formats. For the content of the clipboard to remain available to other applications, the clipboard owner must render data in all the formats it is capable of generating, and place the data on the clipboard by calling the SetClipboardData function. A window receives this message through its WindowProc function. | |
| WM_RENDERFORMAT | 773 | The WM_RENDERFORMAT message is sent to the clipboard owner if it has delayed rendering a specific clipboard format and if an application has requested data in that format. The clipboard owner must render data in the specified format and place it on the clipboard by calling the SetClipboardData function. | |
| WM_SETCURSOR | 32 | The WM_SETCURSOR message is sent to a window if the mouse causes the cursor to move within a window and mouse input is not captured. | |
| WM_SETFOCUS | 7 | The WM_SETFOCUS message is sent to a window after it has gained the keyboard focus. | |
| WM_SETFONT | 48 | An application sends a WM_SETFONT message to specify the font that a control is to use when drawing text. | |
| WM_SETHOTKEY | 50 | An application sends a WM_SETHOTKEY message to a window to associate a hot key with the window. When the user presses the hot key, the system activates the window. | |
| WM_SETICON | 128 | An application sends the WM_SETICON message to associate a new large or small icon with a window. The system displays the large icon in the ALT+TAB dialog box, and the small icon in the window caption. | |
| WM_SETREDRAW | 11 | An application sends the WM_SETREDRAW message to a window to allow changes in that window to be redrawn or to prevent changes in that window from being redrawn. To send this message, call the SendMessage function with the following parameters. | |
| WM_SETTEXT | 12 | An application sends a WM_SETTEXT message to set the text of a window. | |
| WM_SETTINGCHANGE | 26 | A message that is sent to all top-level windows when the SystemParametersInfo function changes a system-wide setting or when policy settings have changed. Applications should send WM_SETTINGCHANGE to all top-level windows when they make changes to system parameters. (This message cannot be sent directly to a window.) To send the WM_SETTINGCHANGE message to all top-level windows, use the SendMessageTimeout function with the hwnd parameter set to HWND_BROADCAST. A window receives this message through its WindowProc function. | |
| WM_SHOWWINDOW | 24 | The WM_SHOWWINDOW message is sent to a window when the window is about to be hidden or shown. A window receives this message through its WindowProc function. | |
| WM_SIZE | 5 | The WM_SIZE message is sent to a window after its size has changed. A window receives this message through its WindowProc function. | |
| WM_SIZECLIPBOARD | 779 | The WM_SIZECLIPBOARD message is sent to the clipboard owner by a clipboard viewer window when the clipboard contains data in the CF_OWNERDISPLAY format and the clipboard viewer's client area has changed size. | |
| WM_SIZING | 532 | The WM_SIZING message is sent to a window that the user is resizing. By processing this message, an application can monitor the size and position of the drag rectangle and, if needed, change its size or position. A window receives this message through its WindowProc function. | |
| WM_SPOOLERSTATUS | 42 | The WM_SPOOLERSTATUS message is sent from Print Manager whenever a job is added to or removed from the Print Manager queue. A window receives this message through its WindowProc function. | |
| WM_STYLECHANGED | 125 | The WM_STYLECHANGED message is sent to a window after the SetWindowLong function has changed one or more of the window's styles. A window receives this message through its WindowProc function. | |
| WM_STYLECHANGING | 124 | The WM_STYLECHANGING message is sent to a window when the SetWindowLong function is about to change one or more of the window's styles. A window receives this message through its WindowProc function. | |
| WM_SYNCPAINT | 136 | The WM_SYNCPAINT message is used to synchronize painting while avoiding linking independent GUI threads. A window receives this message through its WindowProc function. | |
| WM_SYSCOLORCHANGE | 21 | The WM_SYSCOLORCHANGE message is sent to all top-level windows when a change is made to a system color setting. A window receives this message through its WindowProc function. | |
| WM_SYSCOMMAND | 274 | A window receives this message when the user chooses a command from the Window menu (formerly known as the system or control menu) or when the user chooses the maximize button, minimize button, restore button, or close button. | |
| WM_SYSDEADCHAR | 263 | The WM_SYSDEADCHAR message is sent to the window with the keyboard focus when a WM_SYSKEYDOWN message is translated by the TranslateMessage function. WM_SYSDEADCHAR specifies the character code of a system dead key — that is, a dead key that is pressed while holding down the ALT key. | |
| WM_TCARD | 82 | Sent to an application that has initiated a training card with Microsoft Windows Help. The message informs the application when the user clicks an authorable button. An application initiates a training card by specifying the HELP_TCARD command in a call to the WinHelp function. | |
| WM_TIMECHANGE | 30 | A message that is sent whenever there is a change in the system time. A window receives this message through its WindowProc function. | |
| WM_TIMER | 275 | The WM_TIMER message is posted to the installing thread's message queue when a timer expires. The message is posted by the GetMessage or PeekMessage function. | |
| WM_THEMECHANGE | 794 | The WM_THEMECHANGED message is broadcast to every window following a theme change event. Examples of theme change events are the activation of a theme, the deactivation of a theme, or a transition from one theme to another. | |
| WM_UNDO | 772 | An application sends a WM_UNDO message to an edit control to undo the last operation. When this message is sent to an edit control, the previously deleted text is restored or the previously added text is deleted. | |
| WM_UNINITMENUPOPUP | 293 | The WM_UNINITMENUPOPUP message is sent when a drop-down menu or submenu has been destroyed. | |
| WM_USER | 1024 | This message is used by applications to help define private messages. | |
| WM_USERCHANGED | 84 | The WM_USERCHANGED message is sent to all windows after the user has logged on or off. When the user logs on or off, the system updates the user-specific settings. The system sends this message immediately after updating the settings. A window receives this message through its WindowProc function. | |
| WM_VKEYTOITEM | 46 | Sent by a list box with the LBS_WANTKEYBOARDINPUT style to its owner in response to a WM_KEYDOWN message. | |
| WM_VSCROLL | 277 | The WM_VSCROLL message is sent to a window when a scroll event occurs in the window's standard vertical scroll bar. This message is also sent to the owner of a vertical scroll bar control when a scroll event occurs in the control. A window receives this message through its WindowProc function. | |
| WM_VSCROLLCLIPBOARD | 778 | The WM_VSCROLLCLIPBOARD message is sent to the clipboard owner by a clipboard viewer window when the clipboard contains data in the CF_OWNERDISPLAY format and an event occurs in the clipboard viewer's vertical scroll bar. The owner should scroll the clipboard image and update the scroll bar values. | |
| WM_WINDOWPOSCHANGED | 71 | The WM_WINDOWPOSCHANGED message is sent to a window whose size, position, or place in the Z order has changed as a result of a call to the SetWindowPos function or another window-management function. A window receives this message through its WindowProc function. | |
| WM_WINDOWPOSCHANGING | 70 | The WM_WINDOWPOSCHANGING message is sent to a window whose size, position, or place in the Z order is about to change as a result of a call to the SetWindowPos function or another window-management function. A window receives this message through its WindowProc function. | |
| WM_WININICHANGE | 26 | An application sends the WM_WININICHANGE message to all top-level windows after making a change to the WIN.INI file. The SystemParametersInfo function sends this message after an application uses the function to change a setting in WIN.INI. Note The WM_WININICHANGE message is provided only for compatibility with earlier versions of the system. Applications should use the WM_SETTINGCHANGE message. A window receives this message through its WindowProc function. | |
| X0000 | 0 | Messages in range X0000 through WM_USER_minus_1 are reserved for use by the system. | |
| WM_USER_minus_1 | 1023 | Messages in range X0000 through WM_USER_minus_1 are reserved for use by the system. | |
| X7FFF | 32767 | Messages in range WM_USER through X7FFF are integer messages for use by private window classes. | |
| XBFFF | 49151 | Messages in range WM_APP through XBFFF are available for use by applications. | |
| XC000 | 49152 | Messages in range XC000 through XFFFF are string messages for use by applications | |
| XFFFF | 4095 | Messages in range XC000 through XFFFF are string messages for use by applications Messages greater than XFFFF are reserved by the system | |
| TCM_FIRST | 4864 | Value of first Tab control message | |
| TCM_ADJUSTRECT | 4904 | Calculates a tab control's display area given a window rectangle, or calculates the window rectangle that would correspond to a specified display area. | |
| TCM_DELETEALLITEMS | 4873 | Removes all items from a tab control. | |
| TCM_DELETEITEM | 4872 | Removes an item from a tab control. | |
| TCM_DESELECTALL | 4914 | Resets items in a tab control, clearing any that were set to the TCIS_BUTTONPRESSED state. | |
| TCM_GETCURFOCUS | 4911 | Returns the index of the item that has the focus in a tab control. | |
| TCM_GETCURSEL | 4875 | Determines the currently selected tab in a tab control. | |
| TCM_GETEXTENDEDSTYLE | 4917 | Retrieves the extended styles that are currently in use for the tab control. | |
| TCM_GETIMAGELIST | 4866 | Retrieves the image list associated with a tab control. | |
| TCM_GETITEM | 4924 | Retrieves information about a tab in a tab control. | |
| TCM_GETITEMA | 4869 | Defines ANSI version of then TCM_GETITEM message. | |
| TCM_GETITEMCOUNT | 4868 | Retrieves the number of tabs in the tab control. | |
| TCM_GETITEMRECT | 4874 | Retrieves the bounding rectangle for a tab in a tab control. | |
| TCM_GETROWCOUNT | 4908 | Retrieves the current number of rows of tabs in a tab control. | |
| TCM_GETTOOLTIPS | 4909 | Retrieves the handle to the tooltip control associated with a tab control. | |
| TCM_GETUNICODEFORMAT | 8198 | Retrieves the Unicode character format flag for the control. | |
| TCM_HIGHLIGHTITEM | 4915 | Sets the highlight state of a tab item. | |
| TCM_HITTEST | 4877 | Determines which tab, if any, is at a specified screen position. | |
| TCM_INSERTITEM | 4926 | Inserts a new tab in a tab control. | |
| TCM_INSERTITEMA | 4871 | Defines ANSI version of the TCM_INSERTITEM message. | |
| TCM_REMOVEIMAGE | 4906 | Removes an image from a tab control's image list. | |
| TCM_SETCURFOCUS | 4912 | Sets the focus to a specified tab in a tab control. | |
| TCM_SETCURSEL | 4876 | Selects a tab in a tab control. | |
| TCM_SETEXTENDEDSTYLE | 4916 | Sets the extended styles that the tab control will use. | |
| TCM_SETIMAGELIST | 4867 | Assigns an image list to a tab control. | |
| TCM_SETITEM | 4925 | Sets some or all of a tab's attributes. | |
| TCM_SETITEMA | 4870 | Defines ANSI version of then TCM_SETITEM message. | |
| TCM_SETITEMEXTRA | 4878 | Sets the number of bytes per tab reserved for application-defined data in a tab control. | |
| TCM_SETITEMSIZE | 4905 | Sets the width and height of tabs in a fixed-width or owner-drawn tab control. | |
| TCM_SETMINTABWIDTH | 4913 | Sets the minimum width of items in a tab control. | |
| TCM_SETPADDING | 4907 | Sets the amount of space (padding) around each tab's icon and label in a tab control. | |
| TCM_SETTOOLTIPS | 4910 | Assigns a tooltip control to a tab control | |
| TCM_SETUNICODEFORMAT | 8197 | Sets the Unicode character format flag for the control. This message allows you to change the character set used by the control at run time rather than having to re-create the control. | |
| CCM_FIRST | 8192 | Defines a value of first common control message | |
| CCM_SETBKCOLOR | 8193 | Sets the background color of the control. | |
| CCM_SETCOLORSCHEME | 8194 | Sets the color scheme information for the control. | |
| CCM_GETCOLORSCHEME | 8195 | Retrieves the color scheme information from the control. | |
| CCM_GETDROPTARGET | 8196 | Retrieves a pager control's IDropTarget interface pointer | |
| CCM_SETUNICODEFORMAT | 8197 | Sets the Unicode character format flag for the control. This message allows you to change the character set used by the control at run time rather than having to re-create the control. | |
| CCM_GETUNICODEFORMAT | 8198 | Retrieves the Unicode character format flag for the control. | |
| CCM_SETVERSION | 8199 | This message is used to inform the control that you are expecting a behavior associated with a particular version. | |
| CCM_GETVERSION | 8200 | Gets the version number for a control set by the most recent CCM_SETVERSION message. | |
| CCM_SETNOTIFYWINDOW | 8201 | (?) Registers a window that will handle messages in response to all events from an object. | |
| CCM_SETWINDOWTHEME | 8203 | Sets the visual style of a control. | |
| CCM_DPISCALE | 8204 | Enables automatic high dots per inch (dpi) scaling in Tree-View controls, List-View controls, ComboBoxEx controls, Header controls, Buttons, Toolbar controls, Animation controls, and Image Lists. | |
| IsFlags | Gets value indicating if given value is of enum type which has FlagsAttribute applied | ||
| GetName | Gets name of given enumeration value | ||
| GetConstant | Gets constant field that represents given enum value | ||
| GetValue | Gets value of enum in its unedlying type | ||
| IsDefined | Gets value idicating if given value is defined as constant in enumeration |
See Also
Version History
1.5.3
- Added TCM_... (Tab control) and CCM_... (commmon control) messages