xtd 0.2.0
Loading...
Searching...
No Matches
window messages

Definition

window messages definitions.

Warning
Internal use only

Variables

constexpr xtd::uint32 WM_NULL
 Performs no operation. An application sends the WM_NULL message if it wants to post a message that the recipient window will ignore.
 
constexpr xtd::uint32 WM_CREATE
 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.
 
constexpr xtd::uint32 WM_DESTROY
 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.
 
constexpr xtd::uint32 WM_MOVE
 Sent after a window has been moved.
 
constexpr xtd::uint32 WM_SIZE
 Sent to a window after its size has changed.
 
constexpr xtd::uint32 WM_ACTIVATE
 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.
 
constexpr xtd::uint32 WM_SETFOCUS
 Sent to a window after it has gained the keyboard focus.
 
constexpr xtd::uint32 WM_KILLFOCUS
 Sent to a window immediately before it loses the keyboard focus.
 
constexpr xtd::uint32 WM_ENABLE
 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.
 
constexpr xtd::uint32 WM_SETREDRAW
 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.
 
constexpr xtd::uint32 WM_SETTEXT
 Sets the text of a window.
 
constexpr xtd::uint32 WM_GETTEXT
 Copies the text that corresponds to a window into a buffer provided by the caller.
 
constexpr xtd::uint32 WM_GETTEXTLENGTH
 Determines the length, in characters, of the text associated with a window.
 
constexpr xtd::uint32 WM_PAINT
 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.
 
constexpr xtd::uint32 WM_CLOSE
 Sent as a signal that a window or an application should terminate.
 
constexpr xtd::uint32 WM_QUERYENDSESSION
 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.
 
constexpr xtd::uint32 WM_QUIT
 Indicates a request to terminate an application, and is generated when the application calls the PostQuitMessage function. This message causes the GetMessage function to return zero.
 
constexpr xtd::uint32 WM_QUERYOPEN
 Sent to an icon when the user requests that the window be restored to its previous size and position.
 
constexpr xtd::uint32 WM_ERASEBKGND
 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.
 
constexpr xtd::uint32 WM_SYSCOLORCHANGE
 The WM_SYSCOLORCHANGE message is sent to all top-level windows when a change is made to a system color setting.
 
constexpr xtd::uint32 WM_ENDSESSION
 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.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.
 
constexpr xtd::uint32 WM_SHOWWINDOW
 Sent to a window when the window is about to be hidden or shown.
 
constexpr xtd::uint32 WM_CTLCOLOR
 The WM_CTLCOLOR message is used in 16-bit versions of Windows to change the color scheme of list boxes, the list boxes of combo boxes, message boxes, button controls, edit controls, static controls, and dialog boxes.
 
constexpr xtd::uint32 WM_WININICHANGE
 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.
 
constexpr xtd::uint32 WM_DEVMODECHANGE
 The WM_DEVMODECHANGE message is sent to all top-level windows whenever the user changes device-mode settings.
 
constexpr xtd::uint32 WM_ACTIVATEAPP
 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.
 
constexpr xtd::uint32 WM_FONTCHANGE
 An application sends the WM_FONTCHANGE message to all top-level windows in the system after changing the pool of font resources.
 
constexpr xtd::uint32 WM_TIMECHANGE
 A message that is sent whenever there is a change in the system time.
 
constexpr xtd::uint32 WM_CANCELMODE
 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.
 
constexpr xtd::uint32 WM_SETCURSOR
 Sent to a window if the mouse causes the cursor to move within a window and mouse input is not captured.
 
constexpr xtd::uint32 WM_MOUSEACTIVATE
 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.
 
constexpr xtd::uint32 WM_CHILDACTIVATE
 Sent to a child window when the user clicks the window's title bar or when the window is activated, moved, or sized.
 
constexpr xtd::uint32 WM_QUEUESYNC
 Sent by a computer-based training (CBT) application to separate user-input messages from other messages sent through the WH_JOURNALPLAYBACK procedure.
 
constexpr xtd::uint32 WM_GETMINMAXINFO
 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.
 
constexpr xtd::uint32 WM_PAINTICON
 The WM_PAINTICON message is sent to a minimized window when the icon is to be painted but only if the application is written for Windows 3.x. A window receives this message only if a class icon is defined for the window; otherwise, WM_PAINT is sent instead.
 
constexpr xtd::uint32 WM_ICONERASEBKGND
 An application sends the WM_ERASEBKGND message 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.
 
constexpr xtd::uint32 WM_NEXTDLGCTL
 Sent to a dialog box procedure to set the keyboard focus to a different control in the dialog box.
 
constexpr xtd::uint32 WM_SPOOLERSTATUS
 The WM_SPOOLERSTATUS message is sent from Print Manager whenever a job is added to or removed from the Print Manager queue.
 
constexpr xtd::uint32 WM_DRAWITEM
 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.
 
constexpr xtd::uint32 WM_MEASUREITEM
 Sent to the owner window of a combo box, list box, list-view control, or menu item when the control or menu is created.
 
constexpr xtd::uint32 WM_DELETEITEM
 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.
 
constexpr xtd::uint32 WM_VKEYTOITEM
 Sent by a list box with the LBS_WANTKEYBOARDINPUT style to its owner in response to a WM_KEYDOWN message.
 
constexpr xtd::uint32 WM_CHARTOITEM
 Sent by a list box with the LBS_WANTKEYBOARDINPUT style to its owner in response to a WM_CHAR message.
 
constexpr xtd::uint32 WM_SETFONT
 Sets the font that a control is to use when drawing text.
 
constexpr xtd::uint32 WM_GETFONT
 Retrieves the font with which the control is currently drawing its text.
 
constexpr xtd::uint32 WM_SETHOTKEY
 Sent to a window to associate a hot key with the window. When the user presses the hot key, the system activates the window.
 
constexpr xtd::uint32 WM_GETHOTKEY
 Sent to determine the hot key associated with a window.
 
constexpr xtd::uint32 WM_QUERYDRAGICON
 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.
 
constexpr xtd::uint32 WM_COMPAREITEM
 Sent 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.
 
constexpr xtd::uint32 WM_GETOBJECT
 Sent by both Microsoft Active Accessibility and Microsoft UI Automation to obtain information about an accessible object contained in a server application.
 
constexpr xtd::uint32 WM_COMPACTING
 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.
 
constexpr xtd::uint32 WM_WINDOWPOSCHANGING
 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.
 
constexpr xtd::uint32 WM_WINDOWPOSCHANGED
 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.
 
constexpr xtd::uint32 WM_POWER
 Notifies applications that the system, typically a battery-powered personal computer, is about to enter a suspended mode.
 
constexpr xtd::uint32 WM_COPYDATA
 An application sends the WM_COPYDATA message to pass data to another application.
 
constexpr xtd::uint32 WM_CANCELJOURNAL
 Posted to an application when a user cancels the application's journaling activities. The message is posted with a NULL window handle.
 
constexpr xtd::uint32 WM_NOTIFY
 Sent by a common control to its parent window when an event has occurred or the control requires some information.
 
constexpr xtd::uint32 WM_INPUTLANGCHANGEREQUEST
 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.
 
constexpr xtd::uint32 WM_INPUTLANGCHANGE
 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.
 
constexpr xtd::uint32 WM_TCARD
 Sent to an application that has initiated a training card with 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.
 
constexpr xtd::uint32 WM_HELP
 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.
 
constexpr xtd::uint32 WM_USERCHANGED
 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.
 
constexpr xtd::uint32 WM_NOTIFYFORMAT
 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.
 
constexpr xtd::uint32 WM_CONTEXTMENU
 Notifies a window that the user desires a context menu to appear. The user may have clicked the right mouse button (right-clicked) in the window, pressed Shift+F10 or pressed the applications key (context menu key) available on some keyboards.
 
