欢迎光临
我们一直在努力

Windows消息类。非常的有用。国外的,我特意贴出来。-.NET教程,Windows开发

建站超值云服务器,限时71元/月

namespace windowsutilities
{
    public enum windowsmessages: int
    {
        wm_null = 0x0000,
        wm_create = 0x0001,
        wm_destroy = 0x0002,
        wm_move = 0x0003,
        wm_size = 0x0005,
        wm_activate = 0x0006,
        wm_setfocus = 0x0007,
        wm_killfocus = 0x0008,
        wm_enable = 0x000a,
        wm_setredraw = 0x000b,
        wm_settext = 0x000c,
        wm_gettext = 0x000d,
        wm_gettextlength = 0x000e,
        wm_paint = 0x000f,
        wm_close = 0x0010,
        wm_queryendsession = 0x0011,
        wm_queryopen = 0x0013,
        wm_endsession = 0x0016,
        wm_quit = 0x0012,
        wm_erasebkgnd = 0x0014,
        wm_syscolorchange = 0x0015,
        wm_showwindow = 0x0018,
        wm_wininichange = 0x001a,
        wm_settingchange = 0x001a,
        wm_devmodechange = 0x001b,
        wm_activateapp = 0x001c,
        wm_fontchange = 0x001d,
        wm_timechange = 0x001e,
        wm_cancelmode = 0x001f,
        wm_setcursor = 0x0020,
        wm_mouseactivate = 0x0021,
        wm_childactivate = 0x0022,
        wm_queuesync = 0x0023,
        wm_getminmaxinfo = 0x0024,
        wm_painticon = 0x0026,
        wm_iconerasebkgnd = 0x0027,
        wm_nextdlgctl = 0x0028,
        wm_spoolerstatus = 0x002a,
        wm_drawitem = 0x002b,
        wm_measureitem = 0x002c,
        wm_deleteitem = 0x002d,
        wm_vkeytoitem = 0x002e,
        wm_chartoitem = 0x002f,
        wm_setfont = 0x0030,
        wm_getfont = 0x0031,
        wm_sethotkey = 0x0032,
        wm_gethotkey = 0x0033,
        wm_querydragicon = 0x0037,
        wm_compareitem = 0x0039,
        wm_getobject = 0x003d,
        wm_compacting = 0x0041,
        wm_commnotify = 0x0044,
        wm_windowposchanging = 0x0046,
        wm_windowposchanged = 0x0047,
        wm_power = 0x0048,
        wm_copydata = 0x004a,
        wm_canceljournal = 0x004b,
        wm_notify = 0x004e,
        wm_inputlangchangerequest = 0x0050,
        wm_inputlangchange = 0x0051,
        wm_tcard = 0x0052,
        wm_help = 0x0053,
        wm_userchanged = 0x0054,
        wm_notifyformat = 0x0055,
        wm_contextmenu = 0x007b,
        wm_stylechanging = 0x007c,
        wm_stylechanged = 0x007d,
        wm_displaychange = 0x007e,
        wm_geticon = 0x007f,
        wm_seticon = 0x0080,
        wm_nccreate = 0x0081,
        wm_ncdestroy = 0x0082,
        wm_nccalcsize = 0x0083,
        wm_nchittest = 0x0084,
        wm_ncpaint = 0x0085,
        wm_ncactivate = 0x0086,
        wm_getdlgcode = 0x0087,
        wm_syncpaint = 0x0088,
        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_ncxbuttondown = 0x00ab,
        wm_ncxbuttonup = 0x00ac,
        wm_ncxbuttondblclk = 0x00ad,
        wm_input = 0x00ff,
        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_nt501 = 0x0109,
        unicode_nochar = 0xffff,
        wm_keylast_pre501 = 0x0108,
        wm_ime_startcomposition = 0x010d,
        wm_ime_endcomposition = 0x010e,
        wm_ime_composition = 0x010f,
        wm_ime_keylast = 0x010f,
        wm_initdialog = 0x0110,
        wm_command = 0x0111,
        wm_syscommand = 0x0112,
        wm_timer = 0x0113,
        wm_hscroll = 0x0114,
        wm_vscroll = 0x0115,
        wm_initmenu = 0x0116,
        wm_initmenupopup = 0x0117,
        wm_menuselect = 0x011f,
        wm_menuchar = 0x0120,
        wm_enteridle = 0x0121,
        wm_menurbuttonup = 0x0122,
        wm_menudrag = 0x0123,
        wm_menugetobject = 0x0124,
        wm_uninitmenupopup = 0x0125,
        wm_menucommand = 0x0126,
        wm_changeuistate = 0x0127,
        wm_updateuistate = 0x0128,
        wm_queryuistate = 0x0129,
        wm_ctlcolormsgbox = 0x0132,
        wm_ctlcoloredit = 0x0133,
        wm_ctlcolorlistbox = 0x0134,
        wm_ctlcolorbtn = 0x0135,
        wm_ctlcolordlg = 0x0136,
        wm_ctlcolorscrollbar = 0x0137,
        wm_ctlcolorstatic = 0x0138,
        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_5 = 0x020d,
        wm_mouselast_4 = 0x020a,
        wm_mouselast_pre_4 = 0x0209,
        wm_parentnotify = 0x0210,
        wm_entermenuloop = 0x0211,
        wm_exitmenuloop = 0x0212,
        wm_nextmenu = 0x0213,
        wm_sizing = 0x0214,
        wm_capturechanged = 0x0215,
        wm_moving = 0x0216,
        wm_powerbroadcast = 0x0218,
        wm_devicechange = 0x0219,
        wm_mdicreate = 0x0220,
        wm_mdidestroy = 0x0221,
        wm_mdiactivate = 0x0222,
        wm_mdirestore = 0x0223,
        wm_mdinext = 0x0224,
        wm_mdimaximize = 0x0225,
        wm_mditile = 0x0226,
        wm_mdicascade = 0x0227,
        wm_mdiiconarrange = 0x0228,
        wm_mdigetactive = 0x0229,
        wm_mdisetmenu = 0x0230,
        wm_entersizemove = 0x0231,
        wm_exitsizemove = 0x0232,
        wm_dropfiles = 0x0233,
        wm_mdirefreshmenu = 0x0234,
        wm_ime_setcontext = 0x0281,
        wm_ime_notify = 0x0282,
        wm_ime_control = 0x0283,
        wm_ime_compositionfull = 0x0284,
        wm_ime_select = 0x0285,
        wm_ime_char = 0x0286,
        wm_ime_request = 0x0288,
        wm_ime_keydown = 0x0290,
        wm_ime_keyup = 0x0291,
        wm_mousehover = 0x02a1,
        wm_mouseleave = 0x02a3,
        wm_ncmousehover = 0x02a0,
        wm_ncmouseleave = 0x02a2,
        wm_wtssession_change = 0x02b1,
        wm_tablet_first = 0x02c0,
        wm_tablet_last = 0x02df,
        wm_cut = 0x0300,
        wm_copy = 0x0301,
        wm_paste = 0x0302,
        wm_clear = 0x0303,
        wm_undo = 0x0304,
        wm_renderformat = 0x0305,
        wm_renderallformats = 0x0306,
        wm_destroyclipboard = 0x0307,
        wm_drawclipboard = 0x0308,
        wm_paintclipboard = 0x0309,
        wm_vscrollclipboard = 0x030a,
        wm_sizeclipboard = 0x030b,
        wm_askcbformatname = 0x030c,
        wm_changecbchain = 0x030d,
        wm_hscrollclipboard = 0x030e,
        wm_querynewpalette = 0x030f,
        wm_paletteischanging = 0x0310,
        wm_palettechanged = 0x0311,
        wm_hotkey = 0x0312,
        wm_print = 0x0317,
        wm_printclient = 0x0318,
        wm_appcommand = 0x0319,
        wm_themechanged = 0x031a,
        wm_handheldfirst = 0x0358,
        wm_handheldlast = 0x035f,
        wm_afxfirst = 0x0360,
        wm_afxlast = 0x037f,
        wm_penwinfirst = 0x0380,
        wm_penwinlast = 0x038f,
        wm_app = 0x8000,
        wm_user = 0x0400,
        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,
        em_getlimittext = 0x00d5,
        em_posfromchar = 0x00d6,
        em_charfrompos = 0x00d7,
        em_setimestatus = 0x00d8,
        em_getimestatus = 0x00d9,
        bm_getcheck= 0x00f0,
        bm_setcheck= 0x00f1,
        bm_getstate= 0x00f2,
        bm_setstate= 0x00f3,
        bm_setstyle= 0x00f4,
        bm_click = 0x00f5,
        bm_getimage= 0x00f6,
        bm_setimage= 0x00f7,
        stm_seticon = 0x0170,
        stm_geticon = 0x0171,
        stm_setimage = 0x0172,
        stm_getimage = 0x0173,
        stm_msgmax = 0x0174,
        dm_getdefid = (wm_user+0),
        dm_setdefid = (wm_user+1),
        dm_reposition = (wm_user+2),
        lb_addstring = 0x0180,
        lb_insertstring = 0x0181,
        lb_deletestring = 0x0182,
        lb_selitemrangeex= 0x0183,
        lb_resetcontent = 0x0184,
        lb_setsel = 0x0185,
        lb_setcursel = 0x0186,
        lb_getsel = 0x0187,
        lb_getcursel = 0x0188,
        lb_gettext = 0x0189,
        lb_gettextlen = 0x018a,
        lb_getcount = 0x018b,
        lb_selectstring = 0x018c,
        lb_dir = 0x018d,
        lb_gettopindex = 0x018e,
        lb_findstring = 0x018f,
        lb_getselcount = 0x0190,
        lb_getselitems = 0x0191,
        lb_settabstops = 0x0192,
        lb_gethorizontalextent = 0x0193,
        lb_sethorizontalextent = 0x0194,
        lb_setcolumnwidth = 0x0195,
        lb_addfile = 0x0196,
        lb_settopindex = 0x0197,
        lb_getitemrect = 0x0198,
        lb_getitemdata = 0x0199,
        lb_setitemdata = 0x019a,
        lb_selitemrange = 0x019b,
        lb_setanchorindex = 0x019c,
        lb_getanchorindex = 0x019d,
        lb_setcaretindex = 0x019e,
        lb_getcaretindex = 0x019f,
        lb_setitemheight = 0x01a0,
        lb_getitemheight = 0x01a1,
        lb_findstringexact = 0x01a2,
        lb_setlocale = 0x01a5,
        lb_getlocale = 0x01a6,
        lb_setcount = 0x01a7,
        lb_initstorage = 0x01a8,
        lb_itemfrompoint = 0x01a9,
        lb_multipleaddstring = 0x01b1,
        lb_getlistboxinfo= 0x01b2,
        lb_msgmax_501 = 0x01b3,
        lb_msgmax_wce4 = 0x01b1,
        lb_msgmax_4 = 0x01b0,
        lb_msgmax_pre4 = 0x01a8,
        cb_geteditsel = 0x0140,
        cb_limittext = 0x0141,
        cb_seteditsel = 0x0142,
        cb_addstring = 0x0143,
        cb_deletestring = 0x0144,
        cb_dir = 0x0145,
        cb_getcount = 0x0146,
        cb_getcursel = 0x0147,
        cb_getlbtext = 0x0148,
        cb_getlbtextlen = 0x0149,
        cb_insertstring = 0x014a,
        cb_resetcontent = 0x014b,
        cb_findstring = 0x014c,
        cb_selectstring = 0x014d,
        cb_setcursel = 0x014e,
        cb_showdropdown = 0x014f,
        cb_getitemdata = 0x0150,
        cb_setitemdata = 0x0151,
        cb_getdroppedcontrolrect = 0x0152,
        cb_setitemheight = 0x0153,
        cb_getitemheight = 0x0154,
        cb_setextendedui = 0x0155,
        cb_getextendedui = 0x0156,
        cb_getdroppedstate = 0x0157,
        cb_findstringexact = 0x0158,
        cb_setlocale = 0x0159,
        cb_getlocale = 0x015a,
        cb_gettopindex = 0x015b,
        cb_settopindex = 0x015c,
        cb_gethorizontalextent = 0x015d,
        cb_sethorizontalextent = 0x015e,
        cb_getdroppedwidth = 0x015f,
        cb_setdroppedwidth = 0x0160,
        cb_initstorage = 0x0161,
        cb_multipleaddstring = 0x0163,
        cb_getcomboboxinfo = 0x0164,
        cb_msgmax_501 = 0x0165,
        cb_msgmax_wce400 = 0x0163,
        cb_msgmax_400 = 0x0162,
        cb_msgmax_pre400 = 0x015b,
        sbm_setpos = 0x00e0,
        sbm_getpos = 0x00e1,
        sbm_setrange = 0x00e2,
        sbm_setrangeredraw = 0x00e6,
        sbm_getrange = 0x00e3,
        sbm_enable_arrows = 0x00e4,
        sbm_setscrollinfo = 0x00e9,
        sbm_getscrollinfo = 0x00ea,
        sbm_getscrollbarinfo= 0x00eb,
        lvm_first = 0x1000,// listview messages
        tv_first = 0x1100,// treeview messages
        hdm_first = 0x1200,// header messages
        tcm_first = 0x1300,// tab control messages
        pgm_first = 0x1400,// pager control messages
        ecm_first = 0x1500,// edit control messages
        bcm_first = 0x1600,// button control messages
        cbm_first = 0x1700,// combobox control messages
        ccm_first = 0x2000,// common control shared messages
        ccm_last =(ccm_first + 0x200),
        ccm_setbkcolor = (ccm_first + 1),
        ccm_setcolorscheme = (ccm_first + 2),
        ccm_getcolorscheme = (ccm_first + 3),
        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),
        ccm_setwindowtheme = (ccm_first + 0xb),
        ccm_dpiscale = (ccm_first + 0xc),
        hdm_getitemcount = (hdm_first + 0),
        hdm_insertitema = (hdm_first + 1),
        hdm_insertitemw = (hdm_first + 10),
        hdm_deleteitem = (hdm_first + 2),
        hdm_getitema = (hdm_first + 3),
        hdm_getitemw = (hdm_first + 11),
        hdm_setitema = (hdm_first + 4),
        hdm_setitemw = (hdm_first + 12),
        hdm_layout = (hdm_first + 5),
        hdm_hittest = (hdm_first + 6),
        hdm_getitemrect = (hdm_first + 7),
        hdm_setimagelist = (hdm_first + 8),
        hdm_getimagelist = (hdm_first + 9),
        hdm_ordertoindex = (hdm_first + 15),
        hdm_createdragimage = (hdm_first + 16),
        hdm_getorderarray = (hdm_first + 17),
        hdm_setorderarray = (hdm_first + 18),
        hdm_sethotdivider = (hdm_first + 19),
        hdm_setbitmapmargin = (hdm_first + 20),
        hdm_getbitmapmargin = (hdm_first + 21),
        hdm_setunicodeformat = ccm_setunicodeformat,
        hdm_getunicodeformat = ccm_getunicodeformat,
        hdm_setfilterchangetimeout = (hdm_first+22),
        hdm_editfilter = (hdm_first+23),
        hdm_clearfilter = (hdm_first+24),
        tb_enablebutton = (wm_user + 1),
        tb_checkbutton = (wm_user + 2),
        tb_pressbutton = (wm_user + 3),
        tb_hidebutton = (wm_user + 4),
        tb_indeterminate = (wm_user + 5),
        tb_markbutton = (wm_user + 6),
        tb_isbuttonenabled = (wm_user + 9),
        tb_isbuttonchecked = (wm_user + 10),
        tb_isbuttonpressed = (wm_user + 11),
        tb_isbuttonhidden = (wm_user + 12),
        tb_isbuttonindeterminate = (wm_user + 13),
        tb_isbuttonhighlighted = (wm_user + 14),
        tb_setstate = (wm_user + 17),
        tb_getstate = (wm_user + 18),
        tb_addbitmap = (wm_user + 19),
        tb_addbuttonsa = (wm_user + 20),
        tb_insertbuttona = (wm_user + 21),
        tb_addbuttons = (wm_user + 20),
        tb_insertbutton = (wm_user + 21),
        tb_deletebutton = (wm_user + 22),
        tb_getbutton = (wm_user + 23),
        tb_buttoncount = (wm_user + 24),
        tb_commandtoindex = (wm_user + 25),
        tb_saverestorea = (wm_user + 26),
        tb_saverestorew = (wm_user + 76),
        tb_customize = (wm_user + 27),
        tb_addstringa = (wm_user + 28),
        tb_addstringw = (wm_user + 77),
        tb_getitemrect = (wm_user + 29),
        tb_buttonstructsize = (wm_user + 30),
        tb_setbuttonsize = (wm_user + 31),
        tb_setbitmapsize = (wm_user + 32),
        tb_autosize = (wm_user + 33),
        tb_gettooltips = (wm_user + 35),
        tb_settooltips = (wm_user + 36),
        tb_setparent = (wm_user + 37),
        tb_setrows = (wm_user + 39),
        tb_getrows = (wm_user + 40),
        tb_setcmdid = (wm_user + 42),
        tb_changebitmap = (wm_user + 43),
        tb_getbitmap = (wm_user + 44),
        tb_getbuttontexta = (wm_user + 45),
        tb_getbuttontextw = (wm_user + 75),
        tb_replacebitmap = (wm_user + 46),
        tb_setindent = (wm_user + 47),
        tb_setimagelist = (wm_user + 48),
        tb_getimagelist = (wm_user + 49),
        tb_loadimages = (wm_user + 50),
        tb_getrect = (wm_user + 51),
        tb_sethotimagelist = (wm_user + 52),
        tb_gethotimagelist = (wm_user + 53),
        tb_setdisabledimagelist = (wm_user + 54),
        tb_getdisabledimagelist = (wm_user + 55),
        tb_setstyle = (wm_user + 56),
        tb_getstyle = (wm_user + 57),
        tb_getbuttonsize = (wm_user + 58),
        tb_setbuttonwidth = (wm_user + 59),
        tb_setmaxtextrows = (wm_user + 60),
        tb_gettextrows = (wm_user + 61),
        tb_getobject = (wm_user + 62),
        tb_gethotitem = (wm_user + 71),
        tb_sethotitem = (wm_user + 72),
        tb_setanchorhighlight = (wm_user + 73),
        tb_getanchorhighlight = (wm_user + 74),
        tb_mapacceleratora = (wm_user + 78),
        tb_getinsertmark = (wm_user + 79),
        tb_setinsertmark = (wm_user + 80),
        tb_insertmarkhittest = (wm_user + 81),
        tb_movebutton = (wm_user + 82),
        tb_getmaxsize = (wm_user + 83),
        tb_setextendedstyle = (wm_user + 84),
        tb_getextendedstyle = (wm_user + 85),
        tb_getpadding = (wm_user + 86),
        tb_setpadding = (wm_user + 87),
        tb_setinsertmarkcolor = (wm_user + 88),
        tb_getinsertmarkcolor = (wm_user + 89),
        tb_setcolorscheme = ccm_setcolorscheme,
        tb_getcolorscheme = ccm_getcolorscheme,
        tb_setunicodeformat = ccm_setunicodeformat,
        tb_getunicodeformat = ccm_getunicodeformat,
        tb_mapacceleratorw = (wm_user + 90),
        tb_getbitmapflags = (wm_user + 41),
        tb_getbuttoninfow = (wm_user + 63),
        tb_setbuttoninfow = (wm_user + 64),
        tb_getbuttoninfoa = (wm_user + 65),
        tb_setbuttoninfoa = (wm_user + 66),
        tb_insertbuttonw = (wm_user + 67),
        tb_addbuttonsw = (wm_user + 68),
        tb_hittest = (wm_user + 69),
        tb_setdrawtextflags = (wm_user + 70),
        tb_getstringw = (wm_user + 91),
        tb_getstringa = (wm_user + 92),
        tb_getmetrics = (wm_user + 101),
        tb_setmetrics = (wm_user + 102),
        tb_setwindowtheme = ccm_setwindowtheme,
        rb_insertbanda = (wm_user + 1),
        rb_deleteband = (wm_user + 2),
        rb_getbarinfo = (wm_user + 3),
        rb_setbarinfo = (wm_user + 4),
        rb_getbandinfo = (wm_user + 5),
        rb_setbandinfoa = (wm_user + 6),
        rb_setparent = (wm_user + 7),
        rb_hittest = (wm_user + 8),
        rb_getrect = (wm_user + 9),
        rb_insertbandw = (wm_user + 10),

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » Windows消息类。非常的有用。国外的,我特意贴出来。-.NET教程,Windows开发
分享到: 更多 (0)

相关推荐

  • 暂无文章