【WinAPI】Windows Message 枚举常量收集

   1 namespace WindowsUtilities
   2  {
   3      public enum WindowsMessages : int
   4      {
   5          WM_NULL = 0x0000,
   6          WM_CREATE = 0x0001,
   7          WM_DESTROY = 0x0002,
   8          WM_MOVE = 0x0003,
   9          WM_SIZE = 0x0005,
  10          WM_ACTIVATE = 0x0006,
  11          WM_SETFOCUS = 0x0007,
  12          WM_KILLFOCUS = 0x0008,
  13          WM_ENABLE = 0x000A,
  14          WM_SETREDRAW = 0x000B,
  15          WM_SETTEXT = 0x000C,
  16          WM_GETTEXT = 0x000D,
  17          WM_GETTEXTLENGTH = 0x000E,
  18          WM_PAINT = 0x000F,
  19          WM_CLOSE = 0x0010,
  20          WM_QUERYENDSESSION = 0x0011,
  21          WM_QUERYOPEN = 0x0013,
  22          WM_ENDSESSION = 0x0016,
  23          WM_QUIT = 0x0012,
  24          WM_ERASEBKGND = 0x0014,
  25          WM_SYSCOLORCHANGE = 0x0015,
  26          WM_SHOWWINDOW = 0x0018,
  27          WM_WININICHANGE = 0x001A,
  28          WM_SETTINGCHANGE = 0x001A,
  29          WM_DEVMODECHANGE = 0x001B,
  30          WM_ACTIVATEAPP = 0x001C,
  31          WM_FONTCHANGE = 0x001D,
  32          WM_TIMECHANGE = 0x001E,
  33          WM_CANCELMODE = 0x001F,
  34          WM_SETCURSOR = 0x0020,
  35          WM_MOUSEACTIVATE = 0x0021,
  36          WM_CHILDACTIVATE = 0x0022,
  37          WM_QUEUESYNC = 0x0023,
  38          WM_GETMINMAXINFO = 0x0024,
  39          WM_PAINTICON = 0x0026,
  40          WM_ICONERASEBKGND = 0x0027,
  41          WM_NEXTDLGCTL = 0x0028,
  42          WM_SPOOLERSTATUS = 0x002A,
  43          WM_DRAWITEM = 0x002B,
  44          WM_MEASUREITEM = 0x002C,
  45          WM_DELETEITEM = 0x002D,
  46          WM_VKEYTOITEM = 0x002E,
  47          WM_CHARTOITEM = 0x002F,
  48          WM_SETFONT = 0x0030,
  49          WM_GETFONT = 0x0031,
  50          WM_SETHOTKEY = 0x0032,
  51          WM_GETHOTKEY = 0x0033,
  52          WM_QUERYDRAGICON = 0x0037,
  53          WM_COMPAREITEM = 0x0039,
  54          WM_GETOBJECT = 0x003D,
  55          WM_COMPACTING = 0x0041,
  56          WM_COMMNOTIFY = 0x0044,
  57          WM_WINDOWPOSCHANGING = 0x0046,
  58          WM_WINDOWPOSCHANGED = 0x0047,
  59          WM_POWER = 0x0048,
  60          WM_COPYDATA = 0x004A,
  61          WM_CANCELJOURNAL = 0x004B,
  62          WM_NOTIFY = 0x004E,
  63          WM_INPUTLANGCHANGEREQUEST = 0x0050,
  64          WM_INPUTLANGCHANGE = 0x0051,
  65          WM_TCARD = 0x0052,
  66          WM_HELP = 0x0053,
  67          WM_USERCHANGED = 0x0054,
  68          WM_NOTIFYFORMAT = 0x0055,
  69          WM_CONTEXTMENU = 0x007B,
  70          WM_STYLECHANGING = 0x007C,
  71          WM_STYLECHANGED = 0x007D,
  72          WM_DISPLAYCHANGE = 0x007E,
  73          WM_GETICON = 0x007F,
  74          WM_SETICON = 0x0080,
  75          WM_NCCREATE = 0x0081,
  76          WM_NCDESTROY = 0x0082,
  77          WM_NCCALCSIZE = 0x0083,
  78          WM_NCHITTEST = 0x0084,
  79          WM_NCPAINT = 0x0085,
  80          WM_NCACTIVATE = 0x0086,
  81          WM_GETDLGCODE = 0x0087,
  82          WM_SYNCPAINT = 0x0088,
  83          WM_NCMOUSEMOVE = 0x00A0,
  84          WM_NCLBUTTONDOWN = 0x00A1,
  85          WM_NCLBUTTONUP = 0x00A2,
  86          WM_NCLBUTTONDBLCLK = 0x00A3,
  87          WM_NCRBUTTONDOWN = 0x00A4,
  88          WM_NCRBUTTONUP = 0x00A5,
  89          WM_NCRBUTTONDBLCLK = 0x00A6,
  90          WM_NCMBUTTONDOWN = 0x00A7,
  91          WM_NCMBUTTONUP = 0x00A8,
  92          WM_NCMBUTTONDBLCLK = 0x00A9,
  93          WM_NCXBUTTONDOWN = 0x00AB,
  94          WM_NCXBUTTONUP = 0x00AC,
  95          WM_NCXBUTTONDBLCLK = 0x00AD,
  96          WM_INPUT = 0x00FF,
  97          WM_KEYFIRST = 0x0100,
  98          WM_KEYDOWN = 0x0100,
  99          WM_KEYUP = 0x0101,
 100          WM_CHAR = 0x0102,
 101          WM_DEADCHAR = 0x0103,
 102          WM_SYSKEYDOWN = 0x0104,
 103          WM_SYSKEYUP = 0x0105,
 104          WM_SYSCHAR = 0x0106,
 105          WM_SYSDEADCHAR = 0x0107,
 106          WM_UNICHAR = 0x0109,
 107          WM_KEYLAST_NT501 = 0x0109,
 108          UNICODE_NOCHAR = 0xFFFF,
 109          WM_KEYLAST_PRE501 = 0x0108,
 110          WM_IME_STARTCOMPOSITION = 0x010D,
 111          WM_IME_ENDCOMPOSITION = 0x010E,
 112          WM_IME_COMPOSITION = 0x010F,
 113          WM_IME_KEYLAST = 0x010F,
 114          WM_INITDIALOG = 0x0110,
 115          WM_COMMAND = 0x0111,
 116          WM_SYSCOMMAND = 0x0112,
 117          WM_TIMER = 0x0113,
 118          WM_HSCROLL = 0x0114,
 119          WM_VSCROLL = 0x0115,
 120          WM_INITMENU = 0x0116,
 121          WM_INITMENUPOPUP = 0x0117,
 122          WM_MENUSELECT = 0x011F,
 123          WM_MENUCHAR = 0x0120,
 124          WM_ENTERIDLE = 0x0121,
 125          WM_MENURBUTTONUP = 0x0122,
 126          WM_MENUDRAG = 0x0123,
 127          WM_MENUGETOBJECT = 0x0124,
 128          WM_UNINITMENUPOPUP = 0x0125,
 129          WM_MENUCOMMAND = 0x0126,
 130          WM_CHANGEUISTATE = 0x0127,
 131          WM_UPDATEUISTATE = 0x0128,
 132          WM_QUERYUISTATE = 0x0129,
 133          WM_CTLCOLORMSGBOX = 0x0132,
 134          WM_CTLCOLOREDIT = 0x0133,
 135          WM_CTLCOLORLISTBOX = 0x0134,
 136          WM_CTLCOLORBTN = 0x0135,
 137          WM_CTLCOLORDLG = 0x0136,
 138          WM_CTLCOLORSCROLLBAR = 0x0137,
 139          WM_CTLCOLORSTATIC = 0x0138,
 140          WM_MOUSEFIRST = 0x0200,
 141          WM_MOUSEMOVE = 0x0200,
 142          WM_LBUTTONDOWN = 0x0201,
 143          WM_LBUTTONUP = 0x0202,
 144          WM_LBUTTONDBLCLK = 0x0203,
 145          WM_RBUTTONDOWN = 0x0204,
 146          WM_RBUTTONUP = 0x0205,
 147          WM_RBUTTONDBLCLK = 0x0206,
 148          WM_MBUTTONDOWN = 0x0207,
 149          WM_MBUTTONUP = 0x0208,
 150          WM_MBUTTONDBLCLK = 0x0209,
 151          WM_MOUSEWHEEL = 0x020A,
 152          WM_XBUTTONDOWN = 0x020B,
 153          WM_XBUTTONUP = 0x020C,
 154          WM_XBUTTONDBLCLK = 0x020D,
 155          WM_MOUSELAST_5 = 0x020D,
 156          WM_MOUSELAST_4 = 0x020A,
 157          WM_MOUSELAST_PRE_4 = 0x0209,
 158          WM_PARENTNOTIFY = 0x0210,
 159          WM_ENTERMENULOOP = 0x0211,
 160          WM_EXITMENULOOP = 0x0212,
 161          WM_NEXTMENU = 0x0213,
 162          WM_SIZING = 0x0214,
 163          WM_CAPTURECHANGED = 0x0215,
 164          WM_MOVING = 0x0216,
 165          WM_POWERBROADCAST = 0x0218,
 166          WM_DEVICECHANGE = 0x0219,
 167          WM_MDICREATE = 0x0220,
 168          WM_MDIDESTROY = 0x0221,
 169          WM_MDIACTIVATE = 0x0222,
 170          WM_MDIRESTORE = 0x0223,
 171          WM_MDINEXT = 0x0224,
 172          WM_MDIMAXIMIZE = 0x0225,
 173          WM_MDITILE = 0x0226,
 174          WM_MDICASCADE = 0x0227,
 175          WM_MDIICONARRANGE = 0x0228,
 176          WM_MDIGETACTIVE = 0x0229,
 177          WM_MDISETMENU = 0x0230,
 178          WM_ENTERSIZEMOVE = 0x0231,
 179          WM_EXITSIZEMOVE = 0x0232,
 180          WM_DROPFILES = 0x0233,
 181          WM_MDIREFRESHMENU = 0x0234,
 182          WM_IME_SETCONTEXT = 0x0281,
 183          WM_IME_NOTIFY = 0x0282,
 184          WM_IME_CONTROL = 0x0283,
 185          WM_IME_COMPOSITIONFULL = 0x0284,
 186          WM_IME_SELECT = 0x0285,
 187          WM_IME_CHAR = 0x0286,
 188          WM_IME_REQUEST = 0x0288,
 189          WM_IME_KEYDOWN = 0x0290,
 190          WM_IME_KEYUP = 0x0291,
 191          WM_MOUSEHOVER = 0x02A1,
 192          WM_MOUSELEAVE = 0x02A3,
 193          WM_NCMOUSEHOVER = 0x02A0,
 194          WM_NCMOUSELEAVE = 0x02A2,
 195          WM_WTSSESSION_CHANGE = 0x02B1,
 196          WM_TABLET_FIRST = 0x02c0,
 197          WM_TABLET_LAST = 0x02df,
 198          WM_CUT = 0x0300,
 199          WM_COPY = 0x0301,
 200          WM_PASTE = 0x0302,
 201          WM_CLEAR = 0x0303,
 202          WM_UNDO = 0x0304,
 203          WM_RENDERFORMAT = 0x0305,
 204          WM_RENDERALLFORMATS = 0x0306,
 205          WM_DESTROYCLIPBOARD = 0x0307,
 206          WM_DRAWCLIPBOARD = 0x0308,
 207          WM_PAINTCLIPBOARD = 0x0309,
 208          WM_VSCROLLCLIPBOARD = 0x030A,
 209          WM_SIZECLIPBOARD = 0x030B,
 210          WM_ASKCBFORMATNAME = 0x030C,
 211          WM_CHANGECBCHAIN = 0x030D,
 212          WM_HSCROLLCLIPBOARD = 0x030E,
 213          WM_QUERYNEWPALETTE = 0x030F,
 214          WM_PALETTEISCHANGING = 0x0310,
 215          WM_PALETTECHANGED = 0x0311,
 216          WM_HOTKEY = 0x0312,
 217          WM_PRINT = 0x0317,
 218          WM_PRINTCLIENT = 0x0318,
 219          WM_APPCOMMAND = 0x0319,
 220          WM_THEMECHANGED = 0x031A,
 221          WM_HANDHELDFIRST = 0x0358,
 222          WM_HANDHELDLAST = 0x035F,
 223          WM_AFXFIRST = 0x0360,
 224          WM_AFXLAST = 0x037F,
 225          WM_PENWINFIRST = 0x0380,
 226          WM_PENWINLAST = 0x038F,
 227          WM_APP = 0x8000,
 228          WM_USER = 0x0400,
 229          EM_GETSEL = 0x00B0,
 230          EM_SETSEL = 0x00B1,
 231          EM_GETRECT = 0x00B2,
 232          EM_SETRECT = 0x00B3,
 233          EM_SETRECTNP = 0x00B4,
 234          EM_SCROLL = 0x00B5,
 235          EM_LINESCROLL = 0x00B6,
 236          EM_SCROLLCARET = 0x00B7,
 237          EM_GETMODIFY = 0x00B8,
 238          EM_SETMODIFY = 0x00B9,
 239          EM_GETLINECOUNT = 0x00BA,
 240          EM_LINEINDEX = 0x00BB,
 241          EM_SETHANDLE = 0x00BC,
 242          EM_GETHANDLE = 0x00BD,
 243          EM_GETTHUMB = 0x00BE,
 244          EM_LINELENGTH = 0x00C1,
 245          EM_REPLACESEL = 0x00C2,
 246          EM_GETLINE = 0x00C4,
 247          EM_LIMITTEXT = 0x00C5,
 248          EM_CANUNDO = 0x00C6,
 249          EM_UNDO = 0x00C7,
 250          EM_FMTLINES = 0x00C8,
 251          EM_LINEFROMCHAR = 0x00C9,
 252          EM_SETTABSTOPS = 0x00CB,
 253          EM_SETPASSWORDCHAR = 0x00CC,
 254          EM_EMPTYUNDOBUFFER = 0x00CD,
 255          EM_GETFIRSTVISIBLELINE = 0x00CE,
 256          EM_SETREADONLY = 0x00CF,
 257          EM_SETWORDBREAKPROC = 0x00D0,
 258          EM_GETWORDBREAKPROC = 0x00D1,
 259          EM_GETPASSWORDCHAR = 0x00D2,
 260          EM_SETMARGINS = 0x00D3,
 261          EM_GETMARGINS = 0x00D4,
 262          EM_SETLIMITTEXT = EM_LIMITTEXT,
 263          EM_GETLIMITTEXT = 0x00D5,
 264          EM_POSFROMCHAR = 0x00D6,
 265          EM_CHARFROMPOS = 0x00D7,
 266          EM_SETIMESTATUS = 0x00D8,
 267          EM_GETIMESTATUS = 0x00D9,
 268          BM_GETCHECK = 0x00F0,
 269          BM_SETCHECK = 0x00F1,
 270          BM_GETSTATE = 0x00F2,
 271          BM_SETSTATE = 0x00F3,
 272          BM_SETSTYLE = 0x00F4,
 273          BM_CLICK = 0x00F5,
 274          BM_GETIMAGE = 0x00F6,
 275          BM_SETIMAGE = 0x00F7,
 276          STM_SETICON = 0x0170,
 277          STM_GETICON = 0x0171,
 278          STM_SETIMAGE = 0x0172,
 279          STM_GETIMAGE = 0x0173,
 280          STM_MSGMAX = 0x0174,
 281          DM_GETDEFID = (WM_USER + 0),
 282          DM_SETDEFID = (WM_USER + 1),
 283          DM_REPOSITION = (WM_USER + 2),
 284          LB_ADDSTRING = 0x0180,
 285          LB_INSERTSTRING = 0x0181,
 286          LB_DELETESTRING = 0x0182,
 287          LB_SELITEMRANGEEX = 0x0183,
 288          LB_RESETCONTENT = 0x0184,
 289          LB_SETSEL = 0x0185,
 290          LB_SETCURSEL = 0x0186,
 291          LB_GETSEL = 0x0187,
 292          LB_GETCURSEL = 0x0188,
 293          LB_GETTEXT = 0x0189,
 294          LB_GETTEXTLEN = 0x018A,
 295          LB_GETCOUNT = 0x018B,
 296          LB_SELECTSTRING = 0x018C,
 297          LB_DIR = 0x018D,
 298          LB_GETTOPINDEX = 0x018E,
 299          LB_FINDSTRING = 0x018F,
 300          LB_GETSELCOUNT = 0x0190,
 301          LB_GETSELITEMS = 0x0191,
 302          LB_SETTABSTOPS = 0x0192,
 303          LB_GETHORIZONTALEXTENT = 0x0193,
 304          LB_SETHORIZONTALEXTENT = 0x0194,
 305          LB_SETCOLUMNWIDTH = 0x0195,
 306          LB_ADDFILE = 0x0196,
 307          LB_SETTOPINDEX = 0x0197,
 308          LB_GETITEMRECT = 0x0198,
 309          LB_GETITEMDATA = 0x0199,
 310          LB_SETITEMDATA = 0x019A,
 311          LB_SELITEMRANGE = 0x019B,
 312          LB_SETANCHORINDEX = 0x019C,
 313          LB_GETANCHORINDEX = 0x019D,
 314          LB_SETCARETINDEX = 0x019E,
 315          LB_GETCARETINDEX = 0x019F,
 316          LB_SETITEMHEIGHT = 0x01A0,
 317          LB_GETITEMHEIGHT = 0x01A1,
 318          LB_FINDSTRINGEXACT = 0x01A2,
 319          LB_SETLOCALE = 0x01A5,
 320          LB_GETLOCALE = 0x01A6,
 321          LB_SETCOUNT = 0x01A7,
 322          LB_INITSTORAGE = 0x01A8,
 323          LB_ITEMFROMPOINT = 0x01A9,
 324          LB_MULTIPLEADDSTRING = 0x01B1,
 325          LB_GETLISTBOXINFO = 0x01B2,
 326          LB_MSGMAX_501 = 0x01B3,
 327          LB_MSGMAX_WCE4 = 0x01B1,
 328          LB_MSGMAX_4 = 0x01B0,
 329          LB_MSGMAX_PRE4 = 0x01A8,
 330          CB_GETEDITSEL = 0x0140,
 331          CB_LIMITTEXT = 0x0141,
 332          CB_SETEDITSEL = 0x0142,
 333          CB_ADDSTRING = 0x0143,
 334          CB_DELETESTRING = 0x0144,
 335          CB_DIR = 0x0145,
 336          CB_GETCOUNT = 0x0146,
 337          CB_GETCURSEL = 0x0147,
 338          CB_GETLBTEXT = 0x0148,
 339          CB_GETLBTEXTLEN = 0x0149,
 340          CB_INSERTSTRING = 0x014A,
 341          CB_RESETCONTENT = 0x014B,
 342          CB_FINDSTRING = 0x014C,
 343          CB_SELECTSTRING = 0x014D,
 344          CB_SETCURSEL = 0x014E,
 345          CB_SHOWDROPDOWN = 0x014F,
 346          CB_GETITEMDATA = 0x0150,
 347          CB_SETITEMDATA = 0x0151,
 348          CB_GETDROPPEDCONTROLRECT = 0x0152,
 349          CB_SETITEMHEIGHT = 0x0153,
 350          CB_GETITEMHEIGHT = 0x0154,
 351          CB_SETEXTENDEDUI = 0x0155,
 352          CB_GETEXTENDEDUI = 0x0156,
 353          CB_GETDROPPEDSTATE = 0x0157,
 354          CB_FINDSTRINGEXACT = 0x0158,
 355          CB_SETLOCALE = 0x0159,
 356          CB_GETLOCALE = 0x015A,
 357          CB_GETTOPINDEX = 0x015B,
 358          CB_SETTOPINDEX = 0x015C,
 359          CB_GETHORIZONTALEXTENT = 0x015d,
 360          CB_SETHORIZONTALEXTENT = 0x015e,
 361          CB_GETDROPPEDWIDTH = 0x015f,
 362          CB_SETDROPPEDWIDTH = 0x0160,
 363          CB_INITSTORAGE = 0x0161,
 364          CB_MULTIPLEADDSTRING = 0x0163,
 365          CB_GETCOMBOBOXINFO = 0x0164,
 366          CB_MSGMAX_501 = 0x0165,
 367          CB_MSGMAX_WCE400 = 0x0163,
 368          CB_MSGMAX_400 = 0x0162,
 369          CB_MSGMAX_PRE400 = 0x015B,
 370          SBM_SETPOS = 0x00E0,
 371          SBM_GETPOS = 0x00E1,
 372          SBM_SETRANGE = 0x00E2,
 373          SBM_SETRANGEREDRAW = 0x00E6,
 374          SBM_GETRANGE = 0x00E3,
 375          SBM_ENABLE_ARROWS = 0x00E4,
 376          SBM_SETSCROLLINFO = 0x00E9,
 377          SBM_GETSCROLLINFO = 0x00EA,
 378          SBM_GETSCROLLBARINFO = 0x00EB,
 379          LVM_FIRST = 0x1000,// ListView messages
 380          TV_FIRST = 0x1100,// TreeView messages
 381          HDM_FIRST = 0x1200,// Header messages
 382          TCM_FIRST = 0x1300,// Tab control messages
 383          PGM_FIRST = 0x1400,// Pager control messages
 384          ECM_FIRST = 0x1500,// Edit control messages
 385          BCM_FIRST = 0x1600,// Button control messages
 386          CBM_FIRST = 0x1700,// Combobox control messages
 387          CCM_FIRST = 0x2000,// Common control shared messages
 388          CCM_LAST = (CCM_FIRST + 0x200),
 389          CCM_SETBKCOLOR = (CCM_FIRST + 1),
 390          CCM_SETCOLORSCHEME = (CCM_FIRST + 2),
 391          CCM_GETCOLORSCHEME = (CCM_FIRST + 3),
 392          CCM_GETDROPTARGET = (CCM_FIRST + 4),
 393          CCM_SETUNICODEFORMAT = (CCM_FIRST + 5),
 394          CCM_GETUNICODEFORMAT = (CCM_FIRST + 6),
 395          CCM_SETVERSION = (CCM_FIRST + 0x7),
 396          CCM_GETVERSION = (CCM_FIRST + 0x8),
 397          CCM_SETNOTIFYWINDOW = (CCM_FIRST + 0x9),
 398          CCM_SETWINDOWTHEME = (CCM_FIRST + 0xb),
 399          CCM_DPISCALE = (CCM_FIRST + 0xc),
 400          HDM_GETITEMCOUNT = (HDM_FIRST + 0),
 401          HDM_INSERTITEMA = (HDM_FIRST + 1),
 402          HDM_INSERTITEMW = (HDM_FIRST + 10),
 403          HDM_DELETEITEM = (HDM_FIRST + 2),
 404          HDM_GETITEMA = (HDM_FIRST + 3),
 405          HDM_GETITEMW = (HDM_FIRST + 11),
 406          HDM_SETITEMA = (HDM_FIRST + 4),
 407          HDM_SETITEMW = (HDM_FIRST + 12),
 408          HDM_LAYOUT = (HDM_FIRST + 5),
 409          HDM_HITTEST = (HDM_FIRST + 6),
 410          HDM_GETITEMRECT = (HDM_FIRST + 7),
 411          HDM_SETIMAGELIST = (HDM_FIRST + 8),
 412          HDM_GETIMAGELIST = (HDM_FIRST + 9),
 413          HDM_ORDERTOINDEX = (HDM_FIRST + 15),
 414          HDM_CREATEDRAGIMAGE = (HDM_FIRST + 16),
 415          HDM_GETORDERARRAY = (HDM_FIRST + 17),
 416          HDM_SETORDERARRAY = (HDM_FIRST + 18),
 417          HDM_SETHOTDIVIDER = (HDM_FIRST + 19),
 418          HDM_SETBITMAPMARGIN = (HDM_FIRST + 20),
 419          HDM_GETBITMAPMARGIN = (HDM_FIRST + 21),
 420          HDM_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT,
 421          HDM_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT,
 422          HDM_SETFILTERCHANGETIMEOUT = (HDM_FIRST + 22),
 423          HDM_EDITFILTER = (HDM_FIRST + 23),
 424          HDM_CLEARFILTER = (HDM_FIRST + 24),
 425          TB_ENABLEBUTTON = (WM_USER + 1),
 426          TB_CHECKBUTTON = (WM_USER + 2),
 427          TB_PRESSBUTTON = (WM_USER + 3),
 428          TB_HIDEBUTTON = (WM_USER + 4),
 429          TB_INDETERMINATE = (WM_USER + 5),
 430          TB_MARKBUTTON = (WM_USER + 6),
 431          TB_ISBUTTONENABLED = (WM_USER + 9),
 432          TB_ISBUTTONCHECKED = (WM_USER + 10),
 433          TB_ISBUTTONPRESSED = (WM_USER + 11),
 434          TB_ISBUTTONHIDDEN = (WM_USER + 12),
 435          TB_ISBUTTONINDETERMINATE = (WM_USER + 13),
 436          TB_ISBUTTONHIGHLIGHTED = (WM_USER + 14),
 437          TB_SETSTATE = (WM_USER + 17),
 438          TB_GETSTATE = (WM_USER + 18),
 439          TB_ADDBITMAP = (WM_USER + 19),
 440          TB_ADDBUTTONSA = (WM_USER + 20),
 441          TB_INSERTBUTTONA = (WM_USER + 21),
 442          TB_ADDBUTTONS = (WM_USER + 20),
 443          TB_INSERTBUTTON = (WM_USER + 21),
 444          TB_DELETEBUTTON = (WM_USER + 22),
 445          TB_GETBUTTON = (WM_USER + 23),
 446          TB_BUTTONCOUNT = (WM_USER + 24),
 447          TB_COMMANDTOINDEX = (WM_USER + 25),
 448          TB_SAVERESTOREA = (WM_USER + 26),
 449          TB_SAVERESTOREW = (WM_USER + 76),
 450          TB_CUSTOMIZE = (WM_USER + 27),
 451          TB_ADDSTRINGA = (WM_USER + 28),
 452          TB_ADDSTRINGW = (WM_USER + 77),
 453          TB_GETITEMRECT = (WM_USER + 29),
 454          TB_BUTTONSTRUCTSIZE = (WM_USER + 30),
 455          TB_SETBUTTONSIZE = (WM_USER + 31),
 456          TB_SETBITMAPSIZE = (WM_USER + 32),
 457          TB_AUTOSIZE = (WM_USER + 33),
 458          TB_GETTOOLTIPS = (WM_USER + 35),
 459          TB_SETTOOLTIPS = (WM_USER + 36),
 460          TB_SETPARENT = (WM_USER + 37),
 461          TB_SETROWS = (WM_USER + 39),
 462          TB_GETROWS = (WM_USER + 40),
 463          TB_SETCMDID = (WM_USER + 42),
 464          TB_CHANGEBITMAP = (WM_USER + 43),
 465          TB_GETBITMAP = (WM_USER + 44),
 466          TB_GETBUTTONTEXTA = (WM_USER + 45),
 467          TB_GETBUTTONTEXTW = (WM_USER + 75),
 468          TB_REPLACEBITMAP = (WM_USER + 46),
 469          TB_SETINDENT = (WM_USER + 47),
 470          TB_SETIMAGELIST = (WM_USER + 48),
 471          TB_GETIMAGELIST = (WM_USER + 49),
 472          TB_LOADIMAGES = (WM_USER + 50),
 473          TB_GETRECT = (WM_USER + 51),
 474          TB_SETHOTIMAGELIST = (WM_USER + 52),
 475          TB_GETHOTIMAGELIST = (WM_USER + 53),
 476          TB_SETDISABLEDIMAGELIST = (WM_USER + 54),
 477          TB_GETDISABLEDIMAGELIST = (WM_USER + 55),
 478          TB_SETSTYLE = (WM_USER + 56),
 479          TB_GETSTYLE = (WM_USER + 57),
 480          TB_GETBUTTONSIZE = (WM_USER + 58),
 481          TB_SETBUTTONWIDTH = (WM_USER + 59),
 482          TB_SETMAXTEXTROWS = (WM_USER + 60),
 483          TB_GETTEXTROWS = (WM_USER + 61),
 484          TB_GETOBJECT = (WM_USER + 62),
 485          TB_GETHOTITEM = (WM_USER + 71),
 486          TB_SETHOTITEM = (WM_USER + 72),
 487          TB_SETANCHORHIGHLIGHT = (WM_USER + 73),
 488          TB_GETANCHORHIGHLIGHT = (WM_USER + 74),
 489          TB_MAPACCELERATORA = (WM_USER + 78),
 490          TB_GETINSERTMARK = (WM_USER + 79),
 491          TB_SETINSERTMARK = (WM_USER + 80),
 492          TB_INSERTMARKHITTEST = (WM_USER + 81),
 493          TB_MOVEBUTTON = (WM_USER + 82),
 494          TB_GETMAXSIZE = (WM_USER + 83),
 495          TB_SETEXTENDEDSTYLE = (WM_USER + 84),
 496          TB_GETEXTENDEDSTYLE = (WM_USER + 85),
 497          TB_GETPADDING = (WM_USER + 86),
 498          TB_SETPADDING = (WM_USER + 87),
 499          TB_SETINSERTMARKCOLOR = (WM_USER + 88),
 500          TB_GETINSERTMARKCOLOR = (WM_USER + 89),
 501          TB_SETCOLORSCHEME = CCM_SETCOLORSCHEME,
 502          TB_GETCOLORSCHEME = CCM_GETCOLORSCHEME,
 503          TB_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT,
 504          TB_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT,
 505          TB_MAPACCELERATORW = (WM_USER + 90),
 506          TB_GETBITMAPFLAGS = (WM_USER + 41),
 507          TB_GETBUTTONINFOW = (WM_USER + 63),
 508          TB_SETBUTTONINFOW = (WM_USER + 64),
 509          TB_GETBUTTONINFOA = (WM_USER + 65),
 510          TB_SETBUTTONINFOA = (WM_USER + 66),
 511          TB_INSERTBUTTONW = (WM_USER + 67),
 512          TB_ADDBUTTONSW = (WM_USER + 68),
 513          TB_HITTEST = (WM_USER + 69),
 514          TB_SETDRAWTEXTFLAGS = (WM_USER + 70),
 515          TB_GETSTRINGW = (WM_USER + 91),
 516          TB_GETSTRINGA = (WM_USER + 92),
 517          TB_GETMETRICS = (WM_USER + 101),
 518          TB_SETMETRICS = (WM_USER + 102),
 519          TB_SETWINDOWTHEME = CCM_SETWINDOWTHEME,
 520          RB_INSERTBANDA = (WM_USER + 1),
 521          RB_DELETEBAND = (WM_USER + 2),
 522          RB_GETBARINFO = (WM_USER + 3),
 523          RB_SETBARINFO = (WM_USER + 4),
 524          RB_GETBANDINFO = (WM_USER + 5),
 525          RB_SETBANDINFOA = (WM_USER + 6),
 526          RB_SETPARENT = (WM_USER + 7),
 527          RB_HITTEST = (WM_USER + 8),
 528          RB_GETRECT = (WM_USER + 9),
 529          RB_INSERTBANDW = (WM_USER + 10),
 530          RB_SETBANDINFOW = (WM_USER + 11),
 531          RB_GETBANDCOUNT = (WM_USER + 12),
 532          RB_GETROWCOUNT = (WM_USER + 13),
 533          RB_GETROWHEIGHT = (WM_USER + 14),
 534          RB_IDTOINDEX = (WM_USER + 16),
 535          RB_GETTOOLTIPS = (WM_USER + 17),
 536          RB_SETTOOLTIPS = (WM_USER + 18),
 537          RB_SETBKCOLOR = (WM_USER + 19),
 538          RB_GETBKCOLOR = (WM_USER + 20),
 539          RB_SETTEXTCOLOR = (WM_USER + 21),
 540          RB_GETTEXTCOLOR = (WM_USER + 22),
 541          RB_SIZETORECT = (WM_USER + 23),
 542          RB_SETCOLORSCHEME = CCM_SETCOLORSCHEME,
 543          RB_GETCOLORSCHEME = CCM_GETCOLORSCHEME,
 544          RB_BEGINDRAG = (WM_USER + 24),
 545          RB_ENDDRAG = (WM_USER + 25),
 546          RB_DRAGMOVE = (WM_USER + 26),
 547          RB_GETBARHEIGHT = (WM_USER + 27),
 548          RB_GETBANDINFOW = (WM_USER + 28),
 549          RB_GETBANDINFOA = (WM_USER + 29),
 550          RB_MINIMIZEBAND = (WM_USER + 30),
 551          RB_MAXIMIZEBAND = (WM_USER + 31),
 552          RB_GETDROPTARGET = (CCM_GETDROPTARGET),
 553          RB_GETBANDBORDERS = (WM_USER + 34),
 554          RB_SHOWBAND = (WM_USER + 35),
 555          RB_SETPALETTE = (WM_USER + 37),
 556          RB_GETPALETTE = (WM_USER + 38),
 557          RB_MOVEBAND = (WM_USER + 39),
 558          RB_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT,
 559          RB_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT,
 560          RB_GETBANDMARGINS = (WM_USER + 40),
 561          RB_SETWINDOWTHEME = CCM_SETWINDOWTHEME,
 562          RB_PUSHCHEVRON = (WM_USER + 43),
 563          TTM_ACTIVATE = (WM_USER + 1),
 564          TTM_SETDELAYTIME = (WM_USER + 3),
 565          TTM_ADDTOOLA = (WM_USER + 4),
 566          TTM_ADDTOOLW = (WM_USER + 50),
 567          TTM_DELTOOLA = (WM_USER + 5),
 568          TTM_DELTOOLW = (WM_USER + 51),
 569          TTM_NEWTOOLRECTA = (WM_USER + 6),
 570          TTM_NEWTOOLRECTW = (WM_USER + 52),
 571          TTM_RELAYEVENT = (WM_USER + 7),
 572          TTM_GETTOOLINFOA = (WM_USER + 8),
 573          TTM_GETTOOLINFOW = (WM_USER + 53),
 574          TTM_SETTOOLINFOA = (WM_USER + 9),
 575          TTM_SETTOOLINFOW = (WM_USER + 54),
 576          TTM_HITTESTA = (WM_USER + 10),
 577          TTM_HITTESTW = (WM_USER + 55),
 578          TTM_GETTEXTA = (WM_USER + 11),
 579          TTM_GETTEXTW = (WM_USER + 56),
 580          TTM_UPDATETIPTEXTA = (WM_USER + 12),
 581          TTM_UPDATETIPTEXTW = (WM_USER + 57),
 582          TTM_GETTOOLCOUNT = (WM_USER + 13),
 583          TTM_ENUMTOOLSA = (WM_USER + 14),
 584          TTM_ENUMTOOLSW = (WM_USER + 58),
 585          TTM_GETCURRENTTOOLA = (WM_USER + 15),
 586          TTM_GETCURRENTTOOLW = (WM_USER + 59),
 587          TTM_WINDOWFROMPOINT = (WM_USER + 16),
 588          TTM_TRACKACTIVATE = (WM_USER + 17),
 589          TTM_TRACKPOSITION = (WM_USER + 18),
 590          TTM_SETTIPBKCOLOR = (WM_USER + 19),
 591          TTM_SETTIPTEXTCOLOR = (WM_USER + 20),
 592          TTM_GETDELAYTIME = (WM_USER + 21),
 593          TTM_GETTIPBKCOLOR = (WM_USER + 22),
 594          TTM_GETTIPTEXTCOLOR = (WM_USER + 23),
 595          TTM_SETMAXTIPWIDTH = (WM_USER + 24),
 596          TTM_GETMAXTIPWIDTH = (WM_USER + 25),
 597          TTM_SETMARGIN = (WM_USER + 26),
 598          TTM_GETMARGIN = (WM_USER + 27),
 599          TTM_POP = (WM_USER + 28),
 600          TTM_UPDATE = (WM_USER + 29),
 601          TTM_GETBUBBLESIZE = (WM_USER + 30),
 602          TTM_ADJUSTRECT = (WM_USER + 31),
 603          TTM_SETTITLEA = (WM_USER + 32),
 604          TTM_SETTITLEW = (WM_USER + 33),
 605          TTM_POPUP = (WM_USER + 34),
 606          TTM_GETTITLE = (WM_USER + 35),
 607          TTM_SETWINDOWTHEME = CCM_SETWINDOWTHEME,
 608          SB_SETTEXTA = (WM_USER + 1),
 609          SB_SETTEXTW = (WM_USER + 11),
 610          SB_GETTEXTA = (WM_USER + 2),
 611          SB_GETTEXTW = (WM_USER + 13),
 612          SB_GETTEXTLENGTHA = (WM_USER + 3),
 613          SB_GETTEXTLENGTHW = (WM_USER + 12),
 614          SB_SETPARTS = (WM_USER + 4),
 615          SB_GETPARTS = (WM_USER + 6),
 616          SB_GETBORDERS = (WM_USER + 7),
 617          SB_SETMINHEIGHT = (WM_USER + 8),
 618          SB_SIMPLE = (WM_USER + 9),
 619          SB_GETRECT = (WM_USER + 10),
 620          SB_ISSIMPLE = (WM_USER + 14),
 621          SB_SETICON = (WM_USER + 15),
 622          SB_SETTIPTEXTA = (WM_USER + 16),
 623          SB_SETTIPTEXTW = (WM_USER + 17),
 624          SB_GETTIPTEXTA = (WM_USER + 18),
 625          SB_GETTIPTEXTW = (WM_USER + 19),
 626          SB_GETICON = (WM_USER + 20),
 627          SB_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT,
 628          SB_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT,
 629          SB_SETBKCOLOR = CCM_SETBKCOLOR,
 630          SB_SIMPLEID = 0x00ff,
 631          TBM_GETPOS = (WM_USER),
 632          TBM_GETRANGEMIN = (WM_USER + 1),
 633          TBM_GETRANGEMAX = (WM_USER + 2),
 634          TBM_GETTIC = (WM_USER + 3),
 635          TBM_SETTIC = (WM_USER + 4),
 636          TBM_SETPOS = (WM_USER + 5),
 637          TBM_SETRANGE = (WM_USER + 6),
 638          TBM_SETRANGEMIN = (WM_USER + 7),
 639          TBM_SETRANGEMAX = (WM_USER + 8),
 640          TBM_CLEARTICS = (WM_USER + 9),
 641          TBM_SETSEL = (WM_USER + 10),
 642          TBM_SETSELSTART = (WM_USER + 11),
 643          TBM_SETSELEND = (WM_USER + 12),
 644          TBM_GETPTICS = (WM_USER + 14),
 645          TBM_GETTICPOS = (WM_USER + 15),
 646          TBM_GETNUMTICS = (WM_USER + 16),
 647          TBM_GETSELSTART = (WM_USER + 17),
 648          TBM_GETSELEND = (WM_USER + 18),
 649          TBM_CLEARSEL = (WM_USER + 19),
 650          TBM_SETTICFREQ = (WM_USER + 20),
 651          TBM_SETPAGESIZE = (WM_USER + 21),
 652          TBM_GETPAGESIZE = (WM_USER + 22),
 653          TBM_SETLINESIZE = (WM_USER + 23),
 654          TBM_GETLINESIZE = (WM_USER + 24),
 655          TBM_GETTHUMBRECT = (WM_USER + 25),
 656          TBM_GETCHANNELRECT = (WM_USER + 26),
 657          TBM_SETTHUMBLENGTH = (WM_USER + 27),
 658          TBM_GETTHUMBLENGTH = (WM_USER + 28),
 659          TBM_SETTOOLTIPS = (WM_USER + 29),
 660          TBM_GETTOOLTIPS = (WM_USER + 30),
 661          TBM_SETTIPSIDE = (WM_USER + 31),
 662          TBM_SETBUDDY = (WM_USER + 32),
 663          TBM_GETBUDDY = (WM_USER + 33),
 664          TBM_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT,
 665          TBM_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT,
 666          DL_BEGINDRAG = (WM_USER + 133),
 667          DL_DRAGGING = (WM_USER + 134),
 668          DL_DROPPED = (WM_USER + 135),
 669          DL_CANCELDRAG = (WM_USER + 136),
 670          UDM_SETRANGE = (WM_USER + 101),
 671          UDM_GETRANGE = (WM_USER + 102),
 672          UDM_SETPOS = (WM_USER + 103),
 673          UDM_GETPOS = (WM_USER + 104),
 674          UDM_SETBUDDY = (WM_USER + 105),
 675          UDM_GETBUDDY = (WM_USER + 106),
 676          UDM_SETACCEL = (WM_USER + 107),
 677          UDM_GETACCEL = (WM_USER + 108),
 678          UDM_SETBASE = (WM_USER + 109),
 679          UDM_GETBASE = (WM_USER + 110),
 680          UDM_SETRANGE32 = (WM_USER + 111),
 681          UDM_GETRANGE32 = (WM_USER + 112),
 682          UDM_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT,
 683          UDM_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT,
 684          UDM_SETPOS32 = (WM_USER + 113),
 685          UDM_GETPOS32 = (WM_USER + 114),
 686          PBM_SETRANGE = (WM_USER + 1),
 687          PBM_SETPOS = (WM_USER + 2),
 688          PBM_DELTAPOS = (WM_USER + 3),
 689          PBM_SETSTEP = (WM_USER + 4),
 690          PBM_STEPIT = (WM_USER + 5),
 691          PBM_SETRANGE32 = (WM_USER + 6),
 692          PBM_GETRANGE = (WM_USER + 7),
 693          PBM_GETPOS = (WM_USER + 8),
 694          PBM_SETBARCOLOR = (WM_USER + 9),
 695          PBM_SETBKCOLOR = CCM_SETBKCOLOR,
 696          HKM_SETHOTKEY = (WM_USER + 1),
 697          HKM_GETHOTKEY = (WM_USER + 2),
 698          HKM_SETRULES = (WM_USER + 3),
 699          LVM_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT,
 700          LVM_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT,
 701          LVM_GETBKCOLOR = (LVM_FIRST + 0),
 702          LVM_SETBKCOLOR = (LVM_FIRST + 1),
 703          LVM_GETIMAGELIST = (LVM_FIRST + 2),
 704          LVM_SETIMAGELIST = (LVM_FIRST + 3),
 705          LVM_GETITEMCOUNT = (LVM_FIRST + 4),
 706          LVM_GETITEMA = (LVM_FIRST + 5),
 707          LVM_GETITEMW = (LVM_FIRST + 75),
 708          LVM_SETITEMA = (LVM_FIRST + 6),
 709          LVM_SETITEMW = (LVM_FIRST + 76),
 710          LVM_INSERTITEMA = (LVM_FIRST + 7),
 711          LVM_INSERTITEMW = (LVM_FIRST + 77),
 712          LVM_DELETEITEM = (LVM_FIRST + 8),
 713          LVM_DELETEALLITEMS = (LVM_FIRST + 9),
 714          LVM_GETCALLBACKMASK = (LVM_FIRST + 10),
 715          LVM_SETCALLBACKMASK = (LVM_FIRST + 11),
 716          LVM_FINDITEMA = (LVM_FIRST + 13),
 717          LVM_FINDITEMW = (LVM_FIRST + 83),
 718          LVM_GETITEMRECT = (LVM_FIRST + 14),
 719          LVM_SETITEMPOSITION = (LVM_FIRST + 15),
 720          LVM_GETITEMPOSITION = (LVM_FIRST + 16),
 721          LVM_GETSTRINGWIDTHA = (LVM_FIRST + 17),
 722          LVM_GETSTRINGWIDTHW = (LVM_FIRST + 87),
 723          LVM_HITTEST = (LVM_FIRST + 18),
 724          LVM_ENSUREVISIBLE = (LVM_FIRST + 19),
 725          LVM_SCROLL = (LVM_FIRST + 20),
 726          LVM_REDRAWITEMS = (LVM_FIRST + 21),
 727          LVM_ARRANGE = (LVM_FIRST + 22),
 728          LVM_EDITLABELA = (LVM_FIRST + 23),
 729          LVM_EDITLABELW = (LVM_FIRST + 118),
 730          LVM_GETEDITCONTROL = (LVM_FIRST + 24),
 731          LVM_GETCOLUMNA = (LVM_FIRST + 25),
 732          LVM_GETCOLUMNW = (LVM_FIRST + 95),
 733          LVM_SETCOLUMNA = (LVM_FIRST + 26),
 734          LVM_SETCOLUMNW = (LVM_FIRST + 96),
 735          LVM_INSERTCOLUMNA = (LVM_FIRST + 27),
 736          LVM_INSERTCOLUMNW = (LVM_FIRST + 97),
 737          LVM_DELETECOLUMN = (LVM_FIRST + 28),
 738          LVM_GETCOLUMNWIDTH = (LVM_FIRST + 29),
 739          LVM_SETCOLUMNWIDTH = (LVM_FIRST + 30),
 740          LVM_CREATEDRAGIMAGE = (LVM_FIRST + 33),
 741          LVM_GETVIEWRECT = (LVM_FIRST + 34),
 742          LVM_GETTEXTCOLOR = (LVM_FIRST + 35),
 743          LVM_SETTEXTCOLOR = (LVM_FIRST + 36),
 744          LVM_GETTEXTBKCOLOR = (LVM_FIRST + 37),
 745          LVM_SETTEXTBKCOLOR = (LVM_FIRST + 38),
 746          LVM_GETTOPINDEX = (LVM_FIRST + 39),
 747          LVM_GETCOUNTPERPAGE = (LVM_FIRST + 40),
 748          LVM_GETORIGIN = (LVM_FIRST + 41),
 749          LVM_UPDATE = (LVM_FIRST + 42),
 750          LVM_SETITEMSTATE = (LVM_FIRST + 43),
 751          LVM_GETITEMSTATE = (LVM_FIRST + 44),
 752          LVM_GETITEMTEXTA = (LVM_FIRST + 45),
 753          LVM_GETITEMTEXTW = (LVM_FIRST + 115),
 754          LVM_SETITEMTEXTA = (LVM_FIRST + 46),
 755          LVM_SETITEMTEXTW = (LVM_FIRST + 116),
 756          LVM_SETITEMCOUNT = (LVM_FIRST + 47),
 757          LVM_SORTITEMS = (LVM_FIRST + 48),
 758          LVM_SETITEMPOSITION32 = (LVM_FIRST + 49),
 759          LVM_GETSELECTEDCOUNT = (LVM_FIRST + 50),
 760          LVM_GETITEMSPACING = (LVM_FIRST + 51),
 761          LVM_GETISEARCHSTRINGA = (LVM_FIRST + 52),
 762          LVM_GETISEARCHSTRINGW = (LVM_FIRST + 117),
 763          LVM_SETICONSPACING = (LVM_FIRST + 53),
 764          LVM_SETEXTENDEDLISTVIEWSTYLE = (LVM_FIRST + 54),
 765          LVM_GETEXTENDEDLISTVIEWSTYLE = (LVM_FIRST + 55),
 766          LVM_GETSUBITEMRECT = (LVM_FIRST + 56),
 767          LVM_SUBITEMHITTEST = (LVM_FIRST + 57),
 768          LVM_SETCOLUMNORDERARRAY = (LVM_FIRST + 58),
 769          LVM_GETCOLUMNORDERARRAY = (LVM_FIRST + 59),
 770          LVM_SETHOTITEM = (LVM_FIRST + 60),
 771          LVM_GETHOTITEM = (LVM_FIRST + 61),
 772          LVM_SETHOTCURSOR = (LVM_FIRST + 62),
 773          LVM_GETHOTCURSOR = (LVM_FIRST + 63),
 774          LVM_APPROXIMATEVIEWRECT = (LVM_FIRST + 64),
 775          LVM_SETWORKAREAS = (LVM_FIRST + 65),
 776          LVM_GETWORKAREAS = (LVM_FIRST + 70),
 777          LVM_GETNUMBEROFWORKAREAS = (LVM_FIRST + 73),
 778          LVM_GETSELECTIONMARK = (LVM_FIRST + 66),
 779          LVM_SETSELECTIONMARK = (LVM_FIRST + 67),
 780          LVM_SETHOVERTIME = (LVM_FIRST + 71),
 781          LVM_GETHOVERTIME = (LVM_FIRST + 72),
 782          LVM_SETTOOLTIPS = (LVM_FIRST + 74),
 783          LVM_GETTOOLTIPS = (LVM_FIRST + 78),
 784          LVM_SORTITEMSEX = (LVM_FIRST + 81),
 785          LVM_SETBKIMAGEA = (LVM_FIRST + 68),
 786          LVM_SETBKIMAGEW = (LVM_FIRST + 138),
 787          LVM_GETBKIMAGEA = (LVM_FIRST + 69),
 788          LVM_GETBKIMAGEW = (LVM_FIRST + 139),
 789          LVM_SETSELECTEDCOLUMN = (LVM_FIRST + 140),
 790          LVM_SETTILEWIDTH = (LVM_FIRST + 141),
 791          LVM_SETVIEW = (LVM_FIRST + 142),
 792          LVM_GETVIEW = (LVM_FIRST + 143),
 793          LVM_INSERTGROUP = (LVM_FIRST + 145),
 794          LVM_SETGROUPINFO = (LVM_FIRST + 147),
 795          LVM_GETGROUPINFO = (LVM_FIRST + 149),
 796          LVM_REMOVEGROUP = (LVM_FIRST + 150),
 797          LVM_MOVEGROUP = (LVM_FIRST + 151),
 798          LVM_MOVEITEMTOGROUP = (LVM_FIRST + 154),
 799          LVM_SETGROUPMETRICS = (LVM_FIRST + 155),
 800          LVM_GETGROUPMETRICS = (LVM_FIRST + 156),
 801          LVM_ENABLEGROUPVIEW = (LVM_FIRST + 157),
 802          LVM_SORTGROUPS = (LVM_FIRST + 158),
 803          LVM_INSERTGROUPSORTED = (LVM_FIRST + 159),
 804          LVM_REMOVEALLGROUPS = (LVM_FIRST + 160),
 805          LVM_HASGROUP = (LVM_FIRST + 161),
 806          LVM_SETTILEVIEWINFO = (LVM_FIRST + 162),
 807          LVM_GETTILEVIEWINFO = (LVM_FIRST + 163),
 808          LVM_SETTILEINFO = (LVM_FIRST + 164),
 809          LVM_GETTILEINFO = (LVM_FIRST + 165),
 810          LVM_SETINSERTMARK = (LVM_FIRST + 166),
 811          LVM_GETINSERTMARK = (LVM_FIRST + 167),
 812          LVM_INSERTMARKHITTEST = (LVM_FIRST + 168),
 813          LVM_GETINSERTMARKRECT = (LVM_FIRST + 169),
 814          LVM_SETINSERTMARKCOLOR = (LVM_FIRST + 170),
 815          LVM_GETINSERTMARKCOLOR = (LVM_FIRST + 171),
 816          LVM_SETINFOTIP = (LVM_FIRST + 173),
 817          LVM_GETSELECTEDCOLUMN = (LVM_FIRST + 174),
 818          LVM_ISGROUPVIEWENABLED = (LVM_FIRST + 175),
 819          LVM_GETOUTLINECOLOR = (LVM_FIRST + 176),
 820          LVM_SETOUTLINECOLOR = (LVM_FIRST + 177),
 821          LVM_CANCELEDITLABEL = (LVM_FIRST + 179),
 822          LVM_MAPINDEXTOID = (LVM_FIRST + 180),
 823          LVM_MAPIDTOINDEX = (LVM_FIRST + 181),
 824          TVM_INSERTITEMA = (TV_FIRST + 0),
 825          TVM_INSERTITEMW = (TV_FIRST + 50),
 826          TVM_DELETEITEM = (TV_FIRST + 1),
 827          TVM_EXPAND = (TV_FIRST + 2),
 828          TVM_GETITEMRECT = (TV_FIRST + 4),
 829          TVM_GETCOUNT = (TV_FIRST + 5),
 830          TVM_GETINDENT = (TV_FIRST + 6),
 831          TVM_SETINDENT = (TV_FIRST + 7),
 832          TVM_GETIMAGELIST = (TV_FIRST + 8),
 833          TVM_SETIMAGELIST = (TV_FIRST + 9),
 834          TVM_GETNEXTITEM = (TV_FIRST + 10),
 835          TVM_SELECTITEM = (TV_FIRST + 11),
 836          TVM_GETITEMA = (TV_FIRST + 12),
 837          TVM_GETITEMW = (TV_FIRST + 62),
 838          TVM_SETITEMA = (TV_FIRST + 13),
 839          TVM_SETITEMW = (TV_FIRST + 63),
 840          TVM_EDITLABELA = (TV_FIRST + 14),
 841          TVM_EDITLABELW = (TV_FIRST + 65),
 842          TVM_GETEDITCONTROL = (TV_FIRST + 15),
 843          TVM_GETVISIBLECOUNT = (TV_FIRST + 16),
 844          TVM_HITTEST = (TV_FIRST + 17),
 845          TVM_CREATEDRAGIMAGE = (TV_FIRST + 18),
 846          TVM_SORTCHILDREN = (TV_FIRST + 19),
 847          TVM_ENSUREVISIBLE = (TV_FIRST + 20),
 848          TVM_SORTCHILDRENCB = (TV_FIRST + 21),
 849          TVM_ENDEDITLABELNOW = (TV_FIRST + 22),
 850          TVM_GETISEARCHSTRINGA = (TV_FIRST + 23),
 851          TVM_GETISEARCHSTRINGW = (TV_FIRST + 64),
 852          TVM_SETTOOLTIPS = (TV_FIRST + 24),
 853          TVM_GETTOOLTIPS = (TV_FIRST + 25),
 854          TVM_SETINSERTMARK = (TV_FIRST + 26),
 855          TVM_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT,
 856          TVM_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT,
 857          TVM_SETITEMHEIGHT = (TV_FIRST + 27),
 858          TVM_GETITEMHEIGHT = (TV_FIRST + 28),
 859          TVM_SETBKCOLOR = (TV_FIRST + 29),
 860          TVM_SETTEXTCOLOR = (TV_FIRST + 30),
 861          TVM_GETBKCOLOR = (TV_FIRST + 31),
 862          TVM_GETTEXTCOLOR = (TV_FIRST + 32),
 863          TVM_SETSCROLLTIME = (TV_FIRST + 33),
 864          TVM_GETSCROLLTIME = (TV_FIRST + 34),
 865          TVM_SETINSERTMARKCOLOR = (TV_FIRST + 37),
 866          TVM_GETINSERTMARKCOLOR = (TV_FIRST + 38),
 867          TVM_GETITEMSTATE = (TV_FIRST + 39),
 868          TVM_SETLINECOLOR = (TV_FIRST + 40),
 869          TVM_GETLINECOLOR = (TV_FIRST + 41),
 870          TVM_MAPACCIDTOHTREEITEM = (TV_FIRST + 42),
 871          TVM_MAPHTREEITEMTOACCID = (TV_FIRST + 43),
 872          CBEM_INSERTITEMA = (WM_USER + 1),
 873          CBEM_SETIMAGELIST = (WM_USER + 2),
 874          CBEM_GETIMAGELIST = (WM_USER + 3),
 875          CBEM_GETITEMA = (WM_USER + 4),
 876          CBEM_SETITEMA = (WM_USER + 5),
 877          CBEM_DELETEITEM = CB_DELETESTRING,
 878          CBEM_GETCOMBOCONTROL = (WM_USER + 6),
 879          CBEM_GETEDITCONTROL = (WM_USER + 7),
 880          CBEM_SETEXTENDEDSTYLE = (WM_USER + 14),
 881          CBEM_GETEXTENDEDSTYLE = (WM_USER + 9),
 882          CBEM_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT,
 883          CBEM_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT,
 884          CBEM_SETEXSTYLE = (WM_USER + 8),
 885          CBEM_GETEXSTYLE = (WM_USER + 9),
 886          CBEM_HASEDITCHANGED = (WM_USER + 10),
 887          CBEM_INSERTITEMW = (WM_USER + 11),
 888          CBEM_SETITEMW = (WM_USER + 12),
 889          CBEM_GETITEMW = (WM_USER + 13),
 890          TCM_GETIMAGELIST = (TCM_FIRST + 2),
 891          TCM_SETIMAGELIST = (TCM_FIRST + 3),
 892          TCM_GETITEMCOUNT = (TCM_FIRST + 4),
 893          TCM_GETITEMA = (TCM_FIRST + 5),
 894          TCM_GETITEMW = (TCM_FIRST + 60),
 895          TCM_SETITEMA = (TCM_FIRST + 6),
 896          TCM_SETITEMW = (TCM_FIRST + 61),
 897          TCM_INSERTITEMA = (TCM_FIRST + 7),
 898          TCM_INSERTITEMW = (TCM_FIRST + 62),
 899          TCM_DELETEITEM = (TCM_FIRST + 8),
 900          TCM_DELETEALLITEMS = (TCM_FIRST + 9),
 901          TCM_GETITEMRECT = (TCM_FIRST + 10),
 902          TCM_GETCURSEL = (TCM_FIRST + 11),
 903          TCM_SETCURSEL = (TCM_FIRST + 12),
 904          TCM_HITTEST = (TCM_FIRST + 13),
 905          TCM_SETITEMEXTRA = (TCM_FIRST + 14),
 906          TCM_ADJUSTRECT = (TCM_FIRST + 40),
 907          TCM_SETITEMSIZE = (TCM_FIRST + 41),
 908          TCM_REMOVEIMAGE = (TCM_FIRST + 42),
 909          TCM_SETPADDING = (TCM_FIRST + 43),
 910          TCM_GETROWCOUNT = (TCM_FIRST + 44),
 911          TCM_GETTOOLTIPS = (TCM_FIRST + 45),
 912          TCM_SETTOOLTIPS = (TCM_FIRST + 46),
 913          TCM_GETCURFOCUS = (TCM_FIRST + 47),
 914          TCM_SETCURFOCUS = (TCM_FIRST + 48),
 915          TCM_SETMINTABWIDTH = (TCM_FIRST + 49),
 916          TCM_DESELECTALL = (TCM_FIRST + 50),
 917          TCM_HIGHLIGHTITEM = (TCM_FIRST + 51),
 918          TCM_SETEXTENDEDSTYLE = (TCM_FIRST + 52),
 919          TCM_GETEXTENDEDSTYLE = (TCM_FIRST + 53),
 920          TCM_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT,
 921          TCM_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT,
 922          ACM_OPENA = (WM_USER + 100),
 923          ACM_OPENW = (WM_USER + 103),
 924          ACM_PLAY = (WM_USER + 101),
 925          ACM_STOP = (WM_USER + 102),
 926          MCM_FIRST = 0x1000,
 927          MCM_GETCURSEL = (MCM_FIRST + 1),
 928          MCM_SETCURSEL = (MCM_FIRST + 2),
 929          MCM_GETMAXSELCOUNT = (MCM_FIRST + 3),
 930          MCM_SETMAXSELCOUNT = (MCM_FIRST + 4),
 931          MCM_GETSELRANGE = (MCM_FIRST + 5),
 932          MCM_SETSELRANGE = (MCM_FIRST + 6),
 933          MCM_GETMONTHRANGE = (MCM_FIRST + 7),
 934          MCM_SETDAYSTATE = (MCM_FIRST + 8),
 935          MCM_GETMINREQRECT = (MCM_FIRST + 9),
 936          MCM_SETCOLOR = (MCM_FIRST + 10),
 937          MCM_GETCOLOR = (MCM_FIRST + 11),
 938          MCM_SETTODAY = (MCM_FIRST + 12),
 939          MCM_GETTODAY = (MCM_FIRST + 13),
 940          MCM_HITTEST = (MCM_FIRST + 14),
 941          MCM_SETFIRSTDAYOFWEEK = (MCM_FIRST + 15),
 942          MCM_GETFIRSTDAYOFWEEK = (MCM_FIRST + 16),
 943          MCM_GETRANGE = (MCM_FIRST + 17),
 944          MCM_SETRANGE = (MCM_FIRST + 18),
 945          MCM_GETMONTHDELTA = (MCM_FIRST + 19),
 946          MCM_SETMONTHDELTA = (MCM_FIRST + 20),
 947          MCM_GETMAXTODAYWIDTH = (MCM_FIRST + 21),
 948          MCM_SETUNICODEFORMAT = CCM_SETUNICODEFORMAT,
 949          MCM_GETUNICODEFORMAT = CCM_GETUNICODEFORMAT,
 950          DTM_FIRST = 0x1000,
 951          DTM_GETSYSTEMTIME = (DTM_FIRST + 1),
 952          DTM_SETSYSTEMTIME = (DTM_FIRST + 2),
 953          DTM_GETRANGE = (DTM_FIRST + 3),
 954          DTM_SETRANGE = (DTM_FIRST + 4),
 955          DTM_SETFORMATA = (DTM_FIRST + 5),
 956          DTM_SETFORMATW = (DTM_FIRST + 50),
 957          DTM_SETMCCOLOR = (DTM_FIRST + 6),
 958          DTM_GETMCCOLOR = (DTM_FIRST + 7),
 959          DTM_GETMONTHCAL = (DTM_FIRST + 8),
 960          DTM_SETMCFONT = (DTM_FIRST + 9),
 961          DTM_GETMCFONT = (DTM_FIRST + 10),
 962          PGM_SETCHILD = (PGM_FIRST + 1),
 963          PGM_RECALCSIZE = (PGM_FIRST + 2),
 964          PGM_FORWARDMOUSE = (PGM_FIRST + 3),
 965          PGM_SETBKCOLOR = (PGM_FIRST + 4),
 966          PGM_GETBKCOLOR = (PGM_FIRST + 5),
 967          PGM_SETBORDER = (PGM_FIRST + 6),
 968          PGM_GETBORDER = (PGM_FIRST + 7),
 969          PGM_SETPOS = (PGM_FIRST + 8),
 970          PGM_GETPOS = (PGM_FIRST + 9),
 971          PGM_SETBUTTONSIZE = (PGM_FIRST + 10),
 972          PGM_GETBUTTONSIZE = (PGM_FIRST + 11),
 973          PGM_GETBUTTONSTATE = (PGM_FIRST + 12),
 974          PGM_GETDROPTARGET = CCM_GETDROPTARGET,
 975          BCM_GETIDEALSIZE = (BCM_FIRST + 0x0001),
 976          BCM_SETIMAGELIST = (BCM_FIRST + 0x0002),
 977          BCM_GETIMAGELIST = (BCM_FIRST + 0x0003),
 978          BCM_SETTEXTMARGIN = (BCM_FIRST + 0x0004),
 979          BCM_GETTEXTMARGIN = (BCM_FIRST + 0x0005),
 980          EM_SETCUEBANNER = (ECM_FIRST + 1),
 981          EM_GETCUEBANNER = (ECM_FIRST + 2),
 982          EM_SHOWBALLOONTIP = (ECM_FIRST + 3),
 983          EM_HIDEBALLOONTIP = (ECM_FIRST + 4),
 984          CB_SETMINVISIBLE = (CBM_FIRST + 1),
 985          CB_GETMINVISIBLE = (CBM_FIRST + 2),
 986          LM_HITTEST = (WM_USER + 0x300),
 987          LM_GETIDEALHEIGHT = (WM_USER + 0x301),
 988          LM_SETITEM = (WM_USER + 0x302),
 989          LM_GETITEM = (WM_USER + 0x303)
 990      }
 991 
 992     /// <summary>
 993     /// Virtual Keys
 994     /// </summary>
 995     public enum VKeys : int
 996     {
 997       VK_LBUTTON = 0x01,  //Left mouse button
 998       VK_RBUTTON = 0x02,  //Right mouse button
 999       VK_CANCEL = 0x03,  //Control-break processing
1000       VK_MBUTTON = 0x04,  //Middle mouse button (three-button mouse)
1001       VK_BACK = 0x08,  //BACKSPACE key
1002       VK_TAB = 0x09,  //TAB key
1003       VK_CLEAR = 0x0C,  //CLEAR key
1004       VK_RETURN = 0x0D,  //ENTER key
1005       VK_SHIFT = 0x10,  //SHIFT key
1006       VK_CONTROL = 0x11,  //CTRL key
1007       VK_MENU = 0x12,  //ALT key
1008       VK_PAUSE = 0x13,  //PAUSE key
1009       VK_CAPITAL = 0x14,  //CAPS LOCK key
1010       VK_ESCAPE = 0x1B,  //ESC key
1011       VK_SPACE = 0x20,  //SPACEBAR
1012       VK_PRIOR = 0x21,  //PAGE UP key
1013       VK_NEXT = 0x22,  //PAGE DOWN key
1014       VK_END = 0x23,  //END key
1015       VK_HOME = 0x24,  //HOME key
1016       VK_LEFT = 0x25,  //LEFT ARROW key
1017       VK_UP = 0x26,  //UP ARROW key
1018       VK_RIGHT = 0x27,  //RIGHT ARROW key
1019       VK_DOWN = 0x28,  //DOWN ARROW key
1020       VK_SELECT = 0x29,  //SELECT key
1021       VK_PRINT = 0x2A,  //PRINT key
1022       VK_EXECUTE = 0x2B,  //EXECUTE key
1023       VK_SNAPSHOT = 0x2C,  //PRINT SCREEN key
1024       VK_INSERT = 0x2D,  //INS key
1025       VK_DELETE = 0x2E,  //DEL key
1026       VK_HELP = 0x2F,  //HELP key
1027       VK_0 = 0x30,  //0 key
1028       VK_1 = 0x31,  //1 key
1029       VK_2 = 0x32,  //2 key
1030       VK_3 = 0x33,  //3 key
1031       VK_4 = 0x34,  //4 key
1032       VK_5 = 0x35,  //5 key
1033       VK_6 = 0x36,  //6 key
1034       VK_7 = 0x37,  //7 key
1035       VK_8 = 0x38,  //8 key
1036       VK_9 = 0x39,  //9 key
1037       VK_A = 0x41,  //A key
1038       VK_B = 0x42,  //B key
1039       VK_C = 0x43,  //C key
1040       VK_D = 0x44,  //D key
1041       VK_E = 0x45,  //E key
1042       VK_F = 0x46,  //F key
1043       VK_G = 0x47,  //G key
1044       VK_H = 0x48,  //H key
1045       VK_I = 0x49,  //I key
1046       VK_J = 0x4A,  //J key
1047       VK_K = 0x4B,  //K key
1048       VK_L = 0x4C,  //L key
1049       VK_M = 0x4D,  //M key
1050       VK_N = 0x4E,  //N key
1051       VK_O = 0x4F,  //O key
1052       VK_P = 0x50,  //P key
1053       VK_Q = 0x51,  //Q key
1054       VK_R = 0x52,  //R key
1055       VK_S = 0x53,  //S key
1056       VK_T = 0x54,  //T key
1057       VK_U = 0x55,  //U key
1058       VK_V = 0x56,  //V key
1059       VK_W = 0x57,  //W key
1060       VK_X = 0x58,  //X key
1061       VK_Y = 0x59,  //Y key
1062       VK_Z = 0x5A,  //Z key
1063       VK_NUMPAD0 = 0x60,  //Numeric keypad 0 key
1064       VK_NUMPAD1 = 0x61,  //Numeric keypad 1 key
1065       VK_NUMPAD2 = 0x62,  //Numeric keypad 2 key
1066       VK_NUMPAD3 = 0x63,  //Numeric keypad 3 key
1067       VK_NUMPAD4 = 0x64,  //Numeric keypad 4 key
1068       VK_NUMPAD5 = 0x65,  //Numeric keypad 5 key
1069       VK_NUMPAD6 = 0x66,  //Numeric keypad 6 key
1070       VK_NUMPAD7 = 0x67,  //Numeric keypad 7 key
1071       VK_NUMPAD8 = 0x68,  //Numeric keypad 8 key
1072       VK_NUMPAD9 = 0x69,  //Numeric keypad 9 key
1073       VK_SEPARATOR = 0x6C,  //Separator key
1074       VK_SUBTRACT = 0x6D,  //Subtract key
1075       VK_DECIMAL = 0x6E,  //Decimal key
1076       VK_DIVIDE = 0x6F,  //Divide key
1077       VK_F1 = 0x70,  //F1 key
1078       VK_F2 = 0x71,  //F2 key
1079       VK_F3 = 0x72,  //F3 key
1080       VK_F4 = 0x73,  //F4 key
1081       VK_F5 = 0x74,  //F5 key
1082       VK_F6 = 0x75,  //F6 key
1083       VK_F7 = 0x76,  //F7 key
1084       VK_F8 = 0x77,  //F8 key
1085       VK_F9 = 0x78,  //F9 key
1086       VK_F10 = 0x79,  //F10 key
1087       VK_F11 = 0x7A,  //F11 key
1088       VK_F12 = 0x7B,  //F12 key
1089       VK_SCROLL = 0x91,  //SCROLL LOCK key
1090       VK_LSHIFT = 0xA0,  //Left SHIFT key
1091       VK_RSHIFT = 0xA1,  //Right SHIFT key
1092       VK_LCONTROL = 0xA2,  //Left CONTROL key
1093       VK_RCONTROL = 0xA3,  //Right CONTROL key
1094       VK_LMENU = 0xA4,   //Left MENU key
1095       VK_RMENU = 0xA5,  //Right MENU key
1096       VK_PLAY = 0xFA,  //Play key
1097       VK_ZOOM = 0xFB, //Zoom key
1098     } 
1099  }

 

posted @ 2016-04-22 13:56  潮崖客  阅读(1269)  评论(0编辑  收藏  举报