constexpr xtd::uint32 WM_STYLECHANGING
 Sent to a window when the SetWindowLong function is about to change one or more of the window's styles.
 
constexpr xtd::uint32 WM_STYLECHANGED
 Sent to a window after the SetWindowLong function has changed one or more of the window's styles.
 
constexpr xtd::uint32 WM_DISPLAYCHANGE
 The WM_DISPLAYCHANGE message is sent to all windows when the display resolution has changed.
 
constexpr xtd::uint32 WM_GETICON
 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.
 
constexpr xtd::uint32 WM_SETICON
 Associates 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.
 
constexpr xtd::uint32 WM_NCCREATE
 Sent prior to the WM_CREATE message when a window is first created.
 
constexpr xtd::uint32 WM_NCDESTROY
 Notifies 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.
 
constexpr xtd::uint32 WM_NCCALCSIZE
 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.
 
constexpr xtd::uint32 WM_NCHITTEST
 Sent to a window in order to determine what part of the window corresponds to a particular screen coordinate. This can happen, for example, when the cursor moves, when a mouse button is pressed or released, or in response to a call to a function such as WindowFromPoint. 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.Sent to a window in order to determine what part of the window corresponds to a particular screen coordinate. This can happen, for example, when the cursor moves, when a mouse button is pressed or released, or in response to a call to a function such as WindowFromPoint. 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.
 
constexpr xtd::uint32 WM_NCPAINT
 The WM_NCPAINT message is sent to a window when its frame must be painted.
 
constexpr xtd::uint32 WM_NCACTIVATE
 Sent to a window when its nonclient area needs to be changed to indicate an active or inactive state.
 
constexpr xtd::uint32 WM_GETDLGCODE
 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.
 
constexpr xtd::uint32 WM_SYNCPAINT
 The WM_SYNCPAINT message is used to synchronize painting while avoiding linking independent GUI threads.
 
constexpr xtd::uint32 WM_NCMOUSEMOVE
 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.
 
constexpr xtd::uint32 WM_NCLBUTTONDOWN
 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.
 
constexpr xtd::uint32 WM_NCLBUTTONUP
 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.
 
constexpr xtd::uint32 WM_NCLBUTTONDBLCLK
 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.
 
constexpr xtd::uint32 WM_NCRBUTTONDOWN
 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.
 
constexpr xtd::uint32 WM_NCRBUTTONUP
 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.
 
constexpr xtd::uint32 WM_NCRBUTTONDBLCLK
 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.
 
constexpr xtd::uint32 WM_NCMBUTTONDOWN
 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.
 
constexpr xtd::uint32 WM_NCMBUTTONUP
 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.
 
constexpr xtd::uint32 WM_NCMBUTTONDBLCLK
 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.
 
constexpr xtd::uint32 WM_NCXBUTTONDOWN
 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.
 
constexpr xtd::uint32 WM_NCXBUTTONUP
 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.
 
constexpr xtd::uint32 WM_NCXBUTTONDBLCLK
 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.
 
constexpr xtd::uint32 WM_INPUT_DEVICE_CHANGE
 Sent to the window that registered to receive raw input.
 
constexpr xtd::uint32 WM_INPUT
 Sent to the window that is getting raw input.
 
constexpr xtd::uint32 WM_KEYDOWN
 Posted to the window with the keyboard focus when a nonsystem key is pressed. A nonsystem key is a key that is pressed when the ALT key is not pressed.
 
constexpr xtd::uint32 WM_KEYUP
 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.
 
constexpr xtd::uint32 WM_CHAR
 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.
 
constexpr xtd::uint32 WM_DEADCHAR
 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.
 
constexpr xtd::uint32 WM_SYSKEYDOWN
 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.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.
 
constexpr xtd::uint32 WM_SYSKEYUP
 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.
 
constexpr xtd::uint32 WM_SYSCHAR
 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.
 
constexpr xtd::uint32 WM_SYSDEADCHAR
 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.
 
constexpr xtd::uint32 WM_KEYLAST
 Keyboard message filter value.
 
constexpr xtd::uint32 WM_IME_STARTCOMPOSITION
 Sent immediately before the IME generates the composition string as a result of a keystroke. A window receives this message through its WindowProc function.
 
constexpr xtd::uint32 WM_IME_ENDCOMPOSITION
 Sent to an application when the IME ends composition. A window receives this message through its WindowProc function.
 
constexpr xtd::uint32 WM_INITDIALOG
 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.
 
constexpr xtd::uint32 WM_COMMAND
 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.
 
constexpr xtd::uint32 WM_SYSCOMMAND
 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.
 
constexpr xtd::uint32 WM_TIMER
 Posted to the installing thread's message queue when a timer expires. The message is posted by the GetMessage or PeekMessage function.
 
constexpr xtd::uint32 WM_HSCROLL
 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.
 
constexpr xtd::uint32 WM_VSCROLL
 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.
 
constexpr xtd::uint32 WM_INITMENU
 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.
 
constexpr xtd::uint32 WM_INITMENUPOPUP
 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.
 
constexpr xtd::uint32 WM_GESTURE
 Passes information about a gesture.
 
constexpr xtd::uint32 WM_GESTURENOTIFY
 Gives you a chance to set the gesture configuration.
 
constexpr xtd::uint32 WM_MENUSELECT
 Sent to a menu's owner window when the user selects a menu item.
 
constexpr xtd::uint32 WM_MENUCHAR
 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.
 
constexpr xtd::uint32 WM_ENTERIDLE
 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.
 
constexpr xtd::uint32 WM_MENURBUTTONUP
 Sent when the user releases the right mouse button while the cursor is on a menu item.
 
constexpr xtd::uint32 WM_MENUDRAG
 Sent to the owner of a drag-and-drop menu when the user drags a menu item.
 
constexpr xtd::uint32 WM_MENUGETOBJECT
 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.
 
constexpr xtd::uint32 WM_UNINITMENUPOPUP
 Sent when a drop-down menu or submenu has been destroyed.
 
constexpr xtd::uint32 WM_MENUCOMMAND
 Sent when the user makes a selection from a menu.
 
constexpr xtd::uint32 WM_CHANGEUISTATE
 An application sends the WM_CHANGEUISTATE message to indicate that the UI state should be changed.
 
constexpr xtd::uint32 WM_UPDATEUISTATE
 An application sends the WM_UPDATEUISTATE message to change the UI state for the specified window and all its child windows.
 
constexpr xtd::uint32 WM_QUERYUISTATE
 An application sends the WM_QUERYUISTATE message to retrieve the UI state for a window.
 
constexpr xtd::uint32 WM_CTLCOLORMSGBOX
 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.
 
constexpr xtd::uint32 WM_CTLCOLOREDIT
 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.
 
constexpr xtd::uint32 WM_CTLCOLORLISTBOX
 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.
 
constexpr xtd::uint32 WM_CTLCOLORBTN
 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.
 
constexpr xtd::uint32 WM_CTLCOLORDLG
 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.
 
constexpr xtd::uint32 WM_CTLCOLORSCROLLBAR
 The WM_CTLCOLORSCROLLBAR 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 display context handle to set the background color of the scroll bar control.
 
constexpr xtd::uint32 WM_CTLCOLORSTATIC
 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 foreground and background colors of the static control.
 
constexpr xtd::int32 MN_GETHMENU
 Retrieves the menu handle for the current window.
 
constexpr xtd::uint32 WM_MOUSEMOVE
 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.
 
constexpr xtd::uint32 WM_LBUTTONDOWN
 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.
 
constexpr xtd::uint32 WM_LBUTTONUP
 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.
 
