WinAPI——Windows 消息
消息 | 值 | 注释 |
---|---|---|
WM_NULL | $0000 | |
WM_CREATE | $0001 | |
WM_DESTROY | $0002 | |
WM_MOVE | $0003 | |
WM_SIZE | $0005 | |
WM_ACTIVATE | $0006 | |
WM_SETFOCUS | $0007 | |
WM_KILLFOCUS | $0008 | |
WM_ENABLE | $000A | |
WM_SETREDRAW | $000B | |
WM_SETTEXT | $000C | |
WM_GETTEXT | $000D | |
WM_GETTEXTLENGTH | $000E | |
WM_PAINT | $000F | |
WM_CLOSE | $0010 | |
WM_QUERYENDSESSION | $0011 | |
WM_QUIT | $0012 | |
WM_QUERYOPEN | $0013 | |
WM_ERASEBKGND | $0014 | |
WM_SYSCOLORCHANGE | $0015 | |
WM_ENDSESSION | $0016 | |
WM_SYSTEMERROR | $0017 | |
WM_SHOWWINDOW | $0018 | |
WM_CTLCOLOR | $0019 | |
WM_WININICHANGE | $001A | |
WM_SETTINGCHANGE | WM_WININICHANGE | |
WM_DEVMODECHANGE | $001B | |
WM_ACTIVATEAPP | $001C | |
WM_FONTCHANGE | $001D | |
WM_TIMECHANGE | $001E | |
WM_CANCELMODE | $001F | |
WM_SETCURSOR | $0020 | |
WM_MOUSEACTIVATE | $0021 | |
WM_CHILDACTIVATE | $0022 | |
WM_QUEUESYNC | $0023 | |
WM_GETMINMAXINFO | $0024 | |
WM_PAINTICON | $0026 | |
WM_ICONERASEBKGND | $0027 | |
WM_NEXTDLGCTL | $0028 | |
WM_SPOOLERSTATUS | $002A | |
WM_DRAWITEM | $002B | |
WM_MEASUREITEM | $002C | |
WM_DELETEITEM | $002D | |
WM_VKEYTOITEM | $002E | |
WM_CHARTOITEM | $002F | |
WM_SETFONT | $0030 | |
WM_GETFONT | $0031 | |
WM_SETHOTKEY | $0032 | |
WM_GETHOTKEY | $0033 | |
WM_QUERYDRAGICON | $0037 | |
WM_COMPAREITEM | $0039 | |
WM_GETOBJECT | $003D | |
WM_COMPACTING | $0041 | |
WM_COMMNOTIFY | $0044 | |
WM_WINDOWPOSCHANGING | $0046 | |
WM_WINDOWPOSCHANGED | $0047 | |
WM_POWER | $0048 | |
WM_COPYDATA | $004A | |
WM_CANCELJOURNAL | $004B | |
WM_NOTIFY | $004E | |
WM_INPUTLANGCHANGEREQUEST | $0050 | |
WM_INPUTLANGCHANGE | $0051 | |
WM_TCARD | $0052 | |
WM_HELP | $0053 | |
WM_USERCHANGED | $0054 | |
WM_NOTIFYFORMAT | $0055 | |
WM_CONTEXTMENU | $007B | |
WM_STYLECHANGING | $007C | |
WM_STYLECHANGED | $007D | |
WM_DISPLAYCHANGE | $007E | |
WM_GETICON | $007F | |
WM_SETICON | $0080 | |
WM_NCCREATE | $0081 | |
WM_NCDESTROY | $0082 | |
WM_NCCALCSIZE | $0083 | |
WM_NCHITTEST | $0084 | |
WM_NCPAINT | $0085 | |
WM_NCACTIVATE | $0086 | |
WM_GETDLGCODE | $0087 | |
WM_NCMOUSEMOVE | $00A0 | |
WM_NCLBUTTONDOWN | $00A1 | |
WM_NCLBUTTONUP | $00A2 | |
WM_NCLBUTTONDBLCLK | $00A3 | |
WM_NCRBUTTONDOWN | $00A4 | |
WM_NCRBUTTONUP | $00A5 | |
WM_NCRBUTTONDBLCLK | $00A6 | |
WM_NCMBUTTONDOWN | $00A7 | |
WM_NCMBUTTONUP | $00A8 | |
WM_NCMBUTTONDBLCLK | $00A9 | |
WM_NCXBUTTONDOWN | $00AB | |
WM_NCXBUTTONUP | $00AC | |
WM_NCXBUTTONDBLCLK | $00AD | |
WM_INPUT | $00FF | |
WM_KEYFIRST | $0100 | |
WM_KEYDOWN | $0100 | |
WM_KEYUP | $0101 | |
WM_CHAR | $0102 | |
WM_DEADCHAR | $0103 | |
WM_SYSKEYDOWN | $0104 | |
WM_SYSKEYUP | $0105 | |
WM_SYSCHAR | $0106 | |
WM_SYSDEADCHAR | $0107 | |
WM_UNICHAR | $0109 | |
WM_KEYLAST | $0109 | |
WM_INITDIALOG | $0110 | |
WM_COMMAND | $0111 | |
WM_SYSCOMMAND | $0112 | |
WM_TIMER | $0113 | |
WM_HSCROLL | $0114 | |
WM_VSCROLL | $0115 | |
WM_INITMENU | $0116 | |
WM_INITMENUPOPUP | $0117 | |
WM_MENUSELECT | $011F | |
WM_MENUCHAR | $0120 | |
WM_ENTERIDLE | $0121 | |
WM_MENURBUTTONUP | $0122 | |
WM_MENUDRAG | $0123 | |
WM_MENUGETOBJECT | $0124 | |
WM_UNINITMENUPOPUP | $0125 | |
WM_MENUCOMMAND | $0126 | |
WM_CHANGEUISTATE | $0127 | |
WM_UPDATEUISTATE | $0128 | |
WM_QUERYUISTATE | $0129 | |
WM_CTLCOLORMSGBOX | $0132 | |
WM_CTLCOLOREDIT | $0133 | |
WM_CTLCOLORLISTBOX | $0134 | |
WM_CTLCOLORBTN | $0135 | |
WM_CTLCOLORDLG | $0136 | |
WM_CTLCOLORSCROLLBAR | $0137 | |
WM_CTLCOLORSTATIC | $0138 | |
WM_MOUSEFIRST | $0200 | |
WM_MOUSEMOVE | $0200 | |
WM_LBUTTONDOWN | $0201 | |
WM_LBUTTONUP | $0202 | |
WM_LBUTTONDBLCLK | $0203 | |
WM_RBUTTONDOWN | $0204 | |
WM_RBUTTONUP | $0205 | |
WM_RBUTTONDBLCLK | $0206 | |
WM_MBUTTONDOWN | $0207 | |
WM_MBUTTONUP | $0208 | |
WM_MBUTTONDBLCLK | $0209 | |
WM_MOUSEWHEEL | $020A | |
WM_MOUSELAST | $020A | |
WM_PARENTNOTIFY | $0210 | |
WM_ENTERMENULOOP | $0211 | |
WM_EXITMENULOOP | $0212 | |
WM_NEXTMENU | $0213 | |
WM_SIZING | 532 | |
WM_CAPTURECHANGED | 533 | |
WM_MOVING | 534 | |
WM_POWERBROADCAST | 536 | |
WM_DEVICECHANGE | 537 | |
WM_IME_STARTCOMPOSITION | $010D | |
WM_IME_ENDCOMPOSITION | $010E | |
WM_IME_COMPOSITION | $010F | |
WM_IME_KEYLAST | $010F | |
WM_IME_SETCONTEXT | $0281 | |
WM_IME_NOTIFY | $0282 | |
WM_IME_CONTROL | $0283 | |
WM_IME_COMPOSITIONFULL | $0284 | |
WM_IME_SELECT | $0285 | |
WM_IME_CHAR | $0286 | |
WM_IME_REQUEST | $0288 | |
WM_IME_KEYDOWN | $0290 | |
WM_IME_KEYUP | $0291 | |
WM_MDICREATE | $0220 | |
WM_MDIDESTROY | $0221 | |
WM_MDIACTIVATE | $0222 | |
WM_MDIRESTORE | $0223 | |
WM_MDINEXT | $0224 | |
WM_MDIMAXIMIZE | $0225 | |
WM_MDITILE | $0226 | |
WM_MDICASCADE | $0227 | |
WM_MDIICONARRANGE | $0228 | |
WM_MDIGETACTIVE | $0229 | |
WM_MDISETMENU | $0230 | |
WM_ENTERSIZEMOVE | $0231 | |
WM_EXITSIZEMOVE | $0232 | |
WM_DROPFILES | $0233 | |
WM_MDIREFRESHMENU | $0234 | |
WM_MOUSEHOVER | $02A1 | |
WM_MOUSELEAVE | $02A3 | |
WM_NCMOUSEHOVER | $02A0 | |
WM_NCMOUSELEAVE | $02A2 | |
WM_WTSSESSION_CHANGE | $02B1 | |
WM_TABLET_FIRST | $02C0 | |
WM_TABLET_LAST | $02DF | |
WM_CUT | $0300 | |
WM_COPY | $0301 | |
WM_PASTE | $0302 | |
WM_CLEAR | $0303 | |
WM_UNDO | $0304 | |
WM_RENDERFORMAT | $0305 | |
WM_RENDERALLFORMATS | $0306 | |
WM_DESTROYCLIPBOARD | $0307 | |
WM_DRAWCLIPBOARD | $0308 | |
WM_PAINTCLIPBOARD | $0309 | |
WM_VSCROLLCLIPBOARD | $030A | |
WM_SIZECLIPBOARD | $030B | |
WM_ASKCBFORMATNAME | $030C | |
WM_CHANGECBCHAIN | $030D | |
WM_HSCROLLCLIPBOARD | $030E | |
WM_QUERYNEWPALETTE | $030F | |
WM_PALETTEISCHANGING | $0310 | |
WM_PALETTECHANGED | $0311 | |
WM_HOTKEY | $0312 | |
WM_PRINT | 791 | |
WM_PRINTCLIENT | 792 | |
WM_APPCOMMAND | $0319 | |
WM_THEMECHANGED | $031A | |
WM_HANDHELDFIRST | 856 | |
WM_HANDHELDLAST | 863 | |
WM_PENWINFIRST | $0380 | |
WM_PENWINLAST | $038F | |
WM_COALESCE_FIRST | $0390 | |
WM_COALESCE_LAST | $039F | |
WM_DDE_FIRST | $03E0 | |
WM_DDE_INITIATE | WM_DDE_FIRST + 0 | |
WM_DDE_TERMINATE | WM_DDE_FIRST + 1 | |
WM_DDE_ADVISE | WM_DDE_FIRST + 2 | |
WM_DDE_UNADVISE | WM_DDE_FIRST + 3 | |
WM_DDE_ACK | WM_DDE_FIRST + 4 | |
WM_DDE_DATA | WM_DDE_FIRST + 5 | |
WM_DDE_REQUEST | WM_DDE_FIRST + 6 | |
WM_DDE_POKE | WM_DDE_FIRST + 7 | |
WM_DDE_EXECUTE | WM_DDE_FIRST + 8 | |
WM_DDE_LAST | WM_DDE_FIRST + 8 | |
WM_DWMCOMPOSITIONCHANGED | $031E | |
WM_DWMNCRENDERINGCHANGED | $031F | |
WM_DWMCOLORIZATIONCOLORCHANGED | $0320 | |
WM_DWMWINDOWMAXIMIZEDCHANGE | $0321 | |
WM_APP | $8000 | |
WM_USER | $0400 | |
Button Notification Codes | ||
BN_CLICKED | 0 | 表明已在按钮上按了一次鼠标键 |
BN_PAINT | 1 | |
BN_HILITE | 2 | |
BN_UNHILITE | 3 | |
BN_DISABLE | 4 | 表明按钮己被禁止 |
BN_DOUBLECLICKED | 5 | 表明已在按钮上按了两次鼠标键 |
BN_PUSHED | BN_HILITE | |
BN_UNPUSHED | BN_UNHILITE | |
BN_DBLCLK | BN_DOUBLECLICKED | |
BN_SETFOCUS | 6 | |
BN_KILLFOCUS | 7 | |
Button Control Messages | ||
BM_GETCHECK | $00F0 | 确定圆按钮或检查框是否被选中 |
BM_SETCHECK | $00F1 | 设置或删除按钮控制的选中标记 |
BM_GETSTATE | $00F2 | 确定按钮控制状态 |
BM_SETSTATE | $00F3 | 高亮度显示按钮控制 |
BM_SETSTYLE | $00F4 | 改变按钮风格 |
BM_CLICK | $00F5 | |
BM_GETIMAGE | $00F6 | |
BM_SETIMAGE | $00F7 | |
Listbox Notification Codes | ||
LBN_ERRSPACE | (-2) | |
LBN_SELCHANGE | 1 | |
LBN_DBLCLK | 2 | |
LBN_SELCANCEL | 3 | |
LBN_SETFOCUS | 4 | |
LBN_KILLFOCUS | 5 | |
Listbox messages | ||
LB_ADDSTRING | $0180 | |
LB_INSERTSTRING | $0181 | |
LB_DELETESTRING | $0182 | |
LB_SELITEMRANGEEX | $0183 | |
LB_RESETCONTENT | $0184 | |
LB_SETSEL | $0185 | |
LB_SETCURSEL | $0186 | |
LB_GETSEL | $0187 | |
LB_GETCURSEL | $0188 | |
LB_GETTEXT | $0189 | |
LB_GETTEXTLEN | $018A | |
LB_GETCOUNT | $018B | |
LB_SELECTSTRING | $018C | |
LB_DIR | $018D | |
LB_GETTOPINDEX | $018E | |
LB_FINDSTRING | $018F | |
LB_GETSELCOUNT | $0190 | |
LB_GETSELITEMS | $0191 | |
LB_SETTABSTOPS | $0192 | |
LB_GETHORIZONTALEXTENT | $0193 | |
LB_SETHORIZONTALEXTENT | $0194 | |
LB_SETCOLUMNWIDTH | $0195 | |
LB_ADDFILE | $0196 | |
LB_SETTOPINDEX | $0197 | |
LB_GETITEMRECT | $0198 | |
LB_GETITEMDATA | $0199 | |
LB_SETITEMDATA | $019A | |
LB_SELITEMRANGE | $019B | |
LB_SETANCHORINDEX | $019C | |
LB_GETANCHORINDEX | $019D | |
LB_SETCARETINDEX | $019E | |
LB_GETCARETINDEX | $019F | |
LB_SETITEMHEIGHT | $01A0 | |
LB_GETITEMHEIGHT | $01A1 | |
LB_FINDSTRINGEXACT | $01A2 | |
LB_SETLOCALE | $01A5 | |
LB_GETLOCALE | $01A6 | |
LB_SETCOUNT | $01A7 | |
LB_INITSTORAGE | $01A8 | |
LB_ITEMFROMPOINT | $01A9 | |
LB_MSGMAX | 432 | |
Combo Box Notification Codes | ||
CBN_ERRSPACE | (-1) | |
CBN_SELCHANGE | 1 | |
CBN_DBLCLK | 2 | |
CBN_SETFOCUS | 3 | |
CBN_KILLFOCUS | 4 | |
CBN_EDITCHANGE | 5 | |
CBN_EDITUPDATE | 6 | |
CBN_DROPDOWN | 7 | |
CBN_CLOSEUP | 8 | |
CBN_SELENDOK | 9 | |
CBN_SELENDCANCEL | 10 | |
Combo Box messages | ||
CB_GETEDITSEL | $0140 | 取组合框的编辑控制中的选中正文的起点与终点位置 |
CB_LIMITTEXT | $0141 | 确定组合框编辑控制中能结人的最大字符申长度 |
CB_SETEDITSEL | $0142 | 选中指定起始和终止位复的编辑控制中的正文 |
CB_ADDSTRING | $0143 | 把一字符串加到组合框的列表框中 |
CB_DELETESTRING | $0144 | 把一字符串从组合框的列表框中剔除 |
CB_DIR | $0145 | 取当前目录中录的文件表井加到组合框中 |
CB_GETCOUNT | $0146 | 确定组合框的列表框中的项的数目 |
CB_GETCURSEL | $0147 | 返回当前选中项的索引 |
CB_GETLBTEXT | $0148 | 从组合框的列表框中拷贝一字符串到缓冲区 |
CB_GETLBTEXTLEN | $0149 | 确定组合框的列表框中字符中的长度 |
CB_INSERTSTRING | $014A | 在组合框的列表框中插入一字符串 |
CB_RESETCONTENT | $014B | 从组合框中删除全部字符串 |
CB_FINDSTRING | $014C | 在组合框的列表中寻找与指定前级相匹配的第一个字符串 |
CB_SELECTSTRING | $014D | 选择具有指定前缀的第一个字符串 |
CB_SETCURSEL | $014E | 从组合框的列表框中选择一字符串并使之可见 |
CB_SHOWDROPDOWN | $014F | 显示或院藏组合框中的下拉列表框 |
CB_GETITEMDATA | $0150 | 取与拥有者自绘组合框菜造项有关的32位值 |
CB_SETITEMDATA | $0151 | 设置拥有者自绘组合框有关项相应的32位值 |
CB_GETDROPPEDCONTROLRECT | $0152 | 取组合框的下拉列表框的屏幕坐标 |
CB_SETITEMHEIGHT | $0153 | 放置组合框成分的高度 |
CB_GETITEMHEIGHT | $0154 | 确定组合框组成的高度 |
CB_SETEXTENDEDUI | $0155 | 为组合框指定用户接口类型扩充的或缺省的 |
CB_GETEXTENDEDUI | $0156 | 确定组合框是否有缺省的或扩充的用户界面 |
CB_GETDROPPEDSTATE | $0157 | 确定组合框的列表框是否放下拉,以及是否可见 |
CB_FINDSTRINGEXACT | $0158 | |
CB_SETLOCALE | 345 | |
CB_GETLOCALE | 346 | |
CB_GETTOPINDEX | 347 | |
CB_SETTOPINDEX | 348 | |
CB_GETHORIZONTALEXTENT | 349 | |
CB_SETHORIZONTALEXTENT | 350 | |
CB_GETDROPPEDWIDTH | 351 | |
CB_SETDROPPEDWIDTH | 352 | |
CB_INITSTORAGE | 353 | |
CB_MSGMAX | 354 | |
Edit Control Notification Codes | ||
EN_SETFOCUS | $0100 | |
EN_KILLFOCUS | $0200 | |
EN_CHANGE | $0300 | |
EN_UPDATE | $0400 | |
EN_ERRSPACE | $0500 | |
EN_MAXTEXT | $0501 | |
EN_HSCROLL | $0601 | |
EN_VSCROLL | $0602 | |
Edit Control Messages | ||
EM_GETSEL | $00B0 | |
EM_SETSEL | $00B1 | |
EM_GETRECT | $00B2 | |
EM_SETRECT | $00B3 | |
EM_SETRECTNP | $00B4 | |
EM_SCROLL | $00B5 | |
EM_LINESCROLL | $00B6 | |
EM_SCROLLCARET | $00B7 | |
EM_GETMODIFY | $00B8 | |
EM_SETMODIFY | $00B9 | |
EM_GETLINECOUNT | $00BA | |
EM_LINEINDEX | $00BB | |
EM_SETHANDLE | $00BC | |
EM_GETHANDLE | $00BD | |
EM_GETTHUMB | $00BE | |
EM_LINELENGTH | $00C1 | |
EM_REPLACESEL | $00C2 | |
EM_GETLINE | $00C4 | |
EM_LIMITTEXT | $00C5 | |
EM_CANUNDO | $00C6 | |
EM_UNDO | $00C7 | |
EM_FMTLINES | $00C8 | |
EM_LINEFROMCHAR | $00C9 | |
EM_SETTABSTOPS | $00CB | |
EM_SETPASSWORDCHAR | $00CC | |
EM_EMPTYUNDOBUFFER | $00CD | |
EM_GETFIRSTVISIBLELINE | $00CE | |
EM_SETREADONLY | $00CF | |
EM_SETWORDBREAKPROC | $00D0 | |
EM_GETWORDBREAKPROC | $00D1 | |
EM_GETPASSWORDCHAR | $00D2 | |
EM_SETMARGINS | 211 | |
EM_GETMARGINS | 212 | |
EM_SETLIMITTEXT | EM_LIMITTEXT | |
EM_GETLIMITTEXT | 213 | |
EM_POSFROMCHAR | 214 | |
EM_CHARFROMPOS | 215 | |
EM_SETIMESTATUS | 216 | |
EM_GETIMESTATUS | 217 | |
Scroll bar messages | ||
SBM_SETPOS | 224 | |
SBM_GETPOS | 225 | |
SBM_SETRANGE | 226 | |
SBM_SETRANGEREDRAW | 230 | |
SBM_GETRANGE | 227 | |
SBM_ENABLE_ARROWS | 228 | |
SBM_SETSCROLLINFO | 233 | |
SBM_GETSCROLLINFO | 234 | |
Dialog messages | ||
DM_GETDEFID | (WM_USER+0) | |
DM_SETDEFID | (WM_USER+1) | |
DM_REPOSITION | (WM_USER+2) | |
PSM_PAGEINFO | (WM_USER+100) | |
PSM_SHEETINFO | (WM_USER+101) |
//按字母排序的窗口公用消息:
WM_ACTIVATE
WM_ACTIVATEAPP
WM_APP
WM_APPCOMMAND
WM_ASKCBFORMATNAME
WM_CANCELJOURNAL
WM_CANCELMODE
WM_CAPTURECHANGED
WM_CHANGECBCHAIN
WM_CHANGEUISTATE
WM_CHAR
WM_CHARTOITEM
WM_CHILDACTIVATE
WM_CLEAR
WM_CLOSE
WM_COALESCE_FIRST
WM_COALESCE_LAST
WM_COMMAND
WM_COMMNOTIFY
WM_COMPACTING
WM_COMPAREITEM
WM_CONTEXTMENU
WM_COPY
WM_COPYDATA
WM_CREATE
WM_CTLCOLOR
WM_CTLCOLORBTN
WM_CTLCOLORDLG
WM_CTLCOLOREDIT
WM_CTLCOLORLISTBOX
WM_CTLCOLORMSGBOX
WM_CTLCOLORSCROLLBAR
WM_CTLCOLORSTATIC
WM_CUT
WM_DDE_ACK
WM_DDE_ADVISE
WM_DDE_DATA
WM_DDE_EXECUTE
WM_DDE_FIRST
WM_DDE_INITIATE
WM_DDE_LAST
WM_DDE_POKE
WM_DDE_REQUEST
WM_DDE_TERMINATE
WM_DDE_UNADVISE
WM_DEADCHAR
WM_DELETEITEM
WM_DESTROY
WM_DESTROYCLIPBOARD
WM_DEVICECHANGE
WM_DEVMODECHANGE
WM_DISPLAYCHANGE
WM_DRAWCLIPBOARD
WM_DRAWITEM
WM_DROPFILES
WM_DWMCOLORIZATIONCOLORCHANGED
WM_DWMCOMPOSITIONCHANGED
WM_DWMNCRENDERINGCHANGED
WM_DWMWINDOWMAXIMIZEDCHANGE
WM_ENABLE
WM_ENDSESSION
WM_ENTERIDLE
WM_ENTERMENULOOP
WM_ENTERSIZEMOVE
WM_ERASEBKGND
WM_EXITMENULOOP
WM_EXITSIZEMOVE
WM_FONTCHANGE
WM_GETDLGCODE
WM_GETFONT
WM_GETHOTKEY
WM_GETICON
WM_GETMINMAXINFO
WM_GETOBJECT
WM_GETTEXT
WM_GETTEXTLENGTH
WM_HANDHELDFIRST
WM_HANDHELDLAST
WM_HELP
WM_HOTKEY
WM_HSCROLL
WM_HSCROLLCLIPBOARD
WM_ICONERASEBKGND
WM_IME_CHAR
WM_IME_COMPOSITION
WM_IME_COMPOSITIONFULL
WM_IME_CONTROL
WM_IME_ENDCOMPOSITION
WM_IME_KEYDOWN
WM_IME_KEYLAST
WM_IME_KEYUP
WM_IME_NOTIFY
WM_IME_REQUEST
WM_IME_SELECT
WM_IME_SETCONTEXT
WM_IME_STARTCOMPOSITION
WM_INITDIALOG
WM_INITMENU
WM_INITMENUPOPUP
WM_INPUT
WM_INPUTLANGCHANGE
WM_INPUTLANGCHANGEREQUEST
WM_KEYDOWN
WM_KEYFIRST
WM_KEYLAST
WM_KEYUP
WM_KILLFOCUS
WM_LBUTTONDBLCLK
WM_LBUTTONDOWN
WM_LBUTTONUP
WM_MBUTTONDBLCLK
WM_MBUTTONDOWN
WM_MBUTTONUP
WM_MDIACTIVATE
WM_MDICASCADE
WM_MDICREATE
WM_MDIDESTROY
WM_MDIGETACTIVE
WM_MDIICONARRANGE
WM_MDIMAXIMIZE
WM_MDINEXT
WM_MDIREFRESHMENU
WM_MDIRESTORE
WM_MDISETMENU
WM_MDITILE
WM_MEASUREITEM
WM_MENUCHAR
WM_MENUCOMMAND
WM_MENUDRAG
WM_MENUGETOBJECT
WM_MENURBUTTONUP
WM_MENUSELECT
WM_MOUSEACTIVATE
WM_MOUSEFIRST
WM_MOUSEHOVER
WM_MOUSELAST
WM_MOUSELEAVE
WM_MOUSEMOVE
WM_MOUSEWHEEL
WM_MOVE
WM_MOVING
WM_NCACTIVATE
WM_NCCALCSIZE
WM_NCCREATE
WM_NCDESTROY
WM_NCHITTEST
WM_NCLBUTTONDBLCLK
WM_NCLBUTTONDOWN
WM_NCLBUTTONUP
WM_NCMBUTTONDBLCLK
WM_NCMBUTTONDOWN
WM_NCMBUTTONUP
WM_NCMOUSEHOVER
WM_NCMOUSELEAVE
WM_NCMOUSEMOVE
WM_NCPAINT
WM_NCRBUTTONDBLCLK
WM_NCRBUTTONDOWN
WM_NCRBUTTONUP
WM_NCXBUTTONDBLCLK
WM_NCXBUTTONDOWN
WM_NCXBUTTONUP
WM_NEXTDLGCTL
WM_NEXTMENU
WM_NOTIFY
WM_NOTIFYFORMAT
WM_NULL
WM_PAINT
WM_PAINTCLIPBOARD
WM_PAINTICON
WM_PALETTECHANGED
WM_PALETTEISCHANGING
WM_PARENTNOTIFY
WM_PASTE
WM_PENWINFIRST
WM_PENWINLAST
WM_POWER
WM_POWERBROADCAST
WM_PRINT
WM_PRINTCLIENT
WM_QUERYDRAGICON
WM_QUERYENDSESSION
WM_QUERYNEWPALETTE
WM_QUERYOPEN
WM_QUERYUISTATE
WM_QUEUESYNC
WM_QUIT
WM_RBUTTONDBLCLK
WM_RBUTTONDOWN
WM_RBUTTONUP
WM_RENDERALLFORMATS
WM_RENDERFORMAT
WM_SETCURSOR
WM_SETFOCUS
WM_SETFONT
WM_SETHOTKEY
WM_SETICON
WM_SETREDRAW
WM_SETTEXT
WM_SETTINGCHANGE(WM_WININICHANGE)
WM_SHOWWINDOW
WM_SIZE
WM_SIZECLIPBOARD
WM_SIZING
WM_SPOOLERSTATUS
WM_STYLECHANGED
WM_STYLECHANGING
WM_SYSCHAR
WM_SYSCOLORCHANGE
WM_SYSCOMMAND
WM_SYSDEADCHAR
WM_SYSKEYDOWN
WM_SYSKEYUP
WM_SYSTEMERROR
WM_TABLET_FIRST
WM_TABLET_LAST
WM_TCARD
WM_THEMECHANGED
WM_TIMECHANGE
WM_TIMER
WM_UNDO
WM_UNICHAR
WM_UNINITMENUPOPUP
WM_UPDATEUISTATE
WM_USERCHANGED
WM_VKEYTOITEM
WM_VSCROLL
WM_VSCROLLCLIPBOARD
WM_WINDOWPOSCHANGED
WM_WINDOWPOSCHANGING
WM_WININICHANGE
WM_WTSSESSION_CHANGE
WinAPI——Windows 消息的更多相关文章
- <Win32_1>深入浅出windows消息机制[转自crocodile_]
上学期学习了Java ,感觉Java写一个窗口真心简单,很易上手,也就难怪很多开发人员选择Java作为自己的开发编程语言.但是由于自身对windows的热爱,让我觉得c.c++语言才是我亲睐的编程语言 ...
- Windows消息机制要点
1. 窗口过程 每个窗口会有一个称为窗口过程的回调函数(WndProc),它带有四个参数,分别为:窗口句柄(Window Handle),消息ID(Message ID),和两个消息参数(wP ...
- Windows消息拦截技术的应用
Windows消息拦截技术的应用 民航合肥空管中心 周毅 一.前 言 众所周知,Windows程式的运行是依靠发生的事件来驱动.换句话说,程式不断等待一个消息的发生,然后对这个消息的类型进行判断,再做 ...
- Windows消息编程(写的不错,有前因后果)
本文主要包括以下内容: 1.简单理解Windows的消息2.通过一个简单的Win32程序理解Windows消息3.通过几个Win32程序实例进一步深入理解Windows消息4.队列消息和非队列消息5. ...
- Windows消息拦截技术的应用(作者博客里有许多相关文章)
民航合肥空管中心 周毅 一.前 言 众所周知,Windows程式的运行是依靠发生的事件来驱动.换句话说,程式不断等待一个消息的发生,然后对这个消息的类型进行判断,再做适当的处理.处理完此次消息后又回到 ...
- WINDOWS消息和窗口简介
一.WINDOWS的消息和窗口简介:1.什么是windows在这里我就不介绍了,但是作为一个程序员我们要知道WINDOWS最重要的一个也是我们程序员常用的一个东西就是消息.窗口是以消息的形式输入的,窗 ...
- 转:Windows消息机制要点
Windows消息机制要点 1. 窗口过程 每个窗口会有一个称为窗口过程的回调函数(WndProc),它带有四个参数,分别为:窗口句柄(Window Handle),消息ID(Message ...
- Windows消息、绘图与多线程
有一个项目,一旦点下按钮后,用死循环不停的读数据,读出后立刻用可视化的方法显示.如果不采用多线程的方法,程序运行都正确,但无法关闭窗口,不清楚是窗口无法通过关闭按钮来接受Windows消息,还是接受了 ...
- Qt for windows消息循环、libqxt分析和wince快捷键处理
Qt for windows消息循环.libqxt分析和wince快捷键处理 利用Qt做windows图形界面开发和MFC相比,个人感觉还是比较简单好用的:首先利用Designer工具搞个ui文件:然 ...
随机推荐
- Linux C 程序 获取目录信息(16)
4.获取当前目录getcwd 会将当前工作目录绝对路径复制到参数buf所指的内存空间5.设置工作目录chdir6.获取目录信息opendir打开一个目录readdir读取目录中的内容 读取目录项信息 ...
- JAVA对象是如何占用内存的
本文使用的是32位的JVM ,jdk1.6.本文基本是翻译的,加上了一些自己的理解,原文见文章底下链接. 在本文中,我们讨论如何计算或者估计一个JAVA对象占多少内存空间.(注意,使用 C ...
- laravel--模型中各种属性详解
首先以这个模型为例 首先看, 1.$guarded属性,$fillable属性 $guarded属性一般是和$fillable对应的,不是一起存在但是互相使用,他们都是laravel的批量赋值方法cr ...
- 通过telnet命令进行网络邮件发送
1.建立smtp邮箱服务连接 open smtp.sina.com 2.连接上邮箱服务后进行握手操作 helo smtp.sina.com 3.输入帐号密码进行验证::此步后缓冲区会输出一些字符,你只 ...
- DEVICE_ATTR的使用
DEVICE_ATTR的使用 使用DEVICE_ATTR,可以在sys fs中添加“文件”,通过修改该文件内容,可以实现在运行过程中动态控制device的目的. 类似的还有DRIVER_ATTR,BU ...
- iOS 基础 第一天(0804)
OC对象的本质就是一个结构体 为什么说是个结构体? 例如:类里面声明了几个成员变量\实例变量(已添加@plublic),外部对象的指针在访问这个变量的时候是这么写的p->a 0804 注意oc的 ...
- drupal CMS
http://drupalchina.cn/ https://www.drupal.org
- VS2008的默认打开重置为VS2008
- maven 编译部署src/main/java下的资源文件
maven 编译部署src/main/java下的资源文件 maven默认会把src/main/resources下的所有配置文件以及src/main/java下的所有java文件打包或发布到targ ...
- js实现网页图片延时加载的原理和代码 提高网站打开速度
有时我们看到一些大型网站,页面如果有很多图片的时候,当你滚动到相应的行时,当前行的图片才即时加载的,这样子的话页面在打开只加可视区域的图片,而其它隐藏的图片则不加载,一定程序上加快了页面加载的速度,对 ...