Enum WindowsMessages
All possible windows messages
Namespace: Dapplo.Windows.Messages
Assembly: Dapplo.Windows.Messages.dll
Syntax
public enum WindowsMessages : uint
Fields
Name | Description |
---|---|
CB_ADDSTRING | |
CB_DELETESTRING | |
CB_DIR | |
CB_FINDSTRING | |
CB_FINDSTRINGEXACT | |
CB_GETCOMBOBOXINFO | |
CB_GETCOUNT | |
CB_GETCURSEL | |
CB_GETDROPPEDCONTROLRECT | |
CB_GETDROPPEDSTATE | |
CB_GETDROPPEDWIDTH | |
CB_GETEDITSEL | |
CB_GETEXTENDEDUI | |
CB_GETHORIZONTALEXTENT | |
CB_GETITEMDATA | |
CB_GETITEMHEIGHT | |
CB_GETLBTEXT | |
CB_GETLBTEXTLEN | |
CB_GETLOCALE | |
CB_GETTOPINDEX | |
CB_INITSTORAGE | |
CB_INSERTSTRING | |
CB_LIMITTEXT | |
CB_MSGMAX | |
CB_MSGMAX_OLD | |
CB_MULTIPLEADDSTRING | |
CB_RESETCONTENT | |
CB_SELECTSTRING | |
CB_SETCURSEL | |
CB_SETDROPPEDWIDTH | |
CB_SETEDITSEL | |
CB_SETEXTENDEDUI | |
CB_SETHORIZONTALEXTENT | |
CB_SETITEMDATA | |
CB_SETITEMHEIGHT | |
CB_SETLOCALE | |
CB_SETTOPINDEX | |
CB_SHOWDROPDOWN | |
EM_CANUNDO | |
EM_CHARFROMPOS | |
EM_EMPTYUNDOBUFFER | |
EM_FMTLINES | |
EM_GETFIRSTVISIBLELINE | |
EM_GETHANDLE | |
EM_GETIMESTATUS | |
EM_GETLIMITTEXT | |
EM_GETLINE | |
EM_GETLINECOUNT | |
EM_GETMARGINS | |
EM_GETMODIFY | |
EM_GETPASSWORDCHAR | |
EM_GETRECT | |
EM_GETSEL | |
EM_GETTHUMB | |
EM_GETWORDBREAKPROC | |
EM_LIMITTEXT | |
EM_LINEFROMCHAR | |
EM_LINEINDEX | |
EM_LINELENGTH | |
EM_LINESCROLL | |
EM_MSGMAX | |
EM_POSFROMCHAR | |
EM_REPLACESEL | |
EM_SCROLL | |
EM_SCROLLCARET | |
EM_SETFONT | |
EM_SETHANDLE | |
EM_SETIMESTATUS | |
EM_SETMARGINS | |
EM_SETMODIFY | |
EM_SETPASSWORDCHAR | |
EM_SETREADONLY | |
EM_SETRECT | |
EM_SETRECTNP | |
EM_SETSEL | |
EM_SETTABSTOPS | |
EM_SETWORDBREAK | |
EM_SETWORDBREAKPROC | |
EM_UNDO | |
LB_ADDFILE | |
LB_ADDSTRING | |
LB_ADDSTRINGLOWER | |
LB_ADDSTRINGUPPER | |
LB_DELETESTRING | |
LB_DIR | |
LB_FINDSTRING | |
LB_FINDSTRINGEXACT | |
LB_GETANCHORINDEX | |
LB_GETCARETINDEX | |
LB_GETCOUNT | |
LB_GETCURSEL | |
LB_GETHORIZONTALEXTENT | |
LB_GETITEMDATA | |
LB_GETITEMHEIGHT | |
LB_GETITEMRECT | |
LB_GETLISTBOXINFO | |
LB_GETLOCALE | |
LB_GETSEL | |
LB_GETSELCOUNT | |
LB_GETSELITEMS | |
LB_GETTEXT | |
LB_GETTEXTLEN | |
LB_GETTOPINDEX | |
LB_INITSTORAGE | |
LB_INSERTSTRING | |
LB_INSERTSTRINGLOWER | |
LB_INSERTSTRINGUPPER | |
LB_ITEMFROMPOINT | |
LB_MSGMAX | |
LB_MSGMAX_OLD | |
LB_MULTIPLEADDSTRING | |
LB_RESETCONTENT | |
LB_SELECTSTRING | |
LB_SELITEMRANGE | |
LB_SELITEMRANGEEX | |
LB_SETANCHORINDEX | |
LB_SETCARETINDEX | |
LB_SETCOLUMNWIDTH | |
LB_SETCOUNT | |
LB_SETCURSEL | |
LB_SETHORIZONTALEXTENT | |
LB_SETITEMDATA | |
LB_SETITEMHEIGHT | |
LB_SETLOCALE | |
LB_SETSEL | |
LB_SETTABSTOPS | |
LB_SETTOPINDEX | |
LBCB_CARETOFF | |
LBCB_CARETON | |
LBCB_ENDTRACK | |
LBCB_STARTTRACK | |
MM_DRVM_CLOSE | |
MM_DRVM_DATA | |
MM_DRVM_ERROR | |
MM_DRVM_OPEN | |
MM_JOY1BUTTONDOWN | |
MM_JOY1BUTTONUP | |
MM_JOY1MOVE | |
MM_JOY1ZMOVE | |
MM_JOY2BUTTONDOWN | |
MM_JOY2BUTTONUP | |
MM_JOY2MOVE | |
MM_JOY2ZMOVE | |
MM_MCINOTIFY | |
MM_MCISIGNAL | |
MM_MIM_CLOSE | |
MM_MIM_DATA | |
MM_MIM_ERROR | |
MM_MIM_LONGDATA | |
MM_MIM_LONGERROR | |
MM_MIM_MOREDATA | |
MM_MIM_OPEN | |
MM_MIXM_CONTROL_CHANGE | |
MM_MIXM_LINE_CHANGE | |
MM_MOM_CLOSE | |
MM_MOM_DONE | |
MM_MOM_OPEN | |
MM_MOM_POSITIONCB | |
MM_STREAM_CLOSE | |
MM_STREAM_DONE | |
MM_STREAM_ERROR | |
MM_STREAM_OPEN | |
MM_WIM_CLOSE | |
MM_WIM_DATA | |
MM_WIM_OPEN | |
MM_WOM_CLOSE | |
MM_WOM_DONE | |
MM_WOM_OPEN | |
MN_FIRST | |
WM_ACTIVATE | |
WM_ACTIVATEAPP | |
WM_AFXFIRST | |
WM_AFXLAST | |
WM_APP | |
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. WM_APPCOMMAND message |
WM_APPLICATION_STRING | From this value to |
WM_ASKCBFORMATNAME | Sent to the clipboard owner by a clipboard viewer window to request the name of a CF_OWNERDISPLAY clipboard format. A window receives this message through its WindowProc function. See WM_ASKCBFORMATNAME message |
WM_BRIGHTNESSCHANGED | |
WM_BSDRDATA | |
WM_CANCELJOURNAL | |
WM_CANCELMODE | |
WM_CAPTURECHANGED | |
WM_CHANGECBCHAIN | Sent to the first window in the clipboard viewer chain when a window is being removed from the chain. A window receives this message through its WindowProc function. See WM_CHANGECBCHAIN message |
WM_CHANGEUISTATE | |
WM_CHAR | |
WM_CHARTOITEM | |
WM_CHILDACTIVATE | |
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. WM_CLEAR message |
WM_CLIPBOARDUPDATE | |
WM_CLOSE | |
WM_COMMAND | |
WM_COMMNOTIFY | |
WM_COMPACTING | |
WM_COMPAREITEM | |
WM_CONTEXTMENU | |
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. WM_COPY message |
WM_COPYDATA | |
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. A window receives this message through its WindowProc function. WM_CREATE message |
WM_CTLCOLORBTN | |
WM_CTLCOLORDLG | |
WM_CTLCOLOREDIT | |
WM_CTLCOLORLISTBOX | |
WM_CTLCOLORMSGBOX | |
WM_CTLCOLORSCROLLBAR | |
WM_CTLCOLORSTATIC | |
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. WM_CUT message |
WM_DEADCHAR | |
WM_DELETEITEM | |
WM_DESKTOPNOTIFY | |
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. This message is sent first to the window being destroyed and then to the child windows (if any) as they are destroyed. During the processing of the message, it can be assumed that all child windows still exist. A window receives this message through its WindowProc function. WM_DESTROY message |
WM_DESTROYCLIPBOARD | Sent to the clipboard owner when a call to the EmptyClipboard function empties the clipboard. A window receives this message through its WindowProc function. WM_DESTROYCLIPBOARD message |
WM_DEVICECHANGE | |
WM_DEVMODECHANGE | |
WM_DISPLAYCHANGE | |
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.
|
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. A window receives this message through its WindowProc function. WM_DRAWCLIPBOARD message |
WM_DRAWITEM | |
WM_DROPFILES | |
WM_DWMCOLORIZATIONCOLORCHANGED | |
WM_DWMCOMPOSITIONCHANGED | |
WM_DWMEXILEFRAME | |
WM_DWMNCRENDERINGCHANGED | |
WM_DWMSENDICONICLIVEPREVIEWBITMAP | |
WM_DWMSENDICONICTHUMBNAIL | |
WM_DWMTHUMBNAILSIZECHANGED | |
WM_DWMTRANSITIONSTATECHANGED | |
WM_DWMWINDOWMAXIMIZEDCHANGE | |
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. A window receives this message through its WindowProc function. WM_ENABLE message |
WM_ENDSESSION | |
WM_ENTERIDLE | |
WM_ENTERMENULOOP | |
WM_ENTERSIZEMOVE | |
WM_ERASEBKGND | |
WM_EXITMENULOOP | |
WM_EXITPROCESS | |
WM_EXITSIZEMOVE | |
WM_FLICK | |
WM_FLICKINTERNAL | |
WM_FONTCHANGE | |
WM_FORWARDKEYDOWN | |
WM_FORWARDKEYUP | |
WM_GETACTIONTEXT | |
WM_GETDLGCODE | |
WM_GETFONT | |
WM_GETHMENU | |
WM_GETHOTKEY | |
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. A window receives this message through its WindowProc function. WM_GETICON message |
WM_GETMINMAXINFO | |
WM_GETOBJECT | |
WM_GETTEXT | |
WM_GETTEXTLENGTH | |
WM_GETTITLEBARINFOEX | |
WM_HANDHELDFIRST | |
WM_HANDHELDLAST | |
WM_HELP | |
WM_HOOKMSG | |
WM_HOTKEY | |
WM_HSCROLL | |
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. See WM_HSCROLLCLIPBOARD message |
WM_ICONERASEBKGND | |
WM_IME_CHAR | |
WM_IME_COMPOSITION | |
WM_IME_COMPOSITIONFULL | |
WM_IME_CONTROL | |
WM_IME_ENDCOMPOSITION | |
WM_IME_KEYDOWN | |
WM_IME_KEYLAST | |
WM_IME_KEYUP | |
WM_IME_NOTIFY | |
WM_IME_REPORT | |
WM_IME_REQUEST | |
WM_IME_SELECT | |
WM_IME_SETCONTEXT | |
WM_IME_STARTCOMPOSITION | |
WM_INITDIALOG | |
WM_INITMENU | |
WM_INITMENUPOPUP | |
WM_INPUT | |
WM_INPUT_DEVICE_CHANGE | |
WM_INPUTLANGCHANGE | |
WM_INPUTLANGCHANGEREQUEST | |
WM_KEYBOARDCORRECTIONACTION | |
WM_KEYBOARDCORRECTIONCALLOUT | |
WM_KEYDOWN | |
WM_KEYFIRST | |
WM_KEYLAST | |
WM_KEYUP | |
WM_KILLFOCUS | |
WM_KLUDGEMINRECT | |
WM_LBUTTONDBLCLK | |
WM_LBUTTONDOWN | |
WM_LBUTTONUP | |
WM_LPKDRAWSWITCHWND | |
WM_MAGNIFICATION_ENDED | |
WM_MAGNIFICATION_OUTPUT | |
WM_MAGNIFICATION_STARTED | |
WM_MBUTTONDBLCLK | |
WM_MBUTTONDOWN | |
WM_MBUTTONUP | |
WM_MDIACTIVATE | |
WM_MDICASCADE | |
WM_MDICREATE | |
WM_MDIDESTROY | |
WM_MDIGETACTIVE | |
WM_MDIICONARRANGE | |
WM_MDIMAXIMIZE | |
WM_MDINEXT | |
WM_MDIREFRESHMENU | |
WM_MDIRESTORE | |
WM_MDISETMENU | |
WM_MDITILE | |
WM_MEASURECONTROL | |
WM_MEASUREITEM | |
WM_MENUCHAR | |
WM_MENUCOMMAND | |
WM_MENUDRAG | |
WM_MENUGETOBJECT | |
WM_MENURBUTTONUP | |
WM_MENUSELECT | |
WM_MOUSEACTIVATE | |
WM_MOUSEFIRST | |
WM_MOUSEHOVER | |
WM_MOUSEHWHEEL | |
WM_MOUSELEAVE | |
WM_MOUSEMOVE | |
WM_MOUSEWHEEL | |
WM_MOVE | |
WM_MOVING | |
WM_NCACTIVATE | |
WM_NCCALCSIZE | |
WM_NCCREATE | Sent prior to the WM_CREATE message when a window is first created. A window receives this message through its WindowProc function. WM_NCCREATE message |
WM_NCDESTROY | |
WM_NCHITTEST | |
WM_NCLBUTTONDBLCLK | |
WM_NCLBUTTONDOWN | |
WM_NCLBUTTONUP | |
WM_NCMBUTTONDBLCLK | |
WM_NCMBUTTONDOWN | |
WM_NCMBUTTONUP | |
WM_NCMOUSEHOVER | |
WM_NCMOUSELEAVE | |
WM_NCMOUSEMOVE | |
WM_NCPAINT | |
WM_NCRBUTTONDBLCLK | |
WM_NCRBUTTONDOWN | |
WM_NCRBUTTONUP | |
WM_NCUAHDRAWCAPTION | |
WM_NCUAHDRAWFRAME | |
WM_NCXBUTTONDBLCLK | |
WM_NCXBUTTONDOWN | |
WM_NCXBUTTONUP | |
WM_NEXTDLGCTL | |
WM_NEXTMENU | |
WM_NOTIFY | |
WM_NOTIFYFORMAT | |
WM_NOTIFYWOW | |
WM_NULL | |
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. A window receives this message through its WindowProc function. WM_PAINT message |
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. WM_PAINTCLIPBOARD message |
WM_PAINTICON | |
WM_PALETTECHANGED | |
WM_PALETTEISCHANGING | |
WM_PARENTNOTIFY | |
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. WM_PASTE message |
WM_PENWINFIRST | |
WM_PENWINLAST | |
WM_POINTERDEVICEADDED | |
WM_POINTERDEVICEDELETED | |
WM_POWER | |
WM_POWERBROADCAST | |
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. A window receives this message through its WindowProc function. WM_PRINT message |
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. Unlike WM_PRINT, WM_PRINTCLIENT is not processed by DefWindowProc. A window should process the WM_PRINTCLIENT message through an application-defined WindowProc function for it to be used properly. WM_PRINTCLIENT message |
WM_QUERYDRAGICON | |
WM_QUERYENDSESSION | |
WM_QUERYNEWPALETTE | |
WM_QUERYOPEN | |
WM_QUERYUISTATE | |
WM_QUEUESYNC | |
WM_QUIT | |
WM_RASDIALEVENT | |
WM_RBUTTONDBLCLK | |
WM_RBUTTONDOWN | |
WM_RBUTTONUP | |
WM_REFLECT | |
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. A window receives this message through its WindowProc function. WM_RENDERALLFORMATS message |
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. WM_RENDERFORMAT message |
WM_ROUTED_UI_EVENT | |
WM_SETCURSOR | |
WM_SETFOCUS | |
WM_SETFONT | |
WM_SETHOTKEY | |
WM_SETICON | |
WM_SETREDRAW | |
WM_SETTEXT | |
WM_SETTINGCHANGE | A message that is sent to all top-level windows when the SystemParametersInfo function changes a system-wide setting or when policy settings have changed. Applications should send WM_SETTINGCHANGE to all top-level windows when they make changes to system parameters. (This message cannot be sent directly to a window.) To send the WM_SETTINGCHANGE message to all top-level windows, use the SendMessageTimeout function with the hwnd parameter set to HWND_BROADCAST. A window receives this message through its WindowProc function. WM_SETTINGCHANGE message |
WM_SHOWWINDOW | |
WM_SIZE | |
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. WM_SIZECLIPBOARD message |
WM_SIZING | |
WM_SPOOLERSTATUS | |
WM_STYLECHANGED | |
WM_STYLECHANGING | |
WM_SYNCPAINT | |
WM_SYNCTASK | |
WM_SYSCHAR | |
WM_SYSCOLORCHANGE | |
WM_SYSCOMMAND | |
WM_SYSDEADCHAR | |
WM_SYSKEYDOWN | |
WM_SYSKEYUP | |
WM_SYSMENU | |
WM_TABLET_FIRST | |
WM_TABLET_LAST | |
WM_TCARD | |
WM_THEMECHANGED | |
WM_TIMECHANGE | |
WM_TIMER | |
WM_UAHDESTROYWINDOW | |
WM_UAHDRAWMENU | |
WM_UAHDRAWMENUITEM | |
WM_UAHINIT | |
WM_UAHINITMENU | |
WM_UAHMEASUREMENUITEM | |
WM_UAHNCPAINTMENUPOPUP | |
WM_UAHUPDATE | |
WM_UIACTION | |
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. WM_UNDO message |
WM_UNICHAR | |
WM_UNINITMENUPOPUP | |
WM_UPDATEUISTATE | |
WM_USER | |
WM_USERCHANGED | |
WM_VKEYTOITEM | |
WM_VSCROLL | |
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. WM_VSCROLLCLIPBOARD message |
WM_WAKETHREAD | |
WM_WINDOWPOSCHANGED | |
WM_WINDOWPOSCHANGING | |
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. Note: The WM_WININICHANGE message is provided only for compatibility with earlier versions of the system. Applications should use the WM_SETTINGCHANGE message. M_WININICHANGE message |
WM_WTSSESSION_CHANGE | |
WM_XBUTTONDBLCLK | |
WM_XBUTTONDOWN | |
WM_XBUTTONUP |