constexpr xtd::uint32 WM_LBUTTONDBLCLK
 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.
 
constexpr xtd::uint32 WM_RBUTTONDOWN
 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.
 
constexpr xtd::uint32 WM_RBUTTONUP
 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.
 
constexpr xtd::uint32 WM_RBUTTONDBLCLK
 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.
 
constexpr xtd::uint32 WM_MBUTTONDOWN
 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.
 
constexpr xtd::uint32 WM_MBUTTONUP
 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.
 
constexpr xtd::uint32 WM_MBUTTONDBLCLK
 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.
 
constexpr xtd::uint32 WM_MOUSEWHEEL
 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.
 
constexpr xtd::uint32 WM_XBUTTONDOWN
 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.
 
constexpr xtd::uint32 WM_XBUTTONUP
 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.
 
constexpr xtd::uint32 WM_XBUTTONDBLCLK
 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.
 
constexpr xtd::uint32 WM_MOUSEHWHEEL
 Sent to the active 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.
 
constexpr xtd::uint32 WM_PARENTNOTIFY
 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.
 
constexpr xtd::uint32 WM_ENTERMENULOOP
 Notifies an application's main window procedure that a menu modal loop has been entered.
 
constexpr xtd::uint32 WM_EXITMENULOOP
 Notifies an application's main window procedure that a menu modal loop has been exited.
 
constexpr xtd::uint32 WM_NEXTMENU
 Sent to an application when the right or left arrow key is used to switch between the menu bar and the system menu.
 
constexpr xtd::uint32 WM_SIZING
 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.
 
constexpr xtd::uint32 WM_CAPTURECHANGED
 Sent to the window that is losing the mouse capture.
 
constexpr xtd::uint32 WM_MOVING
 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.
 
constexpr xtd::uint32 WM_POWERBROADCAST
 Notifies applications that a power-management event has occurred.
 
constexpr xtd::uint32 WM_DEVICECHANGE
 Notifies an application of a change to the hardware configuration of a device or the computer.
 
constexpr xtd::uint32 WM_MDICREATE
 An application sends the WM_MDICREATE message to a multiple-document interface (MDI) client window to create an MDI child window.
 
constexpr xtd::uint32 WM_MDIDESTROY
 An application sends the WM_MDIDESTROY message to a multiple-document interface (MDI) client window to close an MDI child window.
 
constexpr xtd::uint32 WM_MDIACTIVATE
 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.
 
constexpr xtd::uint32 WM_MDIRESTORE
 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.
 
constexpr xtd::uint32 WM_MDINEXT
 An application sends the WM_MDINEXT message to a multiple-document interface (MDI) client window to activate the next or previous child window.
 
constexpr xtd::uint32 WM_MDIMAXIMIZE
 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.
 
constexpr xtd::uint32 WM_MDITILE
 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.
 
constexpr xtd::uint32 WM_MDICASCADE
 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.
 
constexpr xtd::uint32 WM_MDIICONARRANGE
 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.
 
constexpr xtd::uint32 WM_MDIGETACTIVE
 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.
 
constexpr xtd::uint32 WM_MDISETMENU
 An application sends the WM_MDISETMENU message to a multiple-document interface (MDI) client window to replace the entire menu of an MDI frame window, to replace the window menu of the frame window, or both.
 
constexpr xtd::uint32 WM_ENTERSIZEMOVE
 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.
 
constexpr xtd::uint32 WM_EXITSIZEMOVE
 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.
 
constexpr xtd::uint32 WM_DROPFILES
 Sent when the user drops a file on the window of an application that has registered itself as a recipient of dropped files.
 
constexpr xtd::uint32 WM_MDIREFRESHMENU
 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.
 
constexpr xtd::uint32 WM_POINTERDEVICECHANGE
 Sent to a window when there is a change in the settings of a monitor that has a digitizer attached to it. This message contains information regarding the scaling of the display mode.
 
constexpr xtd::uint32 WM_POINTERDEVICEINRANGE
 Sent to a window when a pointer device is detected within range of an input digitizer. This message contains information regarding the device and its proximity.
 
constexpr xtd::uint32 WM_POINTERDEVICEOUTOFRANGE
 Sent to a window when a pointer device has departed the range of an input digitizer. This message contains information regarding the device and its proximity.
 
constexpr xtd::uint32 WM_TOUCH
 Notifies the window when one or more touch points, such as a finger or pen, touches a touch-sensitive digitizer surface.
 
constexpr xtd::uint32 WM_NCPOINTERUPDATE
 Posted to provide an update on a pointer that made contact over the non-client area of a window or when a hovering uncaptured contact moves over the non-client area of a window. While the pointer is hovering, the message targets whichever window the pointer happens to be over. While the pointer is in contact with the surface, the pointer is implicitly captured to the window over which the pointer made contact and that window continues to receive input for the pointer until it breaks contact.
 
constexpr xtd::uint32 WM_NCPOINTERDOWN
 Posted when a pointer makes contact over the non-client area of a window. The message targets the window over which the pointer makes contact. The pointer is implicitly captured to the window so that the window continues to receive input for the pointer until it breaks contact.
 
constexpr xtd::uint32 WM_NCPOINTERUP
 Posted when a pointer that made contact over the non-client area of a window breaks contact. The message targets the window over which the pointer makes contact and the pointer is, at that point, implicitly captured to the window so that the window continues to receive input for the pointer until it breaks contact, including the WM_NCPOINTERUP notification.
 
constexpr xtd::uint32 WM_POINTERUPDATE
 Posted to provide an update on a pointer that made contact over the client area of a window or on a hovering uncaptured pointer over the client area of a window. While the pointer is hovering, the message targets whichever window the pointer happens to be over. While the pointer is in contact with the surface, the pointer is implicitly captured to the window over which the pointer made contact and that window continues to receive input for the pointer until it breaks contact.
 
constexpr xtd::uint32 WM_POINTERDOWN
 Posted when a pointer makes contact over the client area of a window. This input message targets the window over which the pointer makes contact, and the pointer is implicitly captured to the window so that the window continues to receive input for the pointer until it breaks contact.
 
constexpr xtd::uint32 WM_POINTERUP
 Posted when a pointer that made contact over the client area of a window breaks contact. This input message targets the window over which the pointer makes contact and the pointer is, at that point, implicitly captured to the window so that the window continues to receive input messages including the WM_POINTERUP notification for the pointer until it breaks contact.
 
constexpr xtd::uint32 WM_POINTERENTER
 Sent to a window when a new pointer enters detection range over the window (hover) or when an existing pointer moves within the boundaries of the window.
 
constexpr xtd::uint32 WM_POINTERLEAVE
 Sent to a window when a pointer leaves detection range over the window (hover) or when a pointer moves outside the boundaries of the window.
 
constexpr xtd::uint32 WM_POINTERACTIVATE
 Sent to an inactive window when a primary pointer generates a WM_POINTERDOWN over the window. As long as the message remains unhandled, it travels up the parent window chain until it is reaches the top-level window. Applications can respond to this message to specify whether they wish to be activated.
 
constexpr xtd::uint32 WM_POINTERCAPTURECHANGED
 Sent to a window that is losing capture of an input pointer.
 
constexpr xtd::uint32 WM_TOUCHHITTESTING
 Sent to a window on a touch down in order to determine the most probable touch target.
 
constexpr xtd::uint32 WM_POINTERWHEEL
 Posted to the window with foreground keyboard focus when a scroll wheel is rotated.
 
constexpr xtd::uint32 WM_POINTERHWHEEL
 Posted to the window with foreground keyboard focus when a horizontal scroll wheel is rotated.
 
constexpr xtd::int32 DM_POINTERHITTEST
 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.
 
