Delphi вики
Advertisement
Название 16-й код 10-й код Описание
WM_NULL $0000 0
WM_CREATE $0001 1
WM_DESTROY $0002 2
WM_MOVE $0003 3
WM_SIZE $0005 5
WM_ACTIVATE $0006 6
WM_SETFOCUS $0007 7
WM_KILLFOCUS $0008 8
WM_ENABLE $000A 10
WM_SETREDRAW $000B 11
WM_SETTEXT $000C 12
WM_GETTEXT $000D 13
WM_GETTEXTLENGTH $000E 14
WM_PAINT $000F 15
WM_CLOSE $0010 16
WM_QUERYENDSESSION $0011 17
WM_QUIT $0012 18
WM_QUERYOPEN $0013 19
WM_ERASEBKGND $0014 20
WM_SYSCOLORCHANGE $0015 21
WM_ENDSESSION $0016 22
WM_SYSTEMERROR $0017 23
WM_SHOWWINDOW $0018 24
WM_CTLCOLOR $0019 25
WM_WININICHANGE $001A 26
WM_SETTINGCHANGE = WM_WININICHANGE $001A 26
WM_DEVMODECHANGE $001B 27
WM_ACTIVATEAPP $001C 28
WM_FONTCHANGE $001D 29
WM_TIMECHANGE $001E 30
WM_CANCELMODE $001F 31
WM_SETCURSOR $0020 32
WM_MOUSEACTIVATE $0021 33
WM_CHILDACTIVATE $0022 34
WM_QUEUESYNC $0023 35
WM_GETMINMAXINFO $0024 36
WM_PAINTICON $0026 38
WM_ICONERASEBKGND $0027 39
WM_NEXTDLGCTL $0028 40
WM_SPOOLERSTATUS $002A 42
WM_DRAWITEM $002B 43
WM_MEASUREITEM $002C 44
WM_DELETEITEM $002D 45
WM_VKEYTOITEM $002E 46
WM_CHARTOITEM $002F 47
WM_SETFONT $0030 48
WM_GETFONT $0031 49
WM_SETHOTKEY $0032 50
WM_GETHOTKEY $0033 51
WM_QUERYDRAGICON $0037 55
WM_COMPAREITEM $0039 57
WM_GETOBJECT $003D 61
WM_COMPACTING $0041 65
WM_COMMNOTIFY $0044 68
WM_WINDOWPOSCHANGING $0046 70
WM_WINDOWPOSCHANGED $0047 71
WM_POWER $0048 72
WM_COPYDATA $004A 74
WM_CANCELJOURNAL $004B 75
WM_NOTIFY $004E 78
WM_INPUTLANGCHANGEREQUEST $0050 80
WM_INPUTLANGCHANGE $0051 81
WM_TCARD $0052 82
WM_HELP $0053 83
WM_USERCHANGED $0054 84
WM_NOTIFYFORMAT $0055 85
WM_CONTEXTMENU $007B 123
WM_STYLECHANGING $007C 124
WM_STYLECHANGED $007D 125
WM_DISPLAYCHANGE $007E 126
WM_GETICON $007F 127
WM_SETICON $0080 128
WM_NCCREATE $0081 129
WM_NCDESTROY $0082 130
WM_NCCALCSIZE $0083 131
WM_NCHITTEST $0084 132
WM_NCPAINT $0085 133
WM_NCACTIVATE $0086 134
WM_GETDLGCODE $0087 135
WM_NCMOUSEMOVE $00A0 160
WM_NCLBUTTONDOWN $00A1 161
WM_NCLBUTTONUP $00A2 162
WM_NCLBUTTONDBLCLK $00A3 163
WM_NCRBUTTONDOWN $00A4 164
WM_NCRBUTTONUP $00A5 165
WM_NCRBUTTONDBLCLK $00A6 166
WM_NCMBUTTONDOWN $00A7 167
WM_NCMBUTTONUP $00A8 168
WM_NCMBUTTONDBLCLK $00A9 169
WM_NCXBUTTONDOWN $00AB 171
WM_NCXBUTTONUP $00AC 172
WM_NCXBUTTONDBLCLK $00AD 173
WM_INPUT $00FF 255
WM_KEYFIRST $0100 256
WM_KEYDOWN $0100 256
WM_KEYUP $0101 257
WM_CHAR $0102 258
WM_DEADCHAR $0103 259
WM_SYSKEYDOWN $0104 260
WM_SYSKEYUP $0105 261
WM_SYSCHAR $0106 262
WM_SYSDEADCHAR $0107 263
WM_KEYLAST $0108 264
WM_IME_STARTCOMPOSITION $010D 269
WM_IME_ENDCOMPOSITION $010E 270
WM_IME_COMPOSITION $010F 271
WM_IME_KEYLAST $010F 271
WM_INITDIALOG $0110 272
WM_COMMAND $0111 273
WM_SYSCOMMAND $0112 274
WM_TIMER $0113 275
WM_HSCROLL $0114 276
WM_VSCROLL $0115 277
WM_INITMENU $0116 278
WM_INITMENUPOPUP $0117 279
WM_MENUSELECT $011F 287
WM_MENUCHAR $0120 288
WM_ENTERIDLE $0121 289
WM_MENURBUTTONUP $0122 290
WM_MENUDRAG $0123 291
WM_MENUGETOBJECT $0124 292
WM_UNINITMENUPOPUP $0125 293
WM_MENUCOMMAND $0126 294
WM_CHANGEUISTATE $0127 295
WM_UPDATEUISTATE $0128 296
WM_QUERYUISTATE $0129 297
WM_CTLCOLORMSGBOX $0132 306
WM_CTLCOLOREDIT $0133 307
WM_CTLCOLORLISTBOX $0134 308
WM_CTLCOLORBTN $0135 309
WM_CTLCOLORDLG $0136 310
WM_CTLCOLORSCROLLBAR $0137 311
WM_CTLCOLORSTATIC $0138 312
WM_MOUSEFIRST $0200 512
WM_MOUSEMOVE $0200 512
WM_LBUTTONDOWN $0201 513
WM_LBUTTONUP $0202 514
WM_LBUTTONDBLCLK $0203 515
WM_RBUTTONDOWN $0204 516
WM_RBUTTONUP $0205 517
WM_RBUTTONDBLCLK $0206 518
WM_MBUTTONDOWN $0207 519
WM_MBUTTONUP $0208 520
WM_MBUTTONDBLCLK $0209 521
WM_MOUSEWHEEL $020A 522
WM_MOUSELAST $020A 522
WM_PARENTNOTIFY $0210 528
WM_ENTERMENULOOP $0211 529
WM_EXITMENULOOP $0212 530
WM_NEXTMENU $0213 531
WM_SIZING $0214 532
WM_CAPTURECHANGED $0215 533
WM_MOVING $0216 534
WM_POWERBROADCAST $0218 536
WM_DEVICECHANGE $0219 537
WM_MDICREATE $0220 544
WM_MDIDESTROY $0221 545
WM_MDIACTIVATE $0222 546
WM_MDIRESTORE $0223 547
WM_MDINEXT $0224 548
WM_MDIMAXIMIZE $0225 549
WM_MDITILE $0226 550
WM_MDICASCADE $0227 551
WM_MDIICONARRANGE $0228 552
WM_MDIGETACTIVE $0229 553
WM_MDISETMENU $0230 560
WM_ENTERSIZEMOVE $0231 561
WM_EXITSIZEMOVE $0232 562
WM_DROPFILES $0233 563
WM_MDIREFRESHMENU $0234 564
WM_IME_SETCONTEXT $0281 641
WM_IME_NOTIFY $0282 642
WM_IME_CONTROL $0283 643
WM_IME_COMPOSITIONFULL $0284 644
WM_IME_SELECT $0285 645
WM_IME_CHAR $0286 646
WM_IME_REQUEST $0288 648
WM_IME_KEYDOWN $0290 656
WM_IME_KEYUP $0291 657
WM_NCMOUSEHOVER $02A0 672
WM_MOUSEHOVER $02A1 673
WM_NCMOUSELEAVE $02A2 674
WM_MOUSELEAVE $02A3 675
WM_WTSSESSION_CHANGE $02B1 689
WM_TABLET_FIRST $02C0 704
WM_TABLET_LAST $02DF 735
WM_CUT $0300 768
WM_COPY $0301 769
WM_PASTE $0302 770
WM_CLEAR $0303 771
WM_UNDO $0304 772
WM_RENDERFORMAT $0305 773
WM_RENDERALLFORMATS $0306 774
WM_DESTROYCLIPBOARD $0307 775
WM_DRAWCLIPBOARD $0308 776
WM_PAINTCLIPBOARD $0309 777
WM_VSCROLLCLIPBOARD $030A 778
WM_SIZECLIPBOARD $030B 779
WM_ASKCBFORMATNAME $030C 780
WM_CHANGECBCHAIN $030D 781
WM_HSCROLLCLIPBOARD $030E 782
WM_QUERYNEWPALETTE $030F 783
WM_PALETTEISCHANGING $0310 784
WM_PALETTECHANGED $0311 785
WM_HOTKEY $0312 786
WM_PRINT $0317 791
WM_PRINTCLIENT $0318 792
WM_APPCOMMAND $0319 793
WM_THEMECHANGED $031A 794
WM_HANDHELDFIRST $0358 856
WM_HANDHELDLAST $035F 863
WM_PENWINFIRST $0380 896
WM_PENWINLAST $038F 911
WM_COALESCE_FIRST $0390 912
WM_COALESCE_LAST $039F 927
WM_DDE_FIRST $03E0 992
WM_DDE_INITIATE = WM_DDE_FIRST + 0 $03E0 992
WM_DDE_TERMINATE = WM_DDE_FIRST + 1 $03E1 993
WM_DDE_ADVISE = WM_DDE_FIRST + 2 $03E2 994
WM_DDE_UNADVISE = WM_DDE_FIRST + 3 $03E3 995
WM_DDE_ACK = WM_DDE_FIRST + 4 $03E4 996
WM_DDE_DATA = WM_DDE_FIRST + 5 $03E5 997
WM_DDE_REQUEST = WM_DDE_FIRST + 6 $03E6 998
WM_DDE_POKE = WM_DDE_FIRST + 7 $03E7 999
WM_DDE_EXECUTE = WM_DDE_FIRST + 8 $03E8 1000
WM_DDE_LAST = WM_DDE_FIRST + 8 $03E8 1000
WM_USER $0400 - $7FFF 1024 - 32767 Зарезервировано под пользовательские сообщения
DM_GETDEFID = (WM_USER+0) $0400 1024
DM_SETDEFID = (WM_USER+1) $0401 1025
DM_REPOSITION = (WM_USER+2) $0402 1026
PSM_PAGEINFO = (WM_USER+100) $0464 1124
PSM_SHEETINFO = (WM_USER+101) $0465 1125
WM_APP $8000 32768
Advertisement