xtd 0.2.0
Loading...
Searching...
No Matches
window_messages.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/types>
6
7#if !defined(WM_NULL)
14constexpr xtd::uint32 WM_NULL = 0x0000;
21constexpr xtd::uint32 WM_CREATE = 0x0001;
28constexpr xtd::uint32 WM_DESTROY = 0x0002;
35constexpr xtd::uint32 WM_MOVE = 0x0003;
36// not defined 0x0004
43constexpr xtd::uint32 WM_SIZE = 0x0005;
50constexpr xtd::uint32 WM_ACTIVATE = 0x0006;
57constexpr xtd::uint32 WM_SETFOCUS = 0x0007;
64constexpr xtd::uint32 WM_KILLFOCUS = 0x0008;
65// not defined 0x0009
72constexpr xtd::uint32 WM_ENABLE = 0x000A;
79constexpr xtd::uint32 WM_SETREDRAW = 0x000B;
86constexpr xtd::uint32 WM_SETTEXT = 0x000C;
93constexpr xtd::uint32 WM_GETTEXT = 0x000D;
100constexpr xtd::uint32 WM_GETTEXTLENGTH = 0x000E;
107constexpr xtd::uint32 WM_PAINT = 0x000F;
114constexpr xtd::uint32 WM_CLOSE = 0x0010;
128constexpr xtd::uint32 WM_QUIT = 0x0012;
135constexpr xtd::uint32 WM_QUERYOPEN = 0x0013;
142constexpr xtd::uint32 WM_ERASEBKGND = 0x0014;
156constexpr xtd::uint32 WM_ENDSESSION = 0x0016;
157// not defined 0x0017
164constexpr xtd::uint32 WM_SHOWWINDOW = 0x0018;
171constexpr xtd::uint32 WM_CTLCOLOR = 0x0019;
178constexpr xtd::uint32 WM_WININICHANGE = 0x001A;
185constexpr xtd::uint32 WM_DEVMODECHANGE = 0x001B;
192constexpr xtd::uint32 WM_ACTIVATEAPP = 0x001C;
199constexpr xtd::uint32 WM_FONTCHANGE = 0x001D;
206constexpr xtd::uint32 WM_TIMECHANGE = 0x001E;
213constexpr xtd::uint32 WM_CANCELMODE = 0x001F;
220constexpr xtd::uint32 WM_SETCURSOR = 0x0020;
227constexpr xtd::uint32 WM_MOUSEACTIVATE = 0x0021;
234constexpr xtd::uint32 WM_CHILDACTIVATE = 0x0022;
241constexpr xtd::uint32 WM_QUEUESYNC = 0x0023;
248constexpr xtd::uint32 WM_GETMINMAXINFO = 0x0024;
249// not defined 0x0025
256constexpr xtd::uint32 WM_PAINTICON = 0x0026;
270constexpr xtd::uint32 WM_NEXTDLGCTL = 0x0028;
271// not defined 0x0029
278constexpr xtd::uint32 WM_SPOOLERSTATUS = 0x002A;
285constexpr xtd::uint32 WM_DRAWITEM = 0x002B;
292constexpr xtd::uint32 WM_MEASUREITEM = 0x002C;
299constexpr xtd::uint32 WM_DELETEITEM = 0x002D;
306constexpr xtd::uint32 WM_VKEYTOITEM = 0x002E;
313constexpr xtd::uint32 WM_CHARTOITEM = 0x002F;
320constexpr xtd::uint32 WM_SETFONT = 0x0030;
327constexpr xtd::uint32 WM_GETFONT = 0x0031;
334constexpr xtd::uint32 WM_SETHOTKEY = 0x0032;
341constexpr xtd::uint32 WM_GETHOTKEY = 0x0033;
342// not defined 0x0034 - 0x0036
349constexpr xtd::uint32 WM_QUERYDRAGICON = 0x0037;
356constexpr xtd::uint32 WM_COMPAREITEM = 0x0039;
363constexpr xtd::uint32 WM_GETOBJECT = 0x003D;
370constexpr xtd::uint32 WM_COMPACTING = 0x0041;
372constexpr xtd::uint32 WM_COMMNOTIFY = 0x0044;
394constexpr xtd::uint32 WM_POWER = 0x0048;
401constexpr xtd::uint32 WM_COPYDATA = 0x004A;
408constexpr xtd::uint32 WM_CANCELJOURNAL = 0x004B;
409// not defined 0x004C - 0x004D
416constexpr xtd::uint32 WM_NOTIFY = 0x004E;
417// not defined 0x004F
438constexpr xtd::uint32 WM_TCARD = 0x0052;
445constexpr xtd::uint32 WM_HELP = 0x0053;
452constexpr xtd::uint32 WM_USERCHANGED = 0x0054;
459constexpr xtd::uint32 WM_NOTIFYFORMAT = 0x0055;
460// not defined 0x0056 - 0x007A
467constexpr xtd::uint32 WM_CONTEXTMENU = 0x007B;
474constexpr xtd::uint32 WM_STYLECHANGING = 0x007C;
481constexpr xtd::uint32 WM_STYLECHANGED = 0x007D;
488constexpr xtd::uint32 WM_DISPLAYCHANGE = 0x007E;
495constexpr xtd::uint32 WM_GETICON = 0x007F;
502constexpr xtd::uint32 WM_SETICON = 0x0080;
509constexpr xtd::uint32 WM_NCCREATE = 0x0081;
516constexpr xtd::uint32 WM_NCDESTROY = 0x0082;
523constexpr xtd::uint32 WM_NCCALCSIZE = 0x0083;
530constexpr xtd::uint32 WM_NCHITTEST = 0x0084;
537constexpr xtd::uint32 WM_NCPAINT = 0x0085;
544constexpr xtd::uint32 WM_NCACTIVATE = 0x0086;
551constexpr xtd::uint32 WM_GETDLGCODE = 0x0087;
558constexpr xtd::uint32 WM_SYNCPAINT = 0x0088;
559// not defined 0x0089 - 0x000F
566constexpr xtd::uint32 WM_NCMOUSEMOVE = 0x00A0;
573constexpr xtd::uint32 WM_NCLBUTTONDOWN = 0x00A1;
580constexpr xtd::uint32 WM_NCLBUTTONUP = 0x00A2;
594constexpr xtd::uint32 WM_NCRBUTTONDOWN = 0x00A4;
601constexpr xtd::uint32 WM_NCRBUTTONUP = 0x00A5;
615constexpr xtd::uint32 WM_NCMBUTTONDOWN = 0x00A7;
622constexpr xtd::uint32 WM_NCMBUTTONUP = 0x00A8;
630// not defined 0x00AA
637constexpr xtd::uint32 WM_NCXBUTTONDOWN = 0x00AB;
644constexpr xtd::uint32 WM_NCXBUTTONUP = 0x00AC;
665constexpr xtd::uint32 WM_INPUT = 0x00FF;
672constexpr xtd::uint32 WM_KEYDOWN = 0x0100;
679constexpr xtd::uint32 WM_KEYUP = 0x0101;
686constexpr xtd::uint32 WM_CHAR = 0x0102;
693constexpr xtd::uint32 WM_DEADCHAR = 0x0103;
700constexpr xtd::uint32 WM_SYSKEYDOWN = 0x0104;
707constexpr xtd::uint32 WM_SYSKEYUP = 0x0105;
714constexpr xtd::uint32 WM_SYSCHAR = 0x0106;
721constexpr xtd::uint32 WM_SYSDEADCHAR = 0x0107;
722//constexpr xtd::uint32 WM_KEYLAST = 0x0108;
723//constexpr xtd::uint32 WM_UNICHAR = 0x0109;
730constexpr xtd::uint32 WM_KEYLAST = 0x0109;
731// not defined 0x010B - 0x010C
752constexpr xtd::uint32 WM_INITDIALOG = 0x0110;
759constexpr xtd::uint32 WM_COMMAND = 0x0111;
766constexpr xtd::uint32 WM_SYSCOMMAND = 0x0112;
773constexpr xtd::uint32 WM_TIMER = 0x0113;
780constexpr xtd::uint32 WM_HSCROLL = 0x0114;
787constexpr xtd::uint32 WM_VSCROLL = 0x0115;
794constexpr xtd::uint32 WM_INITMENU = 0x0116;
801constexpr xtd::uint32 WM_INITMENUPOPUP = 0x0117;
802// not defined 0x0118
809constexpr xtd::uint32 WM_GESTURE = 0x0119;
816constexpr xtd::uint32 WM_GESTURENOTIFY = 0x011A;
817// not defined 0x011B - 0x011E
824constexpr xtd::uint32 WM_MENUSELECT = 0x011F;
831constexpr xtd::uint32 WM_MENUCHAR = 0x0120;
838constexpr xtd::uint32 WM_ENTERIDLE = 0x0121;
845constexpr xtd::uint32 WM_MENURBUTTONUP = 0x0122;
852constexpr xtd::uint32 WM_MENUDRAG = 0x0123;
859constexpr xtd::uint32 WM_MENUGETOBJECT = 0x0124;
873constexpr xtd::uint32 WM_MENUCOMMAND = 0x0126;
880constexpr xtd::uint32 WM_CHANGEUISTATE = 0x0127;
887constexpr xtd::uint32 WM_UPDATEUISTATE = 0x0128;
894constexpr xtd::uint32 WM_QUERYUISTATE = 0x0129;
895// not defined 0x0130 - 0x0131
909constexpr xtd::uint32 WM_CTLCOLOREDIT = 0x0133;
923constexpr xtd::uint32 WM_CTLCOLORBTN = 0x0135;
930constexpr xtd::uint32 WM_CTLCOLORDLG = 0x0136;
945// not defined 0x0139 - 01E0
952constexpr xtd::int32 MN_GETHMENU = 0x01E1;
953// not defined 0x01E2 - 0x019F
960constexpr xtd::uint32 WM_MOUSEMOVE = 0x0200;
967constexpr xtd::uint32 WM_LBUTTONDOWN = 0x0201;
974constexpr xtd::uint32 WM_LBUTTONUP = 0x0202;
981constexpr xtd::uint32 WM_LBUTTONDBLCLK = 0x0203;
988constexpr xtd::uint32 WM_RBUTTONDOWN = 0x0204;
995constexpr xtd::uint32 WM_RBUTTONUP = 0x0205;
1009constexpr xtd::uint32 WM_MBUTTONDOWN = 0x0207;
1016constexpr xtd::uint32 WM_MBUTTONUP = 0x0208;
1030constexpr xtd::uint32 WM_MOUSEWHEEL = 0x020A;
1037constexpr xtd::uint32 WM_XBUTTONDOWN = 0x020B;
1044constexpr xtd::uint32 WM_XBUTTONUP = 0x020C;
1058constexpr xtd::uint32 WM_MOUSEHWHEEL = 0x020E;
1059// not defined 0x020F
1066constexpr xtd::uint32 WM_PARENTNOTIFY = 0x0210;
1080constexpr xtd::uint32 WM_EXITMENULOOP = 0x0212;
1087constexpr xtd::uint32 WM_NEXTMENU = 0x0213;
1094constexpr xtd::uint32 WM_SIZING = 0x0214;
1108constexpr xtd::uint32 WM_MOVING = 0x0216;
1109// not defined 0x0217
1123constexpr xtd::uint32 WM_DEVICECHANGE = 0x0219;
1130constexpr xtd::uint32 WM_MDICREATE = 0x0220;
1137constexpr xtd::uint32 WM_MDIDESTROY = 0x0221;
1144constexpr xtd::uint32 WM_MDIACTIVATE = 0x0222;
1151constexpr xtd::uint32 WM_MDIRESTORE = 0x0223;
1158constexpr xtd::uint32 WM_MDINEXT = 0x0224;
1165constexpr xtd::uint32 WM_MDIMAXIMIZE = 0x0225;
1172constexpr xtd::uint32 WM_MDITILE = 0x0226;
1179constexpr xtd::uint32 WM_MDICASCADE = 0x0227;
1193constexpr xtd::uint32 WM_MDIGETACTIVE = 0x0229;
1200constexpr xtd::uint32 WM_MDISETMENU = 0x0230;
1214constexpr xtd::uint32 WM_EXITSIZEMOVE = 0x0232;
1221constexpr xtd::uint32 WM_DROPFILES = 0x0233;
1229// not defined 0x0235 - 0x0237
1257constexpr xtd::uint32 WM_TOUCH = 0x0240;
1278constexpr xtd::uint32 WM_NCPOINTERUP = 0x0243;
1292constexpr xtd::uint32 WM_POINTERDOWN = 0x0246;
1299constexpr xtd::uint32 WM_POINTERUP = 0x0247;
1306constexpr xtd::uint32 WM_POINTERENTER = 0x0249;
1313constexpr xtd::uint32 WM_POINTERLEAVE = 0x024A;
1341constexpr xtd::uint32 WM_POINTERWHEEL = 0x024E;
1356// not defined 0x0251 - 0x0280
1370constexpr xtd::uint32 WM_IME_NOTIFY = 0x0282;
1377constexpr xtd::uint32 WM_IME_CONTROL = 0x0283;
1391constexpr xtd::uint32 WM_IME_SELECT = 0x0285;
1398constexpr xtd::uint32 WM_IME_CHAR = 0x0286;
1399// not defined 0x0287
1406constexpr xtd::uint32 WM_IME_REQUEST = 0x0288;
1407// not defined 0x0289
1414constexpr xtd::uint32 WM_IME_KEYDOWN = 0x0290;
1421constexpr xtd::uint32 WM_IME_KEYUP = 0x0291;
1422// not defined 0x0292 - 0x02A0
1429constexpr xtd::uint32 WM_MOUSEHOVER = 0x02A1;
1436constexpr xtd::uint32 WM_MOUSELEAVE = 0x2A3;
1437// not defined 0x02A4 - 0x02A9
1444constexpr xtd::uint32 WM_NCMOUSEHOVER = 0x02A0;
1451constexpr xtd::uint32 WM_NCMOUSELEAVE = 0x02A2;
1452// not defined 0x02A3 - 0x02B0
1460// not defined 0x02B2 - 0x02BF
1462constexpr xtd::uint32 WM_TABLET_FIRST = 0x02C0;
1463// not defined 0x02C1 - 0x02DE
1464constexpr xtd::uint32 WM_TABLET_LAST = 0x02DF;
1472constexpr xtd::uint32 WM_DPICHANGED = 0x02E0;
1473// not defined 0x02E1 - 0x029F
1480constexpr xtd::uint32 WM_CUT = 0x0300;
1487constexpr xtd::uint32 WM_COPY = 0x0301;
1494constexpr xtd::uint32 WM_PASTE = 0x0302;
1501constexpr xtd::uint32 WM_CLEAR = 0x0303;
1508constexpr xtd::uint32 WM_UNDO = 0x0304;
1515constexpr xtd::uint32 WM_RENDERFORMAT = 0x0305;
1606constexpr xtd::uint32 WM_HOTKEY = 0x0312;
1607// not defined 0x0313 - 0x0316
1614constexpr xtd::uint32 WM_PRINT = 0x0317;
1621constexpr xtd::uint32 WM_PRINTCLIENT = 0x0318;
1628constexpr xtd::uint32 WM_APPCOMMAND = 0x0319;
1635constexpr xtd::uint32 WM_THEMECHANGED = 0x031A;
1636// not defined 0x031B - 0x031C
1686// not defined 0x0327 - 0x033E
1694// not defined 0x0340 - 0x0357
1696constexpr xtd::uint32 WM_HANDHELDFIRST = 0x0358;
1697constexpr xtd::uint32 WM_HANDHELDLAST = 0x035F;
1698constexpr xtd::uint32 WM_AFXFIRST = 0x0360;
1699constexpr xtd::uint32 WM_AFXLAST = 0x037F;
1700constexpr xtd::uint32 WM_PENWINFIRST = 0x0380;
1701// not defined 0x0381 - 0x038E
1702constexpr xtd::uint32 WM_PENWINLAST = 0x038F;
1704// not defined 0x0390 - 0x039F
1705
1706// NOTE: All Message Numbers below 0x0400 are RESERVED.
1707// Private Window Messages Start Here:
1714constexpr xtd::uint32 WM_USER = 0x0400;
1715// Private Window Messages Stop Here : 0x7FFF;
1716
1717// NOTE: Messages available for use by applications.
1724constexpr xtd::uint32 WM_APP = 0x8000;
1725
1726constexpr xtd::int32 WA_INACTIVE = 0;
1727constexpr xtd::int32 WA_ACTIVE = 1;
1728constexpr xtd::int32 WA_CLICKACTIVE = 2;
1729
1730// Ranges definitions
1731
1732constexpr xtd::uint32 NM_FIRST = 0u - 0u; // generic to all controls
1733constexpr xtd::uint32 NM_LAST = 0u - 99u;
1734
1735constexpr xtd::uint32 LVN_FIRST = 0u - 100u; // listview
1736constexpr xtd::uint32 LVN_LAST = 0u - 199u;
1737
1738// Property sheet reserved (0u-200u) - (0u-299u) - see prsht.h
1739
1740constexpr xtd::uint32 HDN_FIRST = 0u - 300u; // header
1741constexpr xtd::uint32 HDN_LAST = 0u - 399u;
1742
1743constexpr xtd::uint32 TVN_FIRST = 0u - 400u; // treeview
1744constexpr xtd::uint32 TVN_LAST = 0u - 499u;
1745
1746constexpr xtd::uint32 TTN_FIRST = 0u - 520u; // tooltips
1747constexpr xtd::uint32 TTN_LAST = 0u - 549u;
1748
1749constexpr xtd::uint32 TCN_FIRST = 0u - 550u; // tab control
1750constexpr xtd::uint32 TCN_LAST = 0u - 580u;
1751
1752// Shell reserved (0u-580u) - (0u-589u)
1753
1754constexpr xtd::uint32 CDN_FIRST = 0u - 601u; // common dialog (new)
1755constexpr xtd::uint32 CDN_LAST = 0u - 699u;
1756
1757constexpr xtd::uint32 TBN_FIRST = 0u - 700u; // toolbar
1758constexpr xtd::uint32 TBN_LAST = 0u - 720u;
1759
1760constexpr xtd::uint32 UDN_FIRST = 0u - 721u; // updown
1761constexpr xtd::uint32 UDN_LAST = 0u - 729u;
1762constexpr xtd::uint32 DTN_FIRST = 0u - 740u; // datetimepick
1763constexpr xtd::uint32 DTN_LAST = 0u - 745u; // DTN_FIRST - 5
1764
1765constexpr xtd::uint32 MCN_FIRST = 0u - 746u; // monthcal
1766constexpr xtd::uint32 MCN_LAST = 0u - 752u; // MCN_FIRST - 6
1767
1768constexpr xtd::uint32 DTN_FIRST2 = 0u - 753u; // datetimepick2
1769constexpr xtd::uint32 DTN_LAST2 = 0u - 799u;
1770
1771constexpr xtd::uint32 CBEN_FIRST = 0u - 800u; // combo box ex
1772constexpr xtd::uint32 CBEN_LAST = 0u - 830u;
1773
1774constexpr xtd::uint32 RBN_FIRST = 0u - 831u; // rebar
1775constexpr xtd::uint32 RBN_LAST = 0u - 859u;
1776
1777constexpr xtd::uint32 IPN_FIRST = 0u - 860u; // internet address
1778constexpr xtd::uint32 IPN_LAST = 0u - 879u; // internet address
1779
1780constexpr xtd::uint32 SBN_FIRST = 0u - 880u; // status bar
1781constexpr xtd::uint32 SBN_LAST = 0u - 899u;
1782
1783constexpr xtd::uint32 PGN_FIRST = 0u - 900u; // Pager Control
1784constexpr xtd::uint32 PGN_LAST = 0u - 950u;
1785
1786constexpr xtd::uint32 WMN_FIRST = 0u - 1000u;
1787constexpr xtd::uint32 WMN_LAST = 0u - 1200u;
1788
1789constexpr xtd::uint32 BCN_FIRST = 0u - 1250u;
1790constexpr xtd::uint32 BCN_LAST = 0u - 1350u;
1791
1792constexpr xtd::uint32 TRBN_FIRST = 0u - 1501u; // trackbar
1793constexpr xtd::uint32 TRBN_LAST = 0u - 1519u;
1794
1795constexpr xtd::uint32 EN_FIRST = 0u - 1520u; // edit control
1796constexpr xtd::uint32 EN_LAST = 0u - 1540u;
1797
1798// Button notifications
1799constexpr xtd::uint32 BN_CLICKED = 0;
1800constexpr xtd::uint32 BN_PAINT = 1;
1801constexpr xtd::uint32 BN_HILITE = 2;
1802constexpr xtd::uint32 BN_UNHILITE = 3;
1803constexpr xtd::uint32 BN_DISABLE = 4;
1804constexpr xtd::uint32 BN_DOUBLECLICKED = 5;
1805constexpr xtd::uint32 BN_PUSHED = BN_HILITE;
1806constexpr xtd::uint32 BN_UNPUSHED = BN_UNHILITE;
1807constexpr xtd::uint32 BN_DBLCLK = BN_DOUBLECLICKED;
1808constexpr xtd::uint32 BN_SETFOCUS = 6;
1809constexpr xtd::uint32 BN_KILLFOCUS = 7;
1810
1811// Combo box notifications
1812constexpr xtd::uint32 CBN_ERRSPACE = static_cast<xtd::uint32>(-1);
1813constexpr xtd::uint32 CBN_SELCHANGE = 1;
1814constexpr xtd::uint32 CBN_DBLCLK = 2;
1815constexpr xtd::uint32 CBN_SETFOCUS = 3;
1816constexpr xtd::uint32 CBN_KILLFOCUS = 4;
1817constexpr xtd::uint32 CBN_EDITCHANGE = 5;
1818constexpr xtd::uint32 CBN_EDITUPDATE = 6;
1819constexpr xtd::uint32 CBN_DROPDOWN = 7;
1820constexpr xtd::uint32 CBN_CLOSEUP = 8;
1821constexpr xtd::uint32 CBN_SELENDOK = 9;
1822constexpr xtd::uint32 CBN_SELENDCANCEL = 10;
1823
1824// Date time picker notifications
1825constexpr xtd::uint32 DTN_CLOSEUP = DTN_FIRST; // MonthCal is popping up, -753
1826constexpr xtd::uint32 DTN_DROPDOWN = DTN_FIRST - 1; // MonthCal has dropped down, -754
1827constexpr xtd::uint32 DTN_FORMATQUERY = DTN_FIRST - 2;
1828constexpr xtd::uint32 DTN_FORMAT = DTN_FIRST - 3;
1829constexpr xtd::uint32 DTN_WMKEYDOWN = DTN_FIRST - 4;
1830constexpr xtd::uint32 DTN_USERSTRING = DTN_FIRST - 5;
1831constexpr xtd::uint32 DTN_DATETIMECHANGE = DTN_FIRST2 - 6; // the systemtime has changed, -759
1832
1833// Text box notifications
1834constexpr xtd::uint32 EN_SETFOCUS = 0x0100;
1835constexpr xtd::uint32 EN_KILLFOCUS = 0x0200;
1836constexpr xtd::uint32 EN_CHANGE = 0x0300;
1837constexpr xtd::uint32 EN_UPDATE = 0x0400;
1838constexpr xtd::uint32 EN_ERRSPACE = 0x0500;
1839constexpr xtd::uint32 EN_MAXTEXT = 0x0501;
1840constexpr xtd::uint32 EN_HSCROLL = 0x0601;
1841constexpr xtd::uint32 EN_VSCROLL = 0x0602;
1842constexpr xtd::uint32 EN_ALIGN_LTR_EC = 0x0700;
1843constexpr xtd::uint32 EN_ALIGN_RTL_EC = 0x0701;
1844constexpr xtd::uint32 EN_BEFORE_PASTE = 0x0800;
1845constexpr xtd::uint32 EN_AFTER_PASTE = 0x0801;
1846
1847// List box notifications
1848constexpr xtd::uint32 LBN_ERRSPACE = static_cast<xtd::uint32>(-2);
1849constexpr xtd::uint32 LBN_SELCHANGE = 1;
1850constexpr xtd::uint32 LBN_DBLCLK = 2;
1851constexpr xtd::uint32 LBN_SELCANCEL = 3;
1852constexpr xtd::uint32 LBN_SETFOCUS = 4;
1853constexpr xtd::uint32 LBN_KILLFOCUS = 5;
1854
1855// Month calendar notifications
1856constexpr xtd::uint32 MCN_VIEWCHANGE = MCN_FIRST - 4;
1857constexpr xtd::uint32 MCN_SELCHANGE = MCN_FIRST - 3;
1858constexpr xtd::uint32 MCN_GETDAYSTATE = MCN_FIRST - 1;
1859constexpr xtd::uint32 MCN_SELECT = MCN_FIRST;
1860
1861// Window notifications
1862constexpr xtd::uint32 NM_OUTOFMEMORY = NM_FIRST - 1;
1863constexpr xtd::uint32 NM_CLICK = NM_FIRST - 2; // uses NMCLICK struct
1864constexpr xtd::uint32 NM_DBLCLK = NM_FIRST - 3;
1865constexpr xtd::uint32 NM_RETURN = NM_FIRST - 4;
1866constexpr xtd::uint32 NM_RCLICK = NM_FIRST - 5; // uses NMCLICK struct
1867constexpr xtd::uint32 NM_RDBLCLK = NM_FIRST - 6;
1868constexpr xtd::uint32 NM_SETFOCUS = NM_FIRST - 7;
1869constexpr xtd::uint32 NM_KILLFOCUS = NM_FIRST - 8;
1870constexpr xtd::uint32 NM_CUSTOMDRAW = NM_FIRST - 12;
1871constexpr xtd::uint32 NM_HOVER = NM_FIRST - 13;
1872constexpr xtd::uint32 NM_NCHITTEST = NM_FIRST - 14; // uses NMMOUSE struct
1873constexpr xtd::uint32 NM_KEYDOWN = NM_FIRST - 15; // uses NMKEY struct
1874constexpr xtd::uint32 NM_RELEASEDCAPTURE = NM_FIRST - 16;
1875constexpr xtd::uint32 NM_SETCURSOR = NM_FIRST - 17; // uses NMMOUSE struct
1876constexpr xtd::uint32 NM_CHAR = NM_FIRST - 18; // uses NMCHAR struct
1877constexpr xtd::uint32 NM_TOOLTIPSCREATED = NM_FIRST - 19; // notify of when the tooltips window is create
1878constexpr xtd::uint32 NM_LDOWN = NM_FIRST - 20;
1879constexpr xtd::uint32 NM_RDOWN = NM_FIRST - 21;
1880constexpr xtd::uint32 NM_THEMECHANGED = NM_FIRST - 22;
1881constexpr xtd::uint32 NM_FONTCHANGED = NM_FIRST - 23;
1882constexpr xtd::uint32 NM_CUSTOMTEXT = NM_FIRST - 24; // uses NMCUSTOMTEXT struct
1883constexpr xtd::uint32 NM_TVSTATEIMAGECHANGING = NM_FIRST - 24; // uses NMTVSTATEIMAGECHANGING struct, defined after HTREEITEM
1884
1885// Up down notifications
1886constexpr xtd::int32 UDN_DELTAPOS = UDN_FIRST - 1;
1887
1888constexpr xtd::int32 HELPINFO_WINDOW = 0x0001;
1889constexpr xtd::int32 HELPINFO_MENUITEM = 0x0002;
1890#endif
1891
1892constexpr xtd::uint32 WM_REFLECT = WM_USER + 0x1C00;
1893
1894constexpr xtd::uint32 WM_APPIDLE = WM_USER + 0x0001;
1895
1896constexpr xtd::uint32 WM_STYLE_SHEET_CHANGED = WM_USER + 0x0002;
1897
1898constexpr xtd::uint32 WM_MOUSEENTER = WM_USER + 0x0003;
1899
1900constexpr xtd::uint32 WM_RECREATE = WM_USER + 0x0004;
1901
1902constexpr xtd::uint32 CPN_SELCHANGE = 1;
1903
1904constexpr xtd::uint32 FPN_SELCHANGE = 1;
1905
1906xtd::intptr send_message(xtd::intptr hwnd, xtd::int32 msg, xtd::intptr wparam, xtd::intptr lparam);
int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:23
uint32_t uint32
Represents a 32-bit unsigned integer.
Definition uint32.hpp:23
intmax_t intptr
Represent a pointer or a handle.
Definition intptr.hpp:23
constexpr xtd::uint32 WM_MDINEXT
An application sends the WM_MDINEXT message to a multiple-document interface (MDI) client window to a...
Definition window_messages.hpp:1158
constexpr xtd::uint32 WM_NCLBUTTONDBLCLK
Posted when the user double-clicks the left mouse button while the cursor is within the nonclient are...
Definition window_messages.hpp:587
constexpr xtd::uint32 WM_NCHITTEST
Sent to a window in order to determine what part of the window corresponds to a particular screen coo...
Definition window_messages.hpp:530
constexpr xtd::uint32 WM_QUERYUISTATE
An application sends the WM_QUERYUISTATE message to retrieve the UI state for a window.
Definition window_messages.hpp:894
constexpr xtd::uint32 WM_CTLCOLOR
The WM_CTLCOLOR message is used in 16-bit versions of Windows to change the color scheme of list boxe...
Definition window_messages.hpp:171
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...
Definition window_messages.hpp:967
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 ...
Definition window_messages.hpp:1436
constexpr xtd::uint32 WM_ENTERIDLE
Sent to the owner window of a modal dialog box or menu that is entering an idle state....
Definition window_messages.hpp:838
constexpr xtd::uint32 WM_INPUTLANGCHANGEREQUEST
Posted to the window with the focus when the user chooses a new input language, either with the hotke...
Definition window_messages.hpp:424
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 t...
Definition window_messages.hpp:387
constexpr xtd::uint32 WM_IME_CHAR
Sent to an application when the IME gets a character of the conversion result. A window receives this...
Definition window_messages.hpp:1398
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 captur...
Definition window_messages.hpp:220
constexpr xtd::uint32 WM_SIZECLIPBOARD
Sent to the clipboard owner by a clipboard viewer window when the clipboard contains data in the CF_O...
Definition window_messages.hpp:1557
constexpr xtd::uint32 WM_APP
Used to define private messages, usually of the form WM_APP+x, where x is an integer value.
Definition window_messages.hpp:1724
constexpr xtd::uint32 WM_SETTEXT
Sets the text of a window.
Definition window_messages.hpp:86
constexpr xtd::uint32 WM_PRINTCLIENT
The WM_PRINTCLIENT message is sent to a window to request that it draw its client area in the specifi...
Definition window_messages.hpp:1621
constexpr xtd::uint32 WM_MENURBUTTONUP
Sent when the user releases the right mouse button while the cursor is on a menu item.
Definition window_messages.hpp:845
constexpr xtd::uint32 WM_VKEYTOITEM
Sent by a list box with the LBS_WANTKEYBOARDINPUT style to its owner in response to a WM_KEYDOWN mess...
Definition window_messages.hpp:306
constexpr xtd::uint32 WM_POINTERDEVICEOUTOFRANGE
Sent to a window when a pointer device has departed the range of an input digitizer....
Definition window_messages.hpp:1250
constexpr xtd::uint32 WM_POINTERENTER
Sent to a window when a new pointer enters detection range over the window (hover) or when an existin...
Definition window_messages.hpp:1306
constexpr xtd::uint32 WM_WTSSESSION_CHANGE
Notifies applications of changes in session state.
Definition window_messages.hpp:1459
constexpr xtd::uint32 WM_NCXBUTTONUP
Posted when the user releases the first or second X button while the cursor is in the nonclient area ...
Definition window_messages.hpp:644
constexpr xtd::uint32 WM_POINTERDOWN
Posted when a pointer makes contact over the client area of a window. This input message targets the ...
Definition window_messages.hpp:1292
constexpr xtd::uint32 WM_GESTURENOTIFY
Gives you a chance to set the gesture configuration.
Definition window_messages.hpp:816
constexpr xtd::uint32 WM_SETHOTKEY
Sent to a window to associate a hot key with the window. When the user presses the hot key,...
Definition window_messages.hpp:334
constexpr xtd::uint32 WM_KEYUP
Posted to the window with the keyboard focus when a nonsystem key is released. A nonsystem key is a k...
Definition window_messages.hpp:679
constexpr xtd::uint32 WM_NCLBUTTONDOWN
Posted when the user presses the left mouse button while the cursor is within the nonclient area of a...
Definition window_messages.hpp:573
constexpr xtd::uint32 WM_DEVICECHANGE
Notifies an application of a change to the hardware configuration of a device or the computer.
Definition window_messages.hpp:1123
constexpr xtd::uint32 WM_POINTERHWHEEL
Posted to the window with foreground keyboard focus when a horizontal scroll wheel is rotated.
Definition window_messages.hpp:1348
constexpr xtd::uint32 WM_NCMBUTTONDBLCLK
Posted when the user double-clicks the middle mouse button while the cursor is within the nonclient a...
Definition window_messages.hpp:629
constexpr xtd::uint32 WM_NEXTDLGCTL
Sent to a dialog box procedure to set the keyboard focus to a different control in the dialog box.
Definition window_messages.hpp:270
constexpr xtd::uint32 WM_DWMCOMPOSITIONCHANGED
Informs all top-level windows that Desktop Window Manager (DWM) composition has been enabled or disab...
Definition window_messages.hpp:1650
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...
Definition window_messages.hpp:1037
constexpr xtd::uint32 WM_TCARD
Sent to an application that has initiated a training card with Windows Help. The message informs the ...
Definition window_messages.hpp:438
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...
Definition window_messages.hpp:1214
constexpr xtd::uint32 WM_NOTIFYFORMAT
Determines if a window accepts ANSI or Unicode structures in the WM_NOTIFY notification message....
Definition window_messages.hpp:459
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)...
Definition window_messages.hpp:1685
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 ...
Definition window_messages.hpp:356
constexpr xtd::uint32 WM_UNINITMENUPOPUP
Sent when a drop-down menu or submenu has been destroyed.
Definition window_messages.hpp:866
constexpr xtd::uint32 WM_PAINT
The WM_PAINT message is sent when the system or another application makes a request to paint a portio...
Definition window_messages.hpp:107
constexpr xtd::uint32 WM_MDIGETACTIVE
An application sends the WM_MDIGETACTIVE message to a multiple-document interface (MDI) client window...
Definition window_messages.hpp:1193
constexpr xtd::uint32 WM_HSCROLLCLIPBOARD
Sent to the clipboard owner by a clipboard viewer window. This occurs when the clipboard contains dat...
Definition window_messages.hpp:1578
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...
Definition window_messages.hpp:285
constexpr xtd::uint32 WM_NCMOUSELEAVE
Posted to a window when the cursor leaves the nonclient area of the window specified in a prior call ...
Definition window_messages.hpp:1451
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 ...
Definition window_messages.hpp:981
constexpr xtd::uint32 WM_IME_COMPOSITIONFULL
Sent to an application when the IME window finds no space to extend the area for the composition wind...
Definition window_messages.hpp:1384
constexpr xtd::uint32 WM_GETTEXTLENGTH
Determines the length, in characters, of the text associated with a window.
Definition window_messages.hpp:100
constexpr xtd::uint32 WM_DWMSENDICONICTHUMBNAIL
Instructs a window to provide a static bitmap to use as a thumbnail representation of that window.
Definition window_messages.hpp:1678
constexpr xtd::uint32 WM_SYSCHAR
Posted to the window with the keyboard focus when a WM_SYSKEYDOWN message is translated by the Transl...
Definition window_messages.hpp:714
constexpr xtd::uint32 WM_LBUTTONUP
Posted when the user releases the left mouse button while the cursor is in the client area of a windo...
Definition window_messages.hpp:974
constexpr xtd::uint32 WM_MENUSELECT
Sent to a menu's owner window when the user selects a menu item.
Definition window_messages.hpp:824
constexpr xtd::uint32 WM_ERASEBKGND
Sent when the window background must be erased (for example, when a window is resized)....
Definition window_messages.hpp:142
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 s...
Definition window_messages.hpp:1429
constexpr xtd::uint32 WM_CLEAR
An application sends a WM_CLEAR message to an edit control or combo box to delete (clear) the current...
Definition window_messages.hpp:1501
constexpr xtd::uint32 WM_NULL
Performs no operation. An application sends the WM_NULL message if it wants to post a message that th...
Definition window_messages.hpp:14
constexpr xtd::uint32 WM_NCCREATE
Sent prior to the WM_CREATE message when a window is first created.
Definition window_messages.hpp:509
constexpr xtd::uint32 WM_HELP
Indicates that the user pressed the F1 key. If a menu is active when F1 is pressed,...
Definition window_messages.hpp:445
constexpr xtd::uint32 WM_NCMBUTTONDOWN
Posted when the user presses the middle mouse button while the cursor is within the nonclient area of...
Definition window_messages.hpp:615
constexpr xtd::uint32 WM_PALETTEISCHANGING
The WM_PALETTEISCHANGING message informs applications that an application is going to realize its log...
Definition window_messages.hpp:1592
constexpr xtd::uint32 WM_ASKCBFORMATNAME
Sent to the clipboard owner by a clipboard viewer window to request the name of a CF_OWNERDISPLAY cli...
Definition window_messages.hpp:1564
constexpr xtd::uint32 WM_EXITMENULOOP
Notifies an application's main window procedure that a menu modal loop has been exited.
Definition window_messages.hpp:1080
constexpr xtd::uint32 WM_GETHOTKEY
Sent to determine the hot key associated with a window.
Definition window_messages.hpp:341
constexpr xtd::uint32 WM_DEADCHAR
Posted to the window with the keyboard focus when a WM_KEYUP message is translated by the TranslateMe...
Definition window_messages.hpp:693
constexpr xtd::uint32 WM_DEVMODECHANGE
The WM_DEVMODECHANGE message is sent to all top-level windows whenever the user changes device-mode s...
Definition window_messages.hpp:185
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...
Definition window_messages.hpp:256
constexpr xtd::uint32 WM_GETICON
Sent to a window to retrieve a handle to the large or small icon associated with a window....
Definition window_messages.hpp:495
constexpr xtd::uint32 WM_POWERBROADCAST
Notifies applications that a power-management event has occurred.
Definition window_messages.hpp:1116
constexpr xtd::uint32 WM_UNDO
An application sends a WM_UNDO message to an edit control to undo the last operation....
Definition window_messages.hpp:1508
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,...
Definition window_messages.hpp:234
constexpr xtd::uint32 WM_GETOBJECT
Sent by both Microsoft Active Accessibility and Microsoft UI Automation to obtain information about a...
Definition window_messages.hpp:363
constexpr xtd::uint32 WM_PASTE
An application sends a WM_PASTE message to an edit control or combo box to copy the current content o...
Definition window_messages.hpp:1494
constexpr xtd::uint32 WM_MOUSEWHEEL
Sent to the focus window when the mouse wheel is rotated. The DefWindowProc function propagates the m...
Definition window_messages.hpp:1030
constexpr xtd::uint32 WM_SPOOLERSTATUS
The WM_SPOOLERSTATUS message is sent from Print Manager whenever a job is added to or removed from th...
Definition window_messages.hpp:278
constexpr xtd::uint32 WM_KILLFOCUS
Sent to a window immediately before it loses the keyboard focus.
Definition window_messages.hpp:64
constexpr xtd::uint32 WM_QUERYOPEN
Sent to an icon when the user requests that the window be restored to its previous size and position.
Definition window_messages.hpp:135
constexpr xtd::uint32 WM_NCACTIVATE
Sent to a window when its nonclient area needs to be changed to indicate an active or inactive state.
Definition window_messages.hpp:544
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...
Definition window_messages.hpp:1002
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...
Definition window_messages.hpp:1236
constexpr xtd::uint32 WM_NCRBUTTONDBLCLK
Posted when the user double-clicks the right mouse button while the cursor is within the nonclient ar...
Definition window_messages.hpp:608
constexpr xtd::uint32 WM_IME_SETCONTEXT
Sent to an application when a window is activated. A window receives this message through its WindowP...
Definition window_messages.hpp:1363
constexpr xtd::uint32 WM_CREATE
Sent when an application requests that a window be created by calling the CreateWindowEx or CreateWin...
Definition window_messages.hpp:21
constexpr xtd::uint32 WM_XBUTTONDBLCLK
Posted when the user double-clicks the first or second X button while the cursor is in the client are...
Definition window_messages.hpp:1051
constexpr xtd::uint32 WM_COPY
An application sends the WM_COPY message to an edit control or combo box to copy the current selectio...
Definition window_messages.hpp:1487
constexpr xtd::uint32 WM_MOVE
Sent after a window has been moved.
Definition window_messages.hpp:35
constexpr xtd::uint32 WM_GESTURE
Passes information about a gesture.
Definition window_messages.hpp:809
constexpr xtd::uint32 WM_POINTERCAPTURECHANGED
Sent to a window that is losing capture of an input pointer.
Definition window_messages.hpp:1327
constexpr xtd::uint32 WM_ENTERMENULOOP
Notifies an application's main window procedure that a menu modal loop has been entered.
Definition window_messages.hpp:1073
constexpr xtd::uint32 WM_DESTROYCLIPBOARD
Sent to the clipboard owner when a call to the EmptyClipboard function empties the clipboard.
Definition window_messages.hpp:1529
constexpr xtd::uint32 WM_QUERYENDSESSION
The WM_QUERYENDSESSION message is sent when the user chooses to end the session or when an applicatio...
Definition window_messages.hpp:121
constexpr xtd::uint32 WM_NCPOINTERDOWN
Posted when a pointer makes contact over the non-client area of a window. The message targets the win...
Definition window_messages.hpp:1271
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 t...
Definition window_messages.hpp:248
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...
Definition window_messages.hpp:502
constexpr xtd::uint32 WM_GETTEXT
Copies the text that corresponds to a window into a buffer provided by the caller.
Definition window_messages.hpp:93
constexpr xtd::uint32 WM_TOUCHHITTESTING
Sent to a window on a touch down in order to determine the most probable touch target.
Definition window_messages.hpp:1334
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...
Definition window_messages.hpp:794
constexpr xtd::uint32 WM_VSCROLLCLIPBOARD
Sent to the clipboard owner by a clipboard viewer window when the clipboard contains data in the CF_O...
Definition window_messages.hpp:1550
constexpr xtd::uint32 WM_RENDERALLFORMATS
Sent to the clipboard owner before it is destroyed, if the clipboard owner has delayed rendering one ...
Definition window_messages.hpp:1522
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...
Definition window_messages.hpp:370
constexpr xtd::uint32 WM_NCXBUTTONDOWN
Posted when the user presses the first or second X button while the cursor is in the nonclient area o...
Definition window_messages.hpp:637
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 acc...
Definition window_messages.hpp:831
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 ...
Definition window_messages.hpp:859
constexpr xtd::uint32 WM_POINTERDEVICEINRANGE
Sent to a window when a pointer device is detected within range of an input digitizer....
Definition window_messages.hpp:1243
constexpr xtd::uint32 WM_QUERYNEWPALETTE
The WM_QUERYNEWPALETTE message informs a window that it is about to receive the keyboard focus,...
Definition window_messages.hpp:1585
constexpr xtd::uint32 WM_SYSCOLORCHANGE
The WM_SYSCOLORCHANGE message is sent to all top-level windows when a change is made to a system colo...
Definition window_messages.hpp:149
constexpr xtd::uint32 WM_INPUT_DEVICE_CHANGE
Sent to the window that registered to receive raw input.
Definition window_messages.hpp:658
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...
Definition window_messages.hpp:313
constexpr xtd::uint32 WM_FONTCHANGE
An application sends the WM_FONTCHANGE message to all top-level windows in the system after changing ...
Definition window_messages.hpp:199
constexpr xtd::uint32 WM_IME_STARTCOMPOSITION
Sent immediately before the IME generates the composition string as a result of a keystroke....
Definition window_messages.hpp:738
constexpr xtd::uint32 WM_NCCALCSIZE
Sent when the size and position of a window's client area must be calculated. By processing this mess...
Definition window_messages.hpp:523
constexpr xtd::uint32 WM_MDISETMENU
An application sends the WM_MDISETMENU message to a multiple-document interface (MDI) client window t...
Definition window_messages.hpp:1200
constexpr xtd::uint32 WM_MDIDESTROY
An application sends the WM_MDIDESTROY message to a multiple-document interface (MDI) client window t...
Definition window_messages.hpp:1137
constexpr xtd::uint32 WM_DROPFILES
Sent when the user drops a file on the window of an application that has registered itself as a recip...
Definition window_messages.hpp:1221
constexpr xtd::uint32 WM_INITDIALOG
Sent to the dialog box procedure immediately before a dialog box is displayed. Dialog box procedures ...
Definition window_messages.hpp:752
constexpr xtd::uint32 WM_CTLCOLORMSGBOX
The WM_CTLCOLORMSGBOX message is sent to the owner window of a message box before Windows draws the m...
Definition window_messages.hpp:902
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 ...
Definition window_messages.hpp:1044
constexpr xtd::uint32 WM_NCXBUTTONDBLCLK
Posted when the user double-clicks the first or second X button while the cursor is in the nonclient ...
Definition window_messages.hpp:651
constexpr xtd::uint32 WM_HOTKEY
Posted when the user presses a hot key registered by the RegisterHotKey function. The message is plac...
Definition window_messages.hpp:1606
constexpr xtd::uint32 WM_POINTERLEAVE
Sent to a window when a pointer leaves detection range over the window (hover) or when a pointer move...
Definition window_messages.hpp:1313
constexpr xtd::uint32 WM_ICONERASEBKGND
An application sends the WM_ERASEBKGND message when the window background must be erased (for example...
Definition window_messages.hpp:263
constexpr xtd::uint32 WM_NCMBUTTONUP
Posted when the user releases the middle mouse button while the cursor is within the nonclient area o...
Definition window_messages.hpp:622
constexpr xtd::uint32 WM_DWMCOLORIZATIONCOLORCHANGED
Informs all top-level windows that the colorization color has changed.
Definition window_messages.hpp:1664
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 orde...
Definition window_messages.hpp:1421
constexpr xtd::uint32 WM_CLOSE
Sent as a signal that a window or an application should terminate.
Definition window_messages.hpp:114
constexpr xtd::uint32 WM_MDIRESTORE
An application sends the WM_MDIRESTORE message to a multiple-document interface (MDI) client window t...
Definition window_messages.hpp:1151
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 ...
Definition window_messages.hpp:960
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 th...
Definition window_messages.hpp:1087
constexpr xtd::uint32 WM_MDICREATE
An application sends the WM_MDICREATE message to a multiple-document interface (MDI) client window to...
Definition window_messages.hpp:1130
constexpr xtd::uint32 WM_USERCHANGED
Sent to all windows after the user has logged on or off. When the user logs on or off,...
Definition window_messages.hpp:452
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 wh...
Definition window_messages.hpp:1264
constexpr xtd::uint32 WM_CHANGECBCHAIN
Sent to the first window in the clipboard viewer chain when a window is being removed from the chain.
Definition window_messages.hpp:1571
constexpr xtd::uint32 WM_CANCELJOURNAL
Posted to an application when a user cancels the application's journaling activities....
Definition window_messages.hpp:408
constexpr xtd::uint32 WM_ENTERSIZEMOVE
Sent one time to a window after it enters the moving or sizing modal loop. The window enters the movi...
Definition window_messages.hpp:1207
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 ...
Definition window_messages.hpp:349
constexpr xtd::uint32 WM_SYSKEYUP
Posted to the window with the keyboard focus when the user releases a key that was pressed while the ...
Definition window_messages.hpp:707
constexpr xtd::uint32 WM_POINTERUP
Posted when a pointer that made contact over the client area of a window breaks contact....
Definition window_messages.hpp:1299
constexpr xtd::uint32 WM_QUIT
Indicates a request to terminate an application, and is generated when the application calls the Post...
Definition window_messages.hpp:128
constexpr xtd::uint32 WM_SYSCOMMAND
A window receives this message when the user chooses a command from the Window menu (formerly known a...
Definition window_messages.hpp:766
constexpr xtd::uint32 WM_IME_NOTIFY
Sent to an application to notify it of changes to the IME window. A window receives this message thro...
Definition window_messages.hpp:1370
constexpr xtd::uint32 WM_POINTERWHEEL
Posted to the window with foreground keyboard focus when a scroll wheel is rotated.
Definition window_messages.hpp:1341
constexpr xtd::uint32 WM_ACTIVATEAPP
Sent when a window belonging to a different application than the active window is about to be activat...
Definition window_messages.hpp:192
constexpr xtd::uint32 WM_IME_SELECT
Sent to an application when the operating system is about to change the current IME....
Definition window_messages.hpp:1391
constexpr xtd::uint32 WM_SIZING
Sent to a window that the user is resizing. By processing this message, an application can monitor th...
Definition window_messages.hpp:1094
constexpr xtd::uint32 WM_MOVING
Sent to a window that the user is moving. By processing this message, an application can monitor the ...
Definition window_messages.hpp:1108
constexpr xtd::uint32 WM_PAINTCLIPBOARD
Sent to the clipboard owner by a clipboard viewer window when the clipboard contains data in the CF_O...
Definition window_messages.hpp:1543
constexpr xtd::uint32 WM_VSCROLL
The WM_VSCROLL message is sent to a window when a scroll event occurs in the window's standard vertic...
Definition window_messages.hpp:787
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 o...
Definition window_messages.hpp:292
constexpr xtd::uint32 WM_WININICHANGE
An application sends the WM_WININICHANGE message to all top-level windows after making a change to th...
Definition window_messages.hpp:178
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 item...
Definition window_messages.hpp:299
constexpr xtd::uint32 WM_MOUSEACTIVATE
Sent when the cursor is in an inactive window and the user presses a mouse button....
Definition window_messages.hpp:227
constexpr xtd::uint32 WM_THEMECHANGED
Broadcast to every window following a theme change event. Examples of theme change events are the act...
Definition window_messages.hpp:1635
constexpr xtd::uint32 WM_MDICASCADE
An application sends the WM_MDICASCADE message to a multiple-document interface (MDI) client window t...
Definition window_messages.hpp:1179
constexpr xtd::uint32 WM_TOUCH
Notifies the window when one or more touch points, such as a finger or pen, touches a touch-sensitive...
Definition window_messages.hpp:1257
constexpr xtd::uint32 WM_NCDESTROY
Notifies a window that its nonclient area is being destroyed. The DestroyWindow function sends the WM...
Definition window_messages.hpp:516
constexpr xtd::uint32 WM_CHAR
Posted to the window with the keyboard focus when a WM_KEYDOWN message is translated by the Translate...
Definition window_messages.hpp:686
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...
Definition window_messages.hpp:1472
constexpr xtd::uint32 WM_SETFOCUS
Sent to a window after it has gained the keyboard focus.
Definition window_messages.hpp:57
constexpr xtd::int32 MN_GETHMENU
Retrieves the menu handle for the current window.
Definition window_messages.hpp:952
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 m...
Definition window_messages.hpp:916
constexpr xtd::uint32 WM_SIZE
Sent to a window after its size has changed.
Definition window_messages.hpp:43
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....
Definition window_messages.hpp:1414
constexpr xtd::uint32 WM_NCPAINT
The WM_NCPAINT message is sent to a window when its frame must be painted.
Definition window_messages.hpp:537
constexpr xtd::uint32 WM_ENABLE
Sent when an application changes the enabled state of a window. It is sent to the window whose enable...
Definition window_messages.hpp:72
constexpr xtd::uint32 WM_MBUTTONUP
Posted when the user releases the middle mouse button while the cursor is in the client area of a win...
Definition window_messages.hpp:1016
constexpr xtd::uint32 WM_NCPOINTERUP
Posted when a pointer that made contact over the non-client area of a window breaks contact....
Definition window_messages.hpp:1278
constexpr xtd::uint32 WM_CLIPBOARDUPDATE
Sent when the contents of the clipboard have changed.
Definition window_messages.hpp:1643
constexpr xtd::uint32 WM_CHANGEUISTATE
An application sends the WM_CHANGEUISTATE message to indicate that the UI state should be changed.
Definition window_messages.hpp:880
constexpr xtd::uint32 WM_CTLCOLORSCROLLBAR
The WM_CTLCOLORSCROLLBAR message is sent to the parent window of a scroll bar control when the contro...
Definition window_messages.hpp:937
constexpr xtd::uint32 WM_SYSDEADCHAR
Sent to the window with the keyboard focus when a WM_SYSKEYDOWN message is translated by the Translat...
Definition window_messages.hpp:721
constexpr xtd::uint32 WM_CUT
An application sends a WM_CUT message to an edit control or combo box to delete (cut) the current sel...
Definition window_messages.hpp:1480
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 ca...
Definition window_messages.hpp:380
constexpr xtd::uint32 WM_GETTITLEBARINFOEX
Sent to request extended title bar information. A window receives this message through its WindowProc...
Definition window_messages.hpp:1693
constexpr xtd::uint32 WM_CAPTURECHANGED
Sent to the window that is losing the mouse capture.
Definition window_messages.hpp:1101
constexpr xtd::uint32 WM_KEYDOWN
Posted to the window with the keyboard focus when a nonsystem key is pressed. A nonsystem key is a ke...
Definition window_messages.hpp:672
constexpr xtd::uint32 WM_KEYLAST
Keyboard message filter value.
Definition window_messages.hpp:730
constexpr xtd::uint32 WM_CONTEXTMENU
Notifies a window that the user desires a context menu to appear. The user may have clicked the right...
Definition window_messages.hpp:467
constexpr xtd::uint32 WM_PARENTNOTIFY
Sent to the parent of a child window when the child window is created or destroyed,...
Definition window_messages.hpp:1066
constexpr xtd::uint32 WM_HSCROLL
The WM_HSCROLL message is sent to a window when a scroll event occurs in the window's standard horizo...
Definition window_messages.hpp:780
constexpr xtd::uint32 WM_COPYDATA
An application sends the WM_COPYDATA message to pass data to another application.
Definition window_messages.hpp:401
constexpr xtd::uint32 WM_SYNCPAINT
The WM_SYNCPAINT message is used to synchronize painting while avoiding linking independent GUI threa...
Definition window_messages.hpp:558
constexpr xtd::uint32 WM_NCMOUSEMOVE
Posted to a window when the cursor is moved within the nonclient area of the window....
Definition window_messages.hpp:566
constexpr xtd::uint32 WM_IME_CONTROL
Sent by an application to direct the IME window to carry out the requested command....
Definition window_messages.hpp:1377
constexpr xtd::uint32 WM_PRINT
The WM_PRINT message is sent to a window to request that it draw itself in the specified device conte...
Definition window_messages.hpp:1614
constexpr xtd::uint32 WM_DISPLAYCHANGE
The WM_DISPLAYCHANGE message is sent to all windows when the display resolution has changed.
Definition window_messages.hpp:488
constexpr xtd::uint32 WM_RBUTTONDOWN
Posted when the user presses the right mouse button while the cursor is in the client area of a windo...
Definition window_messages.hpp:988
constexpr xtd::uint32 WM_INITMENUPOPUP
Sent when a drop-down menu or submenu is about to become active. This allows an application to modify...
Definition window_messages.hpp:801
constexpr xtd::uint32 WM_QUEUESYNC
Sent by a computer-based training (CBT) application to separate user-input messages from other messag...
Definition window_messages.hpp:241
constexpr xtd::uint32 WM_DESTROY
Sent when a window is being destroyed. It is sent to the window procedure of the window being destroy...
Definition window_messages.hpp:28
constexpr xtd::uint32 WM_POINTERACTIVATE
Sent to an inactive window when a primary pointer generates a WM_POINTERDOWN over the window....
Definition window_messages.hpp:1320
constexpr xtd::uint32 WM_NCRBUTTONDOWN
Posted when the user presses the right mouse button while the cursor is within the nonclient area of ...
Definition window_messages.hpp:594
constexpr xtd::uint32 WM_DWMWINDOWMAXIMIZEDCHANGE
Sent when a Desktop Window Manager (DWM) composed window is maximized.
Definition window_messages.hpp:1671
constexpr xtd::uint32 WM_UPDATEUISTATE
An application sends the WM_UPDATEUISTATE message to change the UI state for the specified window and...
Definition window_messages.hpp:887
constexpr xtd::uint32 WM_NCRBUTTONUP
Posted when the user releases the right mouse button while the cursor is within the nonclient area of...
Definition window_messages.hpp:601
constexpr xtd::uint32 WM_USER
Used to define private messages for use by private window classes, usually of the form WM_USER+x,...
Definition window_messages.hpp:1714
constexpr xtd::uint32 WM_MDIMAXIMIZE
An application sends the WM_MDIMAXIMIZE message to a multiple-document interface (MDI) client window ...
Definition window_messages.hpp:1165
constexpr xtd::uint32 WM_ACTIVATE
Sent to both the window being activated and the window being deactivated. If the windows use the same...
Definition window_messages.hpp:50
constexpr xtd::uint32 WM_CTLCOLORDLG
Sent to a dialog box before the system draws the dialog box. By responding to this message,...
Definition window_messages.hpp:930
constexpr xtd::uint32 WM_RENDERFORMAT
Sent to the clipboard owner if it has delayed rendering a specific clipboard format and if an applica...
Definition window_messages.hpp:1515
constexpr xtd::uint32 WM_CTLCOLOREDIT
An edit control that is not read-only or disabled sends the WM_CTLCOLOREDIT message to its parent win...
Definition window_messages.hpp:909
constexpr xtd::uint32 WM_COMMAND
Sent when the user selects a command item from a menu, when a control sends a notification message to...
Definition window_messages.hpp:759
constexpr xtd::uint32 WM_ENDSESSION
The WM_ENDSESSION message is sent to an application after the system processes the results of the WM_...
Definition window_messages.hpp:156
constexpr xtd::uint32 WM_MBUTTONDOWN
Posted when the user presses the middle mouse button while the cursor is in the client area of a wind...
Definition window_messages.hpp:1009
constexpr xtd::uint32 WM_CTLCOLORBTN
The WM_CTLCOLORBTN message is sent to the parent window of a button before drawing the button....
Definition window_messages.hpp:923
constexpr xtd::uint32 WM_DRAWCLIPBOARD
Sent to the first window in the clipboard viewer chain when the content of the clipboard changes....
Definition window_messages.hpp:1536
constexpr xtd::uint32 WM_CANCELMODE
Sent to cancel certain modes, such as mouse capture. For example, the system sends this message to th...
Definition window_messages.hpp:213
constexpr xtd::uint32 WM_CTLCOLORSTATIC
A static control, or an edit control that is read-only or disabled, sends the WM_CTLCOLORSTATIC messa...
Definition window_messages.hpp:944
constexpr xtd::uint32 WM_POWER
Notifies applications that the system, typically a battery-powered personal computer,...
Definition window_messages.hpp:394
constexpr xtd::uint32 WM_MBUTTONDBLCLK
Posted when the user double-clicks the middle mouse button while the cursor is in the client area of ...
Definition window_messages.hpp:1023
constexpr xtd::uint32 WM_MOUSEHWHEEL
Sent to the active window when the mouse's horizontal scroll wheel is tilted or rotated....
Definition window_messages.hpp:1058
constexpr xtd::uint32 WM_MENUDRAG
Sent to the owner of a drag-and-drop menu when the user drags a menu item.
Definition window_messages.hpp:852
constexpr xtd::int32 DM_POINTERHITTEST
Sent by an application to direct the IME window to carry out the requested command....
Definition window_messages.hpp:1355
constexpr xtd::uint32 WM_MDIACTIVATE
An application sends the WM_MDIACTIVATE message to a multiple-document interface (MDI) client window ...
Definition window_messages.hpp:1144
constexpr xtd::uint32 WM_MDIREFRESHMENU
An application sends the WM_MDIREFRESHMENU message to a multiple-document interface (MDI) client wind...
Definition window_messages.hpp:1228
constexpr xtd::uint32 WM_IME_ENDCOMPOSITION
Sent to an application when the IME ends composition. A window receives this message through its Wind...
Definition window_messages.hpp:745
constexpr xtd::uint32 WM_NCMOUSEHOVER
Posted to a window when the cursor hovers over the nonclient area of the window for the period of tim...
Definition window_messages.hpp:1444
constexpr xtd::uint32 WM_NOTIFY
Sent by a common control to its parent window when an event has occurred or the control requires some...
Definition window_messages.hpp:416
constexpr xtd::uint32 WM_SYSKEYDOWN
Posted to the window with the keyboard focus when the user presses the F10 key (which activates the m...
Definition window_messages.hpp:700
constexpr xtd::uint32 WM_IME_REQUEST
Sent to an application to provide commands and request information. A window receives this message th...
Definition window_messages.hpp:1406
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 h...
Definition window_messages.hpp:1285
constexpr xtd::uint32 WM_APPCOMMAND
Notifies a window that the user generated an application command event, for example,...
Definition window_messages.hpp:1628
constexpr xtd::uint32 WM_SETFONT
Sets the font that a control is to use when drawing text.
Definition window_messages.hpp:320
constexpr xtd::uint32 WM_SHOWWINDOW
Sent to a window when the window is about to be hidden or shown.
Definition window_messages.hpp:164
constexpr xtd::uint32 WM_GETDLGCODE
Sent to the window procedure associated with a control. By default, the system handles all keyboard i...
Definition window_messages.hpp:551
constexpr xtd::uint32 WM_NCLBUTTONUP
Posted when the user releases the left mouse button while the cursor is within the nonclient area of ...
Definition window_messages.hpp:580
constexpr xtd::uint32 WM_PALETTECHANGED
The WM_PALETTECHANGED message is sent to all top-level and overlapped windows after the window with t...
Definition window_messages.hpp:1599
constexpr xtd::uint32 WM_MDIICONARRANGE
An application sends the WM_MDIICONARRANGE message to a multiple-document interface (MDI) client wind...
Definition window_messages.hpp:1186
constexpr xtd::uint32 WM_GETFONT
Retrieves the font with which the control is currently drawing its text.
Definition window_messages.hpp:327
constexpr xtd::uint32 WM_RBUTTONUP
Posted when the user releases the right mouse button while the cursor is in the client area of a wind...
Definition window_messages.hpp:995
constexpr xtd::uint32 WM_STYLECHANGING
Sent to a window when the SetWindowLong function is about to change one or more of the window's style...
Definition window_messages.hpp:474
constexpr xtd::uint32 WM_STYLECHANGED
Sent to a window after the SetWindowLong function has changed one or more of the window's styles.
Definition window_messages.hpp:481
constexpr xtd::uint32 WM_INPUTLANGCHANGE
Sent to the topmost affected window after an application's input language has been changed....
Definition window_messages.hpp:431
constexpr xtd::uint32 WM_TIMECHANGE
A message that is sent whenever there is a change in the system time.
Definition window_messages.hpp:206
constexpr xtd::uint32 WM_DWMNCRENDERINGCHANGED
Sent when the non-client area rendering policy has changed.
Definition window_messages.hpp:1657
constexpr xtd::uint32 WM_SETREDRAW
An application sends the WM_SETREDRAW message to a window to allow changes in that window to be redra...
Definition window_messages.hpp:79
constexpr xtd::uint32 WM_TIMER
Posted to the installing thread's message queue when a timer expires. The message is posted by the Ge...
Definition window_messages.hpp:773
constexpr xtd::uint32 WM_INPUT
Sent to the window that is getting raw input.
Definition window_messages.hpp:665
constexpr xtd::uint32 WM_MENUCOMMAND
Sent when the user makes a selection from a menu.
Definition window_messages.hpp:873
constexpr xtd::uint32 WM_MDITILE
An application sends the WM_MDITILE message to a multiple-document interface (MDI) client window to a...
Definition window_messages.hpp:1172