constexpr xtd::uint32 WM_IME_SETCONTEXT
 Sent to an application when a window is activated. A window receives this message through its WindowProc function.v.
 
constexpr xtd::uint32 WM_IME_NOTIFY
 Sent to an application to notify it of changes to the IME window. A window receives this message through its WindowProc function.
 
constexpr xtd::uint32 WM_IME_CONTROL
 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.
 
constexpr xtd::uint32 WM_IME_COMPOSITIONFULL
 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.
 
constexpr xtd::uint32 WM_IME_SELECT
 Sent to an application when the operating system is about to change the current IME. A window receives this message through its WindowProc function.
 
constexpr xtd::uint32 WM_IME_CHAR
 Sent to an application when the IME gets a character of the conversion result. A window receives this message through its WindowProc function.
 
constexpr xtd::uint32 WM_IME_REQUEST
 Sent to an application to provide commands and request information. A window receives this message through its WindowProc function.
 
constexpr xtd::uint32 WM_IME_KEYDOWN
 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.
 
constexpr xtd::uint32 WM_IME_KEYUP
 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.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.
 
constexpr xtd::uint32 WM_MOUSEHOVER
 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.
 
constexpr xtd::uint32 WM_MOUSELEAVE
 Posted to a window when the cursor leaves the client area of the window specified in a prior call to TrackMouseEvent.
 
constexpr xtd::uint32 WM_NCMOUSEHOVER
 Posted to a window when the cursor hovers over the nonclient area of the window for the period of time specified in a prior call to TrackMouseEvent.
 
constexpr xtd::uint32 WM_NCMOUSELEAVE
 Posted to a window when the cursor leaves the nonclient area of the window specified in a prior call to TrackMouseEvent.
 
constexpr xtd::uint32 WM_WTSSESSION_CHANGE
 Notifies applications of changes in session state.
 
constexpr xtd::uint32 WM_DPICHANGED
 Sent when the effective dots per inch (dpi) for a window has changed. The DPI is the scale factor for a window. There are multiple events that can cause the DPI to change. The following list indicates the possible causes for the change in DPI.
 
constexpr xtd::uint32 WM_CUT
 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.
 
constexpr xtd::uint32 WM_COPY
 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.
 
constexpr xtd::uint32 WM_PASTE
 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.
 
constexpr xtd::uint32 WM_CLEAR
 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.
 
constexpr xtd::uint32 WM_UNDO
 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.
 
constexpr xtd::uint32 WM_RENDERFORMAT
 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.
 
constexpr xtd::uint32 WM_RENDERALLFORMATS
 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.
 
constexpr xtd::uint32 WM_DESTROYCLIPBOARD
 Sent to the clipboard owner when a call to the EmptyClipboard function empties the clipboard.
 
constexpr xtd::uint32 WM_DRAWCLIPBOARD
 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.
 
constexpr xtd::uint32 WM_PAINTCLIPBOARD
 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.
 
constexpr xtd::uint32 WM_VSCROLLCLIPBOARD
 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.
 
constexpr xtd::uint32 WM_SIZECLIPBOARD
 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.
 
constexpr xtd::uint32 WM_ASKCBFORMATNAME
 Sent to the clipboard owner by a clipboard viewer window to request the name of a CF_OWNERDISPLAY clipboard format.
 
constexpr xtd::uint32 WM_CHANGECBCHAIN
 Sent to the first window in the clipboard viewer chain when a window is being removed from the chain.
 
constexpr xtd::uint32 WM_HSCROLLCLIPBOARD
 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.
 
constexpr xtd::uint32 WM_QUERYNEWPALETTE
 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.
 
constexpr xtd::uint32 WM_PALETTEISCHANGING
 The WM_PALETTEISCHANGING message informs applications that an application is going to realize its logical palette.
 
constexpr xtd::uint32 WM_PALETTECHANGED
 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.
 
constexpr xtd::uint32 WM_HOTKEY
 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.
 
constexpr xtd::uint32 WM_PRINT
 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.
 
constexpr xtd::uint32 WM_PRINTCLIENT
 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.
 
constexpr xtd::uint32 WM_APPCOMMAND
 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.
 
constexpr xtd::uint32 WM_THEMECHANGED
 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.
 
constexpr xtd::uint32 WM_CLIPBOARDUPDATE
 Sent when the contents of the clipboard have changed.
 
constexpr xtd::uint32 WM_DWMCOMPOSITIONCHANGED
 Informs all top-level windows that Desktop Window Manager (DWM) composition has been enabled or disabled.
 
constexpr xtd::uint32 WM_DWMNCRENDERINGCHANGED
 Sent when the non-client area rendering policy has changed.
 
constexpr xtd::uint32 WM_DWMCOLORIZATIONCOLORCHANGED
 Informs all top-level windows that the colorization color has changed.
 
constexpr xtd::uint32 WM_DWMWINDOWMAXIMIZEDCHANGE
 Sent when a Desktop Window Manager (DWM) composed window is maximized.
 
constexpr xtd::uint32 WM_DWMSENDICONICTHUMBNAIL
 Instructs a window to provide a static bitmap to use as a thumbnail representation of that window.
 
constexpr xtd::uint32 WM_DWMSENDICONICLIVEPREVIEWBITMAP
 Instructs a window to provide a static bitmap to use as a live preview (also known as a Peek preview) of that window.
 
constexpr xtd::uint32 WM_GETTITLEBARINFOEX
 Sent to request extended title bar information. A window receives this message through its WindowProc function.
 
constexpr xtd::uint32 WM_USER
 Used to define private messages for use by private window classes, usually of the form WM_USER+x, where x is an integer value.
 
constexpr xtd::uint32 WM_APP
 Used to define private messages, usually of the form WM_APP+x, where x is an integer value.
 

Variable Documentation

◆ WM_NULL

constexpr xtd::uint32 WM_NULL
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Performs no operation. An application sends the WM_NULL message if it wants to post a message that the recipient window will ignore.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_CREATE

constexpr xtd::uint32 WM_CREATE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_DESTROY

constexpr xtd::uint32 WM_DESTROY
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_MOVE

constexpr xtd::uint32 WM_MOVE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent after a window has been moved.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_SIZE

constexpr xtd::uint32 WM_SIZE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to a window after its size has changed.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_ACTIVATE

constexpr xtd::uint32 WM_ACTIVATE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_SETFOCUS

constexpr xtd::uint32 WM_SETFOCUS
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to a window after it has gained the keyboard focus.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_KILLFOCUS

constexpr xtd::uint32 WM_KILLFOCUS
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to a window immediately before it loses the keyboard focus.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_ENABLE

constexpr xtd::uint32 WM_ENABLE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_SETREDRAW

constexpr xtd::uint32 WM_SETREDRAW
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_SETTEXT

constexpr xtd::uint32 WM_SETTEXT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sets the text of a window.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_GETTEXT

constexpr xtd::uint32 WM_GETTEXT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Copies the text that corresponds to a window into a buffer provided by the caller.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_GETTEXTLENGTH

constexpr xtd::uint32 WM_GETTEXTLENGTH
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Determines the length, in characters, of the text associated with a window.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_PAINT

constexpr xtd::uint32 WM_PAINT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_CLOSE

constexpr xtd::uint32 WM_CLOSE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent as a signal that a window or an application should terminate.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_QUERYENDSESSION

constexpr xtd::uint32 WM_QUERYENDSESSION
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_QUIT

constexpr xtd::uint32 WM_QUIT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Indicates a request to terminate an application, and is generated when the application calls the PostQuitMessage function. This message causes the GetMessage function to return zero.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_QUERYOPEN

constexpr xtd::uint32 WM_QUERYOPEN
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to an icon when the user requests that the window be restored to its previous size and position.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_ERASEBKGND

constexpr xtd::uint32 WM_ERASEBKGND
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_SYSCOLORCHANGE

constexpr xtd::uint32 WM_SYSCOLORCHANGE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

The WM_SYSCOLORCHANGE message is sent to all top-level windows when a change is made to a system color setting.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_ENDSESSION

constexpr xtd::uint32 WM_ENDSESSION
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_SHOWWINDOW

constexpr xtd::uint32 WM_SHOWWINDOW
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to a window when the window is about to be hidden or shown.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_CTLCOLOR

constexpr xtd::uint32 WM_CTLCOLOR
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

The WM_CTLCOLOR message is used in 16-bit versions of Windows to change the color scheme of list boxes, the list boxes of combo boxes, message boxes, button controls, edit controls, static controls, and dialog boxes.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_WININICHANGE

constexpr xtd::uint32 WM_WININICHANGE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_DEVMODECHANGE

constexpr xtd::uint32 WM_DEVMODECHANGE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

The WM_DEVMODECHANGE message is sent to all top-level windows whenever the user changes device-mode settings.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_ACTIVATEAPP

constexpr xtd::uint32 WM_ACTIVATEAPP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp, and wnd_proc.cpp.

◆ WM_FONTCHANGE

constexpr xtd::uint32 WM_FONTCHANGE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

An application sends the WM_FONTCHANGE message to all top-level windows in the system after changing the pool of font resources.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_TIMECHANGE

constexpr xtd::uint32 WM_TIMECHANGE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

A message that is sent whenever there is a change in the system time.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_CANCELMODE

constexpr xtd::uint32 WM_CANCELMODE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_SETCURSOR

constexpr xtd::uint32 WM_SETCURSOR
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to a window if the mouse causes the cursor to move within a window and mouse input is not captured.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MOUSEACTIVATE

constexpr xtd::uint32 WM_MOUSEACTIVATE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_CHILDACTIVATE

constexpr xtd::uint32 WM_CHILDACTIVATE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to a child window when the user clicks the window's title bar or when the window is activated, moved, or sized.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_QUEUESYNC

constexpr xtd::uint32 WM_QUEUESYNC
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent by a computer-based training (CBT) application to separate user-input messages from other messages sent through the WH_JOURNALPLAYBACK procedure.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_GETMINMAXINFO

constexpr xtd::uint32 WM_GETMINMAXINFO
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_PAINTICON

constexpr xtd::uint32 WM_PAINTICON
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

The WM_PAINTICON message is sent to a minimized window when the icon is to be painted but only if the application is written for Windows 3.x. A window receives this message only if a class icon is defined for the window; otherwise, WM_PAINT is sent instead.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_ICONERASEBKGND

constexpr xtd::uint32 WM_ICONERASEBKGND
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

An application sends the WM_ERASEBKGND message 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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NEXTDLGCTL

constexpr xtd::uint32 WM_NEXTDLGCTL
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to a dialog box procedure to set the keyboard focus to a different control in the dialog box.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_SPOOLERSTATUS

constexpr xtd::uint32 WM_SPOOLERSTATUS
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

The WM_SPOOLERSTATUS message is sent from Print Manager whenever a job is added to or removed from the Print Manager queue.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_DRAWITEM

constexpr xtd::uint32 WM_DRAWITEM
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MEASUREITEM

constexpr xtd::uint32 WM_MEASUREITEM
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to the owner window of a combo box, list box, list-view control, or menu item when the control or menu is created.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_DELETEITEM

constexpr xtd::uint32 WM_DELETEITEM
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_VKEYTOITEM

constexpr xtd::uint32 WM_VKEYTOITEM
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent by a list box with the LBS_WANTKEYBOARDINPUT style to its owner in response to a WM_KEYDOWN message.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_CHARTOITEM

constexpr xtd::uint32 WM_CHARTOITEM
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent by a list box with the LBS_WANTKEYBOARDINPUT style to its owner in response to a WM_CHAR message.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_SETFONT

constexpr xtd::uint32 WM_SETFONT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sets the font that a control is to use when drawing text.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_GETFONT

constexpr xtd::uint32 WM_GETFONT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Retrieves the font with which the control is currently drawing its text.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_SETHOTKEY

constexpr xtd::uint32 WM_SETHOTKEY
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to a window to associate a hot key with the window. When the user presses the hot key, the system activates the window.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_GETHOTKEY

constexpr xtd::uint32 WM_GETHOTKEY
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to determine the hot key associated with a window.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_QUERYDRAGICON

constexpr xtd::uint32 WM_QUERYDRAGICON
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_COMPAREITEM

constexpr xtd::uint32 WM_COMPAREITEM
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent 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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_GETOBJECT

constexpr xtd::uint32 WM_GETOBJECT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent by both Microsoft Active Accessibility and Microsoft UI Automation to obtain information about an accessible object contained in a server application.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_COMPACTING

constexpr xtd::uint32 WM_COMPACTING
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_WINDOWPOSCHANGING

constexpr xtd::uint32 WM_WINDOWPOSCHANGING
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_WINDOWPOSCHANGED

constexpr xtd::uint32 WM_WINDOWPOSCHANGED
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_POWER

constexpr xtd::uint32 WM_POWER
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Notifies applications that the system, typically a battery-powered personal computer, is about to enter a suspended mode.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_COPYDATA

constexpr xtd::uint32 WM_COPYDATA
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

An application sends the WM_COPYDATA message to pass data to another application.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_CANCELJOURNAL

constexpr xtd::uint32 WM_CANCELJOURNAL
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Posted to an application when a user cancels the application's journaling activities. The message is posted with a NULL window handle.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NOTIFY

constexpr xtd::uint32 WM_NOTIFY
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent by a common control to its parent window when an event has occurred or the control requires some information.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_INPUTLANGCHANGEREQUEST

constexpr xtd::uint32 WM_INPUTLANGCHANGEREQUEST
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_INPUTLANGCHANGE

constexpr xtd::uint32 WM_INPUTLANGCHANGE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_TCARD

constexpr xtd::uint32 WM_TCARD
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to an application that has initiated a training card with 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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_HELP

constexpr xtd::uint32 WM_HELP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_USERCHANGED

constexpr xtd::uint32 WM_USERCHANGED
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NOTIFYFORMAT

constexpr xtd::uint32 WM_NOTIFYFORMAT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_CONTEXTMENU

constexpr xtd::uint32 WM_CONTEXTMENU
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Notifies a window that the user desires a context menu to appear. The user may have clicked the right mouse button (right-clicked) in the window, pressed Shift+F10 or pressed the applications key (context menu key) available on some keyboards.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_STYLECHANGING

constexpr xtd::uint32 WM_STYLECHANGING
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to a window when the SetWindowLong function is about to change one or more of the window's styles.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_STYLECHANGED

constexpr xtd::uint32 WM_STYLECHANGED
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to a window after the SetWindowLong function has changed one or more of the window's styles.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_DISPLAYCHANGE

constexpr xtd::uint32 WM_DISPLAYCHANGE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

The WM_DISPLAYCHANGE message is sent to all windows when the display resolution has changed.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_GETICON

constexpr xtd::uint32 WM_GETICON
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_SETICON

constexpr xtd::uint32 WM_SETICON
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Associates 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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCCREATE

constexpr xtd::uint32 WM_NCCREATE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent prior to the WM_CREATE message when a window is first created.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCDESTROY

constexpr xtd::uint32 WM_NCDESTROY
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Notifies 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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCCALCSIZE

constexpr xtd::uint32 WM_NCCALCSIZE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCHITTEST

constexpr xtd::uint32 WM_NCHITTEST
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to a window in order to determine what part of the window corresponds to a particular screen coordinate. This can happen, for example, when the cursor moves, when a mouse button is pressed or released, or in response to a call to a function such as WindowFromPoint. 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.Sent to a window in order to determine what part of the window corresponds to a particular screen coordinate. This can happen, for example, when the cursor moves, when a mouse button is pressed or released, or in response to a call to a function such as WindowFromPoint. 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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCPAINT

constexpr xtd::uint32 WM_NCPAINT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

The WM_NCPAINT message is sent to a window when its frame must be painted.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCACTIVATE

constexpr xtd::uint32 WM_NCACTIVATE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to a window when its nonclient area needs to be changed to indicate an active or inactive state.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_GETDLGCODE

constexpr xtd::uint32 WM_GETDLGCODE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_SYNCPAINT

constexpr xtd::uint32 WM_SYNCPAINT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

The WM_SYNCPAINT message is used to synchronize painting while avoiding linking independent GUI threads.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCMOUSEMOVE

constexpr xtd::uint32 WM_NCMOUSEMOVE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCLBUTTONDOWN

constexpr xtd::uint32 WM_NCLBUTTONDOWN
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCLBUTTONUP

constexpr xtd::uint32 WM_NCLBUTTONUP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCLBUTTONDBLCLK

constexpr xtd::uint32 WM_NCLBUTTONDBLCLK
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCRBUTTONDOWN

constexpr xtd::uint32 WM_NCRBUTTONDOWN
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCRBUTTONUP

constexpr xtd::uint32 WM_NCRBUTTONUP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCRBUTTONDBLCLK

constexpr xtd::uint32 WM_NCRBUTTONDBLCLK
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCMBUTTONDOWN

constexpr xtd::uint32 WM_NCMBUTTONDOWN
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCMBUTTONUP

constexpr xtd::uint32 WM_NCMBUTTONUP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCMBUTTONDBLCLK

constexpr xtd::uint32 WM_NCMBUTTONDBLCLK
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCXBUTTONDOWN

constexpr xtd::uint32 WM_NCXBUTTONDOWN
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCXBUTTONUP

constexpr xtd::uint32 WM_NCXBUTTONUP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCXBUTTONDBLCLK

constexpr xtd::uint32 WM_NCXBUTTONDBLCLK
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_INPUT_DEVICE_CHANGE

constexpr xtd::uint32 WM_INPUT_DEVICE_CHANGE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to the window that registered to receive raw input.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_INPUT

constexpr xtd::uint32 WM_INPUT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to the window that is getting raw input.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_KEYDOWN

constexpr xtd::uint32 WM_KEYDOWN
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Posted to the window with the keyboard focus when a nonsystem key is pressed. A nonsystem key is a key that is pressed when the ALT key is not pressed.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_KEYUP

constexpr xtd::uint32 WM_KEYUP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_CHAR

constexpr xtd::uint32 WM_CHAR
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_DEADCHAR

constexpr xtd::uint32 WM_DEADCHAR
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_SYSKEYDOWN

constexpr xtd::uint32 WM_SYSKEYDOWN
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_SYSKEYUP

constexpr xtd::uint32 WM_SYSKEYUP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_SYSCHAR

constexpr xtd::uint32 WM_SYSCHAR
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_SYSDEADCHAR

constexpr xtd::uint32 WM_SYSDEADCHAR
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_KEYLAST

constexpr xtd::uint32 WM_KEYLAST
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Keyboard message filter value.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_IME_STARTCOMPOSITION

constexpr xtd::uint32 WM_IME_STARTCOMPOSITION
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent immediately before the IME generates the composition string as a result of a keystroke. A window receives this message through its WindowProc function.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_IME_ENDCOMPOSITION

constexpr xtd::uint32 WM_IME_ENDCOMPOSITION
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to an application when the IME ends composition. A window receives this message through its WindowProc function.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_INITDIALOG

constexpr xtd::uint32 WM_INITDIALOG
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_COMMAND

constexpr xtd::uint32 WM_COMMAND
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_SYSCOMMAND

constexpr xtd::uint32 WM_SYSCOMMAND
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_TIMER

constexpr xtd::uint32 WM_TIMER
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Posted to the installing thread's message queue when a timer expires. The message is posted by the GetMessage or PeekMessage function.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_HSCROLL

constexpr xtd::uint32 WM_HSCROLL
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_VSCROLL

constexpr xtd::uint32 WM_VSCROLL
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_INITMENU

constexpr xtd::uint32 WM_INITMENU
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_INITMENUPOPUP

constexpr xtd::uint32 WM_INITMENUPOPUP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_GESTURE

constexpr xtd::uint32 WM_GESTURE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Passes information about a gesture.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_GESTURENOTIFY

constexpr xtd::uint32 WM_GESTURENOTIFY
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Gives you a chance to set the gesture configuration.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MENUSELECT

constexpr xtd::uint32 WM_MENUSELECT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to a menu's owner window when the user selects a menu item.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MENUCHAR

constexpr xtd::uint32 WM_MENUCHAR
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_ENTERIDLE

constexpr xtd::uint32 WM_ENTERIDLE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MENURBUTTONUP

constexpr xtd::uint32 WM_MENURBUTTONUP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent when the user releases the right mouse button while the cursor is on a menu item.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MENUDRAG

constexpr xtd::uint32 WM_MENUDRAG
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to the owner of a drag-and-drop menu when the user drags a menu item.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MENUGETOBJECT

constexpr xtd::uint32 WM_MENUGETOBJECT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_UNINITMENUPOPUP

constexpr xtd::uint32 WM_UNINITMENUPOPUP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent when a drop-down menu or submenu has been destroyed.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MENUCOMMAND

constexpr xtd::uint32 WM_MENUCOMMAND
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent when the user makes a selection from a menu.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_CHANGEUISTATE

constexpr xtd::uint32 WM_CHANGEUISTATE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

An application sends the WM_CHANGEUISTATE message to indicate that the UI state should be changed.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_UPDATEUISTATE

constexpr xtd::uint32 WM_UPDATEUISTATE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

An application sends the WM_UPDATEUISTATE message to change the UI state for the specified window and all its child windows.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_QUERYUISTATE

constexpr xtd::uint32 WM_QUERYUISTATE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

An application sends the WM_QUERYUISTATE message to retrieve the UI state for a window.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_CTLCOLORMSGBOX

constexpr xtd::uint32 WM_CTLCOLORMSGBOX
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_CTLCOLOREDIT

constexpr xtd::uint32 WM_CTLCOLOREDIT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_CTLCOLORLISTBOX

constexpr xtd::uint32 WM_CTLCOLORLISTBOX
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_CTLCOLORBTN

constexpr xtd::uint32 WM_CTLCOLORBTN
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_CTLCOLORDLG

constexpr xtd::uint32 WM_CTLCOLORDLG
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_CTLCOLORSCROLLBAR

constexpr xtd::uint32 WM_CTLCOLORSCROLLBAR
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

The WM_CTLCOLORSCROLLBAR 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 display context handle to set the background color of the scroll bar control.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_CTLCOLORSTATIC

constexpr xtd::uint32 WM_CTLCOLORSTATIC
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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 foreground and background colors of the static control.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ MN_GETHMENU

constexpr xtd::int32 MN_GETHMENU
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Retrieves the menu handle for the current window.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MOUSEMOVE

constexpr xtd::uint32 WM_MOUSEMOVE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_LBUTTONDOWN

constexpr xtd::uint32 WM_LBUTTONDOWN
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
application_add_message_filter.cpp, and form_and_messages.cpp.

◆ WM_LBUTTONUP

constexpr xtd::uint32 WM_LBUTTONUP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_LBUTTONDBLCLK

constexpr xtd::uint32 WM_LBUTTONDBLCLK
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_RBUTTONDOWN

constexpr xtd::uint32 WM_RBUTTONDOWN
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_RBUTTONUP

constexpr xtd::uint32 WM_RBUTTONUP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_RBUTTONDBLCLK

constexpr xtd::uint32 WM_RBUTTONDBLCLK
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_MBUTTONDOWN

constexpr xtd::uint32 WM_MBUTTONDOWN
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_MBUTTONUP

constexpr xtd::uint32 WM_MBUTTONUP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_MBUTTONDBLCLK

constexpr xtd::uint32 WM_MBUTTONDBLCLK
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_MOUSEWHEEL

constexpr xtd::uint32 WM_MOUSEWHEEL
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_XBUTTONDOWN

constexpr xtd::uint32 WM_XBUTTONDOWN
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_XBUTTONUP

constexpr xtd::uint32 WM_XBUTTONUP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_XBUTTONDBLCLK

constexpr xtd::uint32 WM_XBUTTONDBLCLK
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_MOUSEHWHEEL

constexpr xtd::uint32 WM_MOUSEHWHEEL
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to the active 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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_PARENTNOTIFY

constexpr xtd::uint32 WM_PARENTNOTIFY
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_ENTERMENULOOP

constexpr xtd::uint32 WM_ENTERMENULOOP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Notifies an application's main window procedure that a menu modal loop has been entered.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_EXITMENULOOP

constexpr xtd::uint32 WM_EXITMENULOOP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Notifies an application's main window procedure that a menu modal loop has been exited.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NEXTMENU

constexpr xtd::uint32 WM_NEXTMENU
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to an application when the right or left arrow key is used to switch between the menu bar and the system menu.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_SIZING

constexpr xtd::uint32 WM_SIZING
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_CAPTURECHANGED

constexpr xtd::uint32 WM_CAPTURECHANGED
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to the window that is losing the mouse capture.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MOVING

constexpr xtd::uint32 WM_MOVING
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_POWERBROADCAST

constexpr xtd::uint32 WM_POWERBROADCAST
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Notifies applications that a power-management event has occurred.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_DEVICECHANGE

constexpr xtd::uint32 WM_DEVICECHANGE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Notifies an application of a change to the hardware configuration of a device or the computer.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MDICREATE

constexpr xtd::uint32 WM_MDICREATE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

An application sends the WM_MDICREATE message to a multiple-document interface (MDI) client window to create an MDI child window.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MDIDESTROY

constexpr xtd::uint32 WM_MDIDESTROY
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

An application sends the WM_MDIDESTROY message to a multiple-document interface (MDI) client window to close an MDI child window.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MDIACTIVATE

constexpr xtd::uint32 WM_MDIACTIVATE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MDIRESTORE

constexpr xtd::uint32 WM_MDIRESTORE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MDINEXT

constexpr xtd::uint32 WM_MDINEXT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

An application sends the WM_MDINEXT message to a multiple-document interface (MDI) client window to activate the next or previous child window.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MDIMAXIMIZE

constexpr xtd::uint32 WM_MDIMAXIMIZE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MDITILE

constexpr xtd::uint32 WM_MDITILE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MDICASCADE

constexpr xtd::uint32 WM_MDICASCADE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MDIICONARRANGE

constexpr xtd::uint32 WM_MDIICONARRANGE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MDIGETACTIVE

constexpr xtd::uint32 WM_MDIGETACTIVE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MDISETMENU

constexpr xtd::uint32 WM_MDISETMENU
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

An application sends the WM_MDISETMENU message to a multiple-document interface (MDI) client window to replace the entire menu of an MDI frame window, to replace the window menu of the frame window, or both.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_ENTERSIZEMOVE

constexpr xtd::uint32 WM_ENTERSIZEMOVE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_EXITSIZEMOVE

constexpr xtd::uint32 WM_EXITSIZEMOVE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_DROPFILES

constexpr xtd::uint32 WM_DROPFILES
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent when the user drops a file on the window of an application that has registered itself as a recipient of dropped files.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MDIREFRESHMENU

constexpr xtd::uint32 WM_MDIREFRESHMENU
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_POINTERDEVICECHANGE

constexpr xtd::uint32 WM_POINTERDEVICECHANGE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to a window when there is a change in the settings of a monitor that has a digitizer attached to it. This message contains information regarding the scaling of the display mode.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_POINTERDEVICEINRANGE

constexpr xtd::uint32 WM_POINTERDEVICEINRANGE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to a window when a pointer device is detected within range of an input digitizer. This message contains information regarding the device and its proximity.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_POINTERDEVICEOUTOFRANGE

constexpr xtd::uint32 WM_POINTERDEVICEOUTOFRANGE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to a window when a pointer device has departed the range of an input digitizer. This message contains information regarding the device and its proximity.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_TOUCH

constexpr xtd::uint32 WM_TOUCH
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Notifies the window when one or more touch points, such as a finger or pen, touches a touch-sensitive digitizer surface.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCPOINTERUPDATE

constexpr xtd::uint32 WM_NCPOINTERUPDATE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Posted to provide an update on a pointer that made contact over the non-client area of a window or when a hovering uncaptured contact moves over the non-client area of a window. While the pointer is hovering, the message targets whichever window the pointer happens to be over. While the pointer is in contact with the surface, the pointer is implicitly captured to the window over which the pointer made contact and that window continues to receive input for the pointer until it breaks contact.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCPOINTERDOWN

constexpr xtd::uint32 WM_NCPOINTERDOWN
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Posted when a pointer makes contact over the non-client area of a window. The message targets the window over which the pointer makes contact. The pointer is implicitly captured to the window so that the window continues to receive input for the pointer until it breaks contact.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCPOINTERUP

constexpr xtd::uint32 WM_NCPOINTERUP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Posted when a pointer that made contact over the non-client area of a window breaks contact. The message targets the window over which the pointer makes contact and the pointer is, at that point, implicitly captured to the window so that the window continues to receive input for the pointer until it breaks contact, including the WM_NCPOINTERUP notification.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_POINTERUPDATE

constexpr xtd::uint32 WM_POINTERUPDATE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Posted to provide an update on a pointer that made contact over the client area of a window or on a hovering uncaptured pointer over the client area of a window. While the pointer is hovering, the message targets whichever window the pointer happens to be over. While the pointer is in contact with the surface, the pointer is implicitly captured to the window over which the pointer made contact and that window continues to receive input for the pointer until it breaks contact.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_POINTERDOWN

constexpr xtd::uint32 WM_POINTERDOWN
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Posted when a pointer makes contact over the client area of a window. This input message targets the window over which the pointer makes contact, and the pointer is implicitly captured to the window so that the window continues to receive input for the pointer until it breaks contact.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_POINTERUP

constexpr xtd::uint32 WM_POINTERUP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Posted when a pointer that made contact over the client area of a window breaks contact. This input message targets the window over which the pointer makes contact and the pointer is, at that point, implicitly captured to the window so that the window continues to receive input messages including the WM_POINTERUP notification for the pointer until it breaks contact.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_POINTERENTER

constexpr xtd::uint32 WM_POINTERENTER
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to a window when a new pointer enters detection range over the window (hover) or when an existing pointer moves within the boundaries of the window.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_POINTERLEAVE

constexpr xtd::uint32 WM_POINTERLEAVE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to a window when a pointer leaves detection range over the window (hover) or when a pointer moves outside the boundaries of the window.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_POINTERACTIVATE

constexpr xtd::uint32 WM_POINTERACTIVATE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to an inactive window when a primary pointer generates a WM_POINTERDOWN over the window. As long as the message remains unhandled, it travels up the parent window chain until it is reaches the top-level window. Applications can respond to this message to specify whether they wish to be activated.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_POINTERCAPTURECHANGED

constexpr xtd::uint32 WM_POINTERCAPTURECHANGED
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to a window that is losing capture of an input pointer.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_TOUCHHITTESTING

constexpr xtd::uint32 WM_TOUCHHITTESTING
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to a window on a touch down in order to determine the most probable touch target.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_POINTERWHEEL

constexpr xtd::uint32 WM_POINTERWHEEL
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Posted to the window with foreground keyboard focus when a scroll wheel is rotated.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_POINTERHWHEEL

constexpr xtd::uint32 WM_POINTERHWHEEL
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Posted to the window with foreground keyboard focus when a horizontal scroll wheel is rotated.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ DM_POINTERHITTEST

constexpr xtd::int32 DM_POINTERHITTEST
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_IME_SETCONTEXT

constexpr xtd::uint32 WM_IME_SETCONTEXT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to an application when a window is activated. A window receives this message through its WindowProc function.v.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_IME_NOTIFY

constexpr xtd::uint32 WM_IME_NOTIFY
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to an application to notify it of changes to the IME window. A window receives this message through its WindowProc function.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_IME_CONTROL

constexpr xtd::uint32 WM_IME_CONTROL
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_IME_COMPOSITIONFULL

constexpr xtd::uint32 WM_IME_COMPOSITIONFULL
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_IME_SELECT

constexpr xtd::uint32 WM_IME_SELECT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to an application when the operating system is about to change the current IME. A window receives this message through its WindowProc function.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_IME_CHAR

constexpr xtd::uint32 WM_IME_CHAR
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to an application when the IME gets a character of the conversion result. A window receives this message through its WindowProc function.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_IME_REQUEST

constexpr xtd::uint32 WM_IME_REQUEST
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to an application to provide commands and request information. A window receives this message through its WindowProc function.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_IME_KEYDOWN

constexpr xtd::uint32 WM_IME_KEYDOWN
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_IME_KEYUP

constexpr xtd::uint32 WM_IME_KEYUP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MOUSEHOVER

constexpr xtd::uint32 WM_MOUSEHOVER
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_MOUSELEAVE

constexpr xtd::uint32 WM_MOUSELEAVE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Posted to a window when the cursor leaves the client area of the window specified in a prior call to TrackMouseEvent.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .
Examples
form_and_messages.cpp.

◆ WM_NCMOUSEHOVER

constexpr xtd::uint32 WM_NCMOUSEHOVER
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Posted to a window when the cursor hovers over the nonclient area of the window for the period of time specified in a prior call to TrackMouseEvent.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_NCMOUSELEAVE

constexpr xtd::uint32 WM_NCMOUSELEAVE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Posted to a window when the cursor leaves the nonclient area of the window specified in a prior call to TrackMouseEvent.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_WTSSESSION_CHANGE

constexpr xtd::uint32 WM_WTSSESSION_CHANGE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Notifies applications of changes in session state.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_DPICHANGED

constexpr xtd::uint32 WM_DPICHANGED
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent when the effective dots per inch (dpi) for a window has changed. The DPI is the scale factor for a window. There are multiple events that can cause the DPI to change. The following list indicates the possible causes for the change in DPI.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_CUT

constexpr xtd::uint32 WM_CUT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_COPY

constexpr xtd::uint32 WM_COPY
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_PASTE

constexpr xtd::uint32 WM_PASTE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_CLEAR

constexpr xtd::uint32 WM_CLEAR
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_UNDO

constexpr xtd::uint32 WM_UNDO
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_RENDERFORMAT

constexpr xtd::uint32 WM_RENDERFORMAT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_RENDERALLFORMATS

constexpr xtd::uint32 WM_RENDERALLFORMATS
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_DESTROYCLIPBOARD

constexpr xtd::uint32 WM_DESTROYCLIPBOARD
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to the clipboard owner when a call to the EmptyClipboard function empties the clipboard.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_DRAWCLIPBOARD

constexpr xtd::uint32 WM_DRAWCLIPBOARD
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_PAINTCLIPBOARD

constexpr xtd::uint32 WM_PAINTCLIPBOARD
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_VSCROLLCLIPBOARD

constexpr xtd::uint32 WM_VSCROLLCLIPBOARD
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_SIZECLIPBOARD

constexpr xtd::uint32 WM_SIZECLIPBOARD
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_ASKCBFORMATNAME

constexpr xtd::uint32 WM_ASKCBFORMATNAME
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to the clipboard owner by a clipboard viewer window to request the name of a CF_OWNERDISPLAY clipboard format.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_CHANGECBCHAIN

constexpr xtd::uint32 WM_CHANGECBCHAIN
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to the first window in the clipboard viewer chain when a window is being removed from the chain.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_HSCROLLCLIPBOARD

constexpr xtd::uint32 WM_HSCROLLCLIPBOARD
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_QUERYNEWPALETTE

constexpr xtd::uint32 WM_QUERYNEWPALETTE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_PALETTEISCHANGING

constexpr xtd::uint32 WM_PALETTEISCHANGING
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

The WM_PALETTEISCHANGING message informs applications that an application is going to realize its logical palette.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_PALETTECHANGED

constexpr xtd::uint32 WM_PALETTECHANGED
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_HOTKEY

constexpr xtd::uint32 WM_HOTKEY
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_PRINT

constexpr xtd::uint32 WM_PRINT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_PRINTCLIENT

constexpr xtd::uint32 WM_PRINTCLIENT
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_APPCOMMAND

constexpr xtd::uint32 WM_APPCOMMAND
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_THEMECHANGED

constexpr xtd::uint32 WM_THEMECHANGED
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

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.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_CLIPBOARDUPDATE

constexpr xtd::uint32 WM_CLIPBOARDUPDATE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent when the contents of the clipboard have changed.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_DWMCOMPOSITIONCHANGED

constexpr xtd::uint32 WM_DWMCOMPOSITIONCHANGED
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Informs all top-level windows that Desktop Window Manager (DWM) composition has been enabled or disabled.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_DWMNCRENDERINGCHANGED

constexpr xtd::uint32 WM_DWMNCRENDERINGCHANGED
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent when the non-client area rendering policy has changed.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_DWMCOLORIZATIONCOLORCHANGED

constexpr xtd::uint32 WM_DWMCOLORIZATIONCOLORCHANGED
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Informs all top-level windows that the colorization color has changed.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_DWMWINDOWMAXIMIZEDCHANGE

constexpr xtd::uint32 WM_DWMWINDOWMAXIMIZEDCHANGE
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent when a Desktop Window Manager (DWM) composed window is maximized.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_DWMSENDICONICTHUMBNAIL

constexpr xtd::uint32 WM_DWMSENDICONICTHUMBNAIL
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Instructs a window to provide a static bitmap to use as a thumbnail representation of that window.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_DWMSENDICONICLIVEPREVIEWBITMAP

constexpr xtd::uint32 WM_DWMSENDICONICLIVEPREVIEWBITMAP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Instructs a window to provide a static bitmap to use as a live preview (also known as a Peek preview) of that window.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_GETTITLEBARINFOEX

constexpr xtd::uint32 WM_GETTITLEBARINFOEX
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Sent to request extended title bar information. A window receives this message through its WindowProc function.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_USER

constexpr xtd::uint32 WM_USER
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Used to define private messages for use by private window classes, usually of the form WM_USER+x, where x is an integer value.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .

◆ WM_APP

constexpr xtd::uint32 WM_APP
constexpr

#include <xtd.forms.native/include/xtd/forms/window_messages.h>

Used to define private messages, usually of the form WM_APP+x, where x is an integer value.

Library
xtd.forms.native
Remarks
This value can be contained in the xtd::forms::message::msg property.
For more info see https://docs.microsoft.com .