/// /// Copyright © 2003-2008 JetBrains s.r.o. /// You may distribute under the terms of the GNU General Public License, as published by the Free Software Foundation, version 2 (see License.txt in the repository root folder). /// namespace JetBrains.Interop.WinApi { /// /// Windows message constants. /// public enum WindowsMessages : uint { WM_NULL = 0x0000, WM_MOVE = 0x0003, WM_SIZE = 0x0005, WM_ACTIVATE = 0x0006, WM_SETFOCUS = 0x0007, WM_KILLFOCUS = 0x0008, WM_GETTEXT = 0x000D, WM_GETTEXTLENGTH = 0x000E, WM_QUIT = 0x0012, WM_ACTIVATEAPP = 0x001C, WM_CANCELMODE = 0x001F, WM_SETCURSOR = 0x0020, WM_NCHITTEST = 0x0084, WM_NCPAINT = 0x0085, WM_NCCALCSIZE = 0x0083, WM_NCACTIVATE = 0x0086, WM_NCMOUSEFIRST = 0x00A0, WM_NCMOUSEMOVE = 0x00A0, WM_NCLBUTTONDOWN = 0x00A1, WM_NCLBUTTONUP = 0x00A2, WM_NCLBUTTONDBLCLK = 0x00A3, WM_NCRBUTTONDOWN = 0x00A4, WM_NCRBUTTONUP = 0x00A5, WM_NCRBUTTONDBLCLK = 0x00A6, WM_NCMBUTTONDOWN = 0x00A7, WM_NCMBUTTONUP = 0x00A8, WM_NCMBUTTONDBLCLK = 0x00A9, WM_NCMOUSELAST = 0x00A9, WM_NOTIFY = 0x004E, WM_USER = 0x400, WM_HSCROLL = 0x114, WM_VSCROLL = 0x115, WM_PASTE = 0x302, WM_PAINT = 0x000F, /// /// 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. /// wParam is hdc, lParam is drawing options (PRF_…) /// WM_PRINT = 0x0317, WM_PRINTCLIENT = 0x318, WM_APPCOMMAND = 0x319, WM_SETREDRAW = 0x000B, WM_SETTEXT = 0x000C, WM_SHOWWINDOW = 0x0018, WM_CONTEXTMENU = 0x007B, WM_CREATE = 0x0001, WM_ERASEBKGND = 0x0014, WM_INITDIALOG = 0x0110, WM_COMMAND = 0x0111, WM_SYSCOMMAND = 0x0112, WM_TIMER = 0x0113, WM_ENTERIDLE = 0x0121, WM_MOUSEACTIVATE = 0x0021, WM_WINDOWPOSCHANGING = 0x0046, WM_WINDOWPOSCHANGED = 0x0047, WM_ENTERMENULOOP = 0x0211, WM_EXITMENULOOP = 0x212, WM_CAPTURECHANGED = 0x0215, WM_POWERBROADCAST = 0x0218, WM_CLOSE = 0x0010, WM_GETDLGCODE = 0x0087, WM_KEYFIRST = 0x0100, WM_KEYDOWN = 0x0100, WM_KEYUP = 0x0101, WM_CHAR = 0x0102, WM_DEADCHAR = 0x0103, WM_SYSKEYDOWN = 0x0104, WM_SYSKEYUP = 0x0105, WM_SYSCHAR = 0x0106, WM_SYSDEADCHAR = 0x0107, WM_UNICHAR = 0x0109, WM_KEYLAST = 0x0109, WM_MOUSEFIRST = 0x0200, WM_MOUSEMOVE = 0x0200, WM_LBUTTONDOWN = 0x0201, WM_LBUTTONUP = 0x0202, WM_LBUTTONDBLCLK = 0x0203, WM_RBUTTONDOWN = 0x0204, WM_RBUTTONUP = 0x0205, WM_RBUTTONDBLCLK = 0x0206, WM_MBUTTONDOWN = 0x0207, WM_MBUTTONUP = 0x0208, WM_MBUTTONDBLCLK = 0x0209, WM_MOUSEWHEEL = 0x020A, WM_XBUTTONDOWN = 0x020B, WM_XBUTTONUP = 0x020C, WM_XBUTTONDBLCLK = 0x020D, WM_MOUSELAST = 0x020D, WM_MOUSEHOVER = 0x02A1, WM_MOUSELEAVE = 0x02A3, WM_SIZING = 0x0214, WM_MOVING = 0x0216, WM_IME_STARTCOMPOSITION = 0x010D, WM_IME_ENDCOMPOSITION = 0x010E, WM_IME_COMPOSITION = 0x010F, WM_IME_KEYLAST = 0x010F, // Common Controls shared messages CCM_FIRST = 0x2000, // Common control shared messages CCM_LAST = (CCM_FIRST + 0x200), CCM_SETBKCOLOR = (CCM_FIRST + 1), // lParam is bkColor CCM_SETCOLORSCHEME = (CCM_FIRST + 2), // lParam is color scheme CCM_GETCOLORSCHEME = (CCM_FIRST + 3), // fills in COLORSCHEME pointed to by lParam CCM_GETDROPTARGET = (CCM_FIRST + 4), CCM_SETUNICODEFORMAT = (CCM_FIRST + 5), CCM_GETUNICODEFORMAT = (CCM_FIRST + 6), CCM_SETVERSION = (CCM_FIRST + 0x7), CCM_GETVERSION = (CCM_FIRST + 0x8), CCM_SETNOTIFYWINDOW = (CCM_FIRST + 0x9), // wParam == hwndParent. CCM_SETWINDOWTHEME = (CCM_FIRST + 0xb), CCM_DPISCALE = (CCM_FIRST + 0xc), // wParam == Awareness // Statusbar-specific SB_SETPARTS = (WM_USER + 4), SB_GETPARTS = (WM_USER + 6), SB_GETBORDERS = (WM_USER + 7), SB_SETMINHEIGHT = (WM_USER + 8), SB_SIMPLE = (WM_USER + 9), SB_GETRECT = (WM_USER + 10), SB_ISSIMPLE = (WM_USER + 14), SB_SETICON = (WM_USER + 15), SB_SETTIPTEXTA = (WM_USER + 16), SB_SETTIPTEXTW = (WM_USER + 17), SB_GETTIPTEXTA = (WM_USER + 18), SB_GETTIPTEXTW = (WM_USER + 19), SB_GETICON = (WM_USER + 20), SB_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT, SB_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT, SB_SETTEXTA = (WM_USER + 1), SB_SETTEXTW = (WM_USER + 11), SB_GETTEXTA = (WM_USER + 2), SB_GETTEXTW = (WM_USER + 13), SB_GETTEXTLENGTHA = (WM_USER + 3), SB_GETTEXTLENGTHW = (WM_USER + 12), SB_SETBKCOLOR = CCM_SETBKCOLOR, // lParam = bkColor SB_SIMPLEID = 0x00ff, WM_DWMCOMPOSITIONCHANGED = 0x031E, WM_DWMNCRENDERINGCHANGED = 0x031F, WM_DWMCOLORIZATIONCOLORCHANGED = 0x0320, WM_DWMWINDOWMAXIMIZEDCHANGE = 0x0321, WM_GETTITLEBARINFOEX = 0x033F, WM_SETTINGCHANGE = WM_WININICHANGE, WM_WININICHANGE = 0x001A, EM_GETSEL = 0x00B0, EM_SETSEL = 0x00B1, EM_GETRECT = 0x00B2, EM_SETRECT = 0x00B3, EM_SETRECTNP = 0x00B4, EM_SCROLL = 0x00B5, EM_LINESCROLL = 0x00B6, EM_SCROLLCARET = 0x00B7, EM_GETMODIFY = 0x00B8, EM_SETMODIFY = 0x00B9, EM_GETLINECOUNT = 0x00BA, EM_LINEINDEX = 0x00BB, EM_SETHANDLE = 0x00BC, EM_GETHANDLE = 0x00BD, EM_GETTHUMB = 0x00BE, EM_LINELENGTH = 0x00C1, EM_REPLACESEL = 0x00C2, EM_GETLINE = 0x00C4, EM_LIMITTEXT = 0x00C5, EM_CANUNDO = 0x00C6, EM_UNDO = 0x00C7, EM_FMTLINES = 0x00C8, EM_LINEFROMCHAR = 0x00C9, EM_SETTABSTOPS = 0x00CB, EM_SETPASSWORDCHAR = 0x00CC, EM_EMPTYUNDOBUFFER = 0x00CD, EM_GETFIRSTVISIBLELINE = 0x00CE, EM_SETREADONLY = 0x00CF, EM_SETWORDBREAKPROC = 0x00D0, EM_GETWORDBREAKPROC = 0x00D1, EM_GETPASSWORDCHAR = 0x00D2, EM_SETMARGINS = 0x00D3, EM_GETMARGINS = 0x00D4, EM_SETLIMITTEXT = EM_LIMITTEXT, /* ;win40 Name change */ EM_GETLIMITTEXT = 0x00D5, EM_POSFROMCHAR = 0x00D6, EM_CHARFROMPOS = 0x00D7, EM_SETIMESTATUS = 0x00D8, EM_GETIMESTATUS = 0x00D9, HDM_FIRST = 0x1200, HDM_SETITEMA = HDM_FIRST + 4, HDM_SETITEMW = HDM_FIRST + 12, HDM_GETITEMA = HDM_FIRST + 3, HDM_GETITEMW = HDM_FIRST + 11, HDM_GETIMAGELIST = HDM_FIRST + 9, HDM_SETIMAGELIST = HDM_FIRST + 8, LVM_FIRST = 0x1000, LVM_GETHEADER = LVM_FIRST + 31, CDM_FIRST = WM_USER + 100, CDM_LAST = WM_USER + 200, CDM_GETFILEPATH = CDM_FIRST + 0x0001, CDM_GETFOLDERPATH = CDM_FIRST + 0x0002, CDM_SETCONTROLTEXT = CDM_FIRST + 0x0004, CDM_HIDECONTROL = CDM_FIRST + 0x0005, } }