Get Windows message name (including VCL message)-1

Source: Internet
Author: User

Messagetypenames is partially defined based on winuser. h and collected online.

 

Static const char * const messagetypenames [wm_user + 1] =
{
"Wm_null", // 0x0000
"Wm_create", // 0x0001
"Wm_destroy", // 0x0002
"Wm_move", // 0x0003
"Wm_sizewait", // 0x0004
"Wm_size", // 0x0005
"Wm_activate", // 0x0006
"Wm_setfocus", // 0x0007
"Wm_killfocus", // 0x0008
"Wm_setvisible", // 0x0009
"Wm_enable", // 0x000a
"Wm_setredraw", // 0x000b
"Wm_settext", // 0x000c
"Wm_gettext", // 0x000d
"Wm_gettextlength", // 0x000e
"Wm_paint", // 0x000f
"Wm_close",/* 0x10 */
"Wm_queryendsession", // 0x0011
"Wm_quit", // 0x0012
"Wm_queryopen", // 0x0013
"Wm_erasebkgnd", // 0x0014
"Wm_syscolorchange", // 0x0015
"Wm_endsession", // 0x0016
"Wm_systemerror", // 0x0017
"Wm_showwindow", // 0x0018
"Wm_ctlcolor", // 0x0019
"Wm_wininichange", // 0x001a
"Wm_devmodechange", // 0x001b
"Wm_activateapp", // 0x001c
"Wm_fontchange", // 0x001d
"Wm_timechange", // 0x001e
"Wm_cancelmode", // 0x001f
"Wm_setcursor",/* 0x20 */
"Wm_mouseactivate", // 0x0021
"Wm_childactivate", // 0x0022
"Wm_queuesync", // 0x0023
"Wm_getminmaxinfo", // 0x0024
"Wm_logoff", // 0x0025
"Wm_painticon", // 0x0026
"Wm_iconerasebkgnd", // 0x0027
"Wm_nextdlgctl", // 0x0028
"Wm_alttabactive", // 0x0029
"Wm_spoolerstatus", // 0x002a
"Wm_drawitem", // 0x002b
"Wm_measureitem", // 0x002c
"Wm_deleteitem", // 0x002d
"Wm_vkeytoitem", // 0x002e
"Wm_chartoitem", // 0x002f
"Wm_setfont",/* 0x30 */
"Wm_getfont", // 0x0031
"Wm_sethotkey", // 0x0032
"Wm_gethotkey", // 0x0033
"Wm_filesyschange", // 0x0034
"Wm_isactiveicon", // 0x0035
"Wm_queryparkicon", // 0x0036
"Wm_querydragicon", // 0x0037
"Wm_winhelp", // 0x0038
"Wm_compareitem", // 0x0039
"Wm_fullscreen", // 0x003a
"Wm_clientshutdown", // 0x003b
"Wm_ddemlevent", // 0x003c
"Wm_getobject", // 0x003d
Null, // 0x003e
"Wm_calcscroll", // 0x003f
"Wm_testing",/* 0x40 */
"Wm_compacting", // 0x0041
"Wm_otherwindowcreated", // 0x0042
"Wm_otherwindowdestroyed", // 0x0043
"Wm_commnotify", // 0x0044
"Wm_mediastatuschange", // 0x0045
"Wm_windowposchanging",/* 0x0046 */
"Wm_windowposchanged",/* 0x0047 */
"Wm_power", // 0x0048
"Wm_copyglobaldata", // 0x0049
"Wm_copydata", // 0x004a
"Wm_canceljournal", // 0x004b
"Wm_logonnotify", // 0x004c
"Wm_keyf1", // 0x004d
"Wm_notify", // 0x004e
"Wm_access_window", // 0x004f
"Wm_inputlangchangerequest",/* 0x0050 */
"Wm_inputlangchange", // 0x0051
"Wm_tcard", // 0x0052
"Wm_help", // 0x0053
"Wm_userchanged", // 0x0054
"Wm_policyformat", // 0x0055
Null, // 0x0056
Null, // 0x0057
Null, // 0x0058
Null, // 0x0059
Null, // 0x005a
Null, // 0x005b
Null, // 0x005c
Null, // 0x005d
Null, // 0x005e
Null, // 0x005f
Null,/* 0x0060 */
Null, // 0x0061
Null, // 0x0062
Null, // 0x0063
Null, // 0x0064
Null, // 0x0065
Null, // 0x0066
Null, // 0x0067
Null, // 0x0068
Null, // 0x0069
Null, // 0x006a
Null, // 0x006b
Null, // 0x006c
Null, // 0x006d
Null, // 0x006e
Null, // 0x006f
"Wm_finaldestroy",/* 0x0070 */
"Wm_measureitem_clientdata", // 0x0071
"Wm_taskactivated", // 0x0072
"Wm_taskdeactivated", // 0x0073
"Wm_taskcreated", // 0x0074
"Wm_taskdestroyed", // 0x0075
"Wm_taskuichanged", // 0x0076
"Wm_taskvisible", // 0x0077
"Wm_tasknotvisible", // 0x0078
"Wm_setcursorinfo", // 0x0079
Null, // 0x007a
"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_synctask", // 0x0089
Null, // 0x008a
"Wm_kludgeminrect", // 0x008b
"Wm_lpkdrawswitchwnd", // 0x008c
Null, // 0x008d
Null, // 0x008e
Null, // 0x008f
Null,/* 0x0090 */
Null, // 0x0091
Null, // 0x0092
Null, // 0x0093
Null, // 0x0094
Null, // 0x0095
Null, // 0x0096
Null, // 0x0097
Null, // 0x0098
Null, // 0x0099
Null, // 0x009a
Null, // 0x009b
Null, // 0x009c
Null, // 0x009d
Null, // 0x009e
Null, // 0x009f
"Wm_ncmousemove",/* 0x00a0 * // * 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 */
Null, // 0x00aa
"Wm_ncxbuttondown", // 0x00ab
"Wm_ncxbuttonup", // 0x00ac
"Wm_ncxbuttondblclk", // 0x00ad
"Wm_ncuahdrawcaption",/* 0x00ae */
"Wm_ncuahdrawframe",/* 0x00af */
"Em_getsel32",/* 0x00b0 * // * 0x00b0-Win32

Edit controls */
"Em_setsel32",/* 0x00b1 */
"Em_getrect32",/* 0x00b2 */
"Em_setrect32",/* 0x00b3 */
"Em_setrectnp32",/* 0x00b4 */
"Em_scroll32",/* 0x00b5 */
"Em_linescroll32",/* 0x00b6 */
"Em_scrollcaret32",/* 0x00b7 */
"Em_getmodify32",/* 0x00b8 */
"Em_setmodify32",/* 0x00b9 */
"Em_getlinecount32",/* 0x00ba */
"Em_lineindex32",/* 0x00bb */
"Em_sethandle32",/* 0x00bc */
"Em_gethandle32",/* 0x00bd */
"Em_getthumb32",/* 0x00be */
Null,/* 0x00bf */
Null,/* 0x00c0 */
"Em_linelength32",/* 0x00c1 */
"Em_replacesel32",/* 0x00c2 */
"Em_setfont",/* 0x00c3 */
"Em_getline32",/* 0x00c4 */
"Em_limittext32",/* 0x00c5 */
"Em_canundo32",/* 0x00c6 */
"Em_undo32",/* 0x00c7 */
"Em_fmtlines32",/* 0x00c8 */
"Em_linefromchar32",/* 0x00c9 */
"Em_setwordbreak",/* 0x00ca */
"Em_settabstops32",/* 0x00cb */
"Em_setpasswordchar32",/* 0x00cc */
"Em_emptyundobuffer32",/* 0x00cd */
"Em_getfirstvisibleline32",/* 0x00ce */
"Em_setreadonly32",/* 0x00cf */
"Em_setwordbreakproc32",/* 0x00d0 */
"Em_getwordbreakproc32",/* 0x00d1 */
"Em_getpasswordchar32",/* 0x00d2 */
"Em_setmargins32",/* 0x00d3 */
"Em_getmargins32",/* 0x00d4 */
"Em_getlimittext32",/* 0x00d5 */
"Em_posfromchar32",/* 0x00d6 */
"Em_charfrompos32",/* 0x00d7 */
"Em_setimestatus", // 0x00d8
"Em_getimestatus", // 0x00d9
"Em_msgmax", // 0x00da
Null, // 0x00db
Null, // 0x00dc
Null, // 0x00dd
Null, // 0x00de
Null, // 0x00df
"Sbm_setpos32",/* 0x00e0 * // * 0x00e0-Win32

Scrollbars */
"Sbm_getpos32",/* 0x00e1 */
"Sbm_setrange32",/* 0x00e2 */
"Sbm_getrange32",/* 0x00e3 */
"Sbm_enable_arrows32",/* 0x00e4 */
Null, // 0x00e5
"Sbm_setrangeredraw32",/* 0x00e6 */
Null, // 0x00e7
Null, // 0x00e8
"Sbm_setscrollinfo32",/* 0x00e9 */
"Sbm_getscrollinfo32",/* 0x00ea */
Null, // 0x00eb
Null, // 0x00ec
Null, // 0x00ed
Null, // 0x00ee
Null, // 0x00ef
"Bm_getcheck32",/* 0x00f0 * // * 0x00f0-Win32

Buttons */
"Bm_setcheck32",/* 0x00f1 */
"Bm_getstate32",/* 0x00f2 */
"Bm_setstate32",/* 0x00f3 */
"Bm_setstyle32",/* 0x00f4 */
"Bm_click32",/* 0x00f5 */
"Bm_getimage32",/* 0x00f6 */
"Bm_setimage32",/* 0x00f7 */
Null, // 0x00f8
Null, // 0x00f9
Null, // 0x00fa
Null, // 0x00fb
Null, // 0x00fc
Null, // 0x00fd
Null, // 0x00fe
"Wm_input", // 0x00ff
"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_yomichar",/* 0x0108 */
"Wm_unichar", // 0x0109
"Wm_convertrequest", // 0x010a
"Wm_convertresult", // 0x010b
"Wm_interim", // 0x010c
"Wm_ime_startcomposition", // 0x010d
"Wm_ime_endcomposition", // 0x010e
"Wm_ime_composition", // 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_00000000",/* 0x0118 */
Null, // 0x0119
Null, // 0x011a
Null, // 0x011b
Null, // 0x011c
Null, // 0x011d
Null, // 0x011e
"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
Null, // 0x012a
Null, // 0x012b
Null, // 0x012c
Null, // 0x012d
Null, // 0x012e
Null, // 0x012f
Null,/* 0x0130 */
"Wm_lbtrackpoint",/* 0x0131 */
"Wm_ctlcolormsgbox",/* 0x0132 */
"Wm_ctlcoloredit",/* 0x0133 */
"Wm_ctlcolorlistbox",/* 0x0134 */
"Wm_ctlcolorbtn",/* 0x0135 */
"Wm_ctlcolordlg",/* 0x0136 */
"Wm_ctlcolorscrollbar",/* 0x0137 */
"Wm_ctlcolorstatic",/* 0x0138 */
Null, // 0x0139
Null, // 0x013a
Null, // 0x013b
Null, // 0x013c
Null, // 0x013d
Null, // 0x013e
Null, // 0x013f
"Cb_geteditsel32",/* 0x0140 * // * 0x0140-Win32

Comboboxes */
"Cb_limittext32",/* 0x0141 */
"Cb_seteditsel32",/* 0x0142 */
"Cb_addstring32",/* 0x0143 */
"Cb_deletestring32",/* 0x0144 */
"Cb_dir32",/* 0x0145 */
"Cb_getcount32",/* 0x0146 */
"Cb_getcursel32",/* 0x0147 */
"Cb_getlbtext32",/* 0x0148 */
"Cb_getlbtextlen32",/* 0x0149 */
"Cb_insertstring32",/* 0x014a */
"Cb_resetcontent32",/* 0x014b */
"Cb_findstring32",/* 0x014c */
"Cb_selectstring32",/* 0x014d */
"Cb_setcursel32",/* 0x014e */
"Cb_showdropdown32",/* 0x014f */
"Cb_getitemdata32",/* 0x0150 */
"Cb_setitemdata32",/* 0x0151 */
"Cb_getdroppedcontrolrect32",/* 0x0152 */
"Cb_setitemheight32",/* 0x0153 */
"Cb_getitemheight32",/* 0x0154 */
"Cb_setextendedui32",/* 0x0155 */
"Cb_getextendedui32",/* 0x0156 */
"Cb_getdroppedstate32",/* 0x0157 */
"Cb_findstringexact32",/* 0x0158 */
"Cb_setlocale32",/* 0x0159 */
"Cb_getlocale32",/* 0x015a */
"Cb_gettopindex32",/* 0x015b */
"Cb_settopindex32",/* 0x015c */
"Cb_gethorizontalextent32",/* 0x015d */
"Cb_sethorizontalextent32",/* 0x015e */
"Cb_getdroppedwidth32",/* 0x015f */
"Cb_setdroppedwidth32",/* 0x0160 */
"Cb_initstorage32",/* 0x0161 */
Null, // 0x0162
"Cb_multipleaddstring", // 0x0163
"Cb_getcomboboxinfo", // 0x0164
Null, // 0x0165
Null, // 0x0166
Null, // 0x0167
Null, // 0x0168
Null, // 0x0169
Null, // 0x016a
Null, // 0x016b
Null, // 0x016c
Null, // 0x016d
Null, // 0x016e
Null, // 0x016f
"Pai_seticon32",/* 0x0170 * // * 0x0170-Win32 static

Controls */
"Pai_geticon32",/* 0x0171 */
"Pai_setimage32",/* 0x0172 */
"Pai_getimage32",/* 0x0173 */
"Maid", // 0x0174
Null, // 0x0175
Null, // 0x0176
Null, // 0x0177
Null, // 0x0178
Null, // 0x0179
Null, // 0x017a
Null, // 0x017b
Null, // 0x017c
Null, // 0x017d
Null, // 0x017e
Null, // 0x017f
"Lb_addstring32",/* 0x0180 * // * 0x0180-Win32

Listboxes */
"Lb_insertstring32",/* 0x0181 */
"Lb_deletestring32",/* 0x0182 */
"Lb_selitemrangeex32",/* 0x0183 */
"Lb_resetcontent32",/* 0x0184 */
"Lb_setsel32",/* 0x0185 */
"Lb_setcursel32",/* 0x0186 */
"Lb_getsel32",/* 0x0187 */
"Lb_getcursel32",/* 0x0188 */
"Lb_gettext32",/* 0x0189 */
"Lb_gettextlen32",/* 0x018a */
"Lb_getcount32",/* 0x018b */
"Lb_selectstring32",/* 0x018c */
"Lb_dir32",/* 0x018d */
"Lb_gettopindex32",/* 0x018e */
"Lb_findstring32",/* 0x018f */
"Lb_getselcount32",/* 0x0190 */
"Lb_getselitems32",/* 0x0191 */
"Lb_settabstops32",/* 0x0192 */
"Lb_gethorizontalextent32",/* 0x0193 */
"Lb_sethorizontalextent32",/* 0x0194 */
"Lb_setcolumnwidth32",/* 0x0195 */
"Lb_addfile32",/* 0x0196 */
"Lb_settopindex32",/* 0x0197 */
"Lb_getitemrect32",/* 0x0198 */
"Lb_getitemdata32",/* 0x0199 */
"Lb_setitemdata32",/* 0x019a */
"Lb_selitemrange32",/* 0x019b */
"Lb_setanchorindex32",/* 0x019c */
"Lb_getanchorindex32",/* 0x019d */
"Lb_setcaretindex32",/* 0x019e */
"Lb_getcaretindex32",/* 0x019f */
"Lb_setitemheight32",/* 0x01a0 */
"Lb_getitemheight32",/* 0x01a1 */
"Lb_findstringexact32",/* 0x01a2 */
"Lb_careton32",/* 0x01a3 */
"Lb_caretoff32",/* 0x01a4 */
"Lb_setlocale32",/* 0x01a5 */
"Lb_getlocale32",/* 0x01a6 */
"Lb_setcount32",/* 0x01a7 */
"Lb_initstorage32",/* 0x01a8 */
"Lb_itemfrompoint32",/* 0x01a9 */
"Lb_insertstringupper", // 0x01aa
"Lb_insertstringlower", // 0x01ab
"Lb_addstringupper", // 0x01ac
"Lb_addstringlower", // 0x01ad
"Lbcb_starttrack", // 0x01ae
"Lbcb_endtrack", // 0x01af
Null,/* 0x01b0 */
"Lb_multipleaddstring", // 0x01b1
"Lb_getlistboxinfo", // 0x01b2
Null, // 0x01b3
Null, // 0x01b4
Null, // 0x01b5
Null, // 0x01b6
Null, // 0x01b7
Null, // 0x01b8
Null, // 0x01b9
Null, // 0x01ba
Null, // 0x01bb
Null, // 0x01bc
Null, // 0x01bd
Null, // 0x01be
Null, // 0x01bf
Null,/* 0x01c0 */
Null, // 0x01c1
Null, // 0x01c2
Null, // 0x01c3
Null, // 0x01c4
Null, // 0x01c5
Null, // 0x01c6
Null, // 0x01c7
Null, // 0x01C8
Null, // 0x01c9
Null, // 0x01ca
Null, // 0x01cb
Null, // 0x01cc
Null, // 0x01cd
Null, // 0x01ce
Null, // 0x01cf
Null,/* 0x01d0 */
Null, // 0x01d1
Null, // 0x01d2
Null, // 0x01d3
Null, // 0x01d4
Null, // 0x01d5
Null, // 0x01d6
Null, // 0x01d7
Null, // 0x01d8
Null, // 0x01d9
Null, // 0x01da
Null, // 0x01db
Null, // 0x01dc
Null, // 0x01dd
Null, // 0x01de
Null, // 0x01df
Null,/* 0x01e0 */
Null, // 0x01e1
Null, // 0x01e2
"Mn_sethmenu", // 0x01e3
"Mn_gethmenu", // 0x01e4
"Mn_sizewindow", // 0x01e5
"Mn_openhierarchy", // 0x01e6
"Mn_closehierarchy", // 0x01e7
"Mn_selectitem", // 0x01e8
"Mn_cancelmenus", // 0x01e9
"Mn_selectfirstvaliditem", // 0x01ea
Null, // 0x01eb
Null, // 0x01ec
Null, // 0x01ed
"Mn_findmenuwindowfrompoint", // 0x01ee
"Mn_showpopupwindow", // 0x01ef
"Mn_buttonup", // 0x01f0
"Mn_settimertoopenhierarchy", // 0x01f1
"Mn_dblclk", // 0x01f2
"Mn_activepopup", // 0x01f3
"Mn_endmenu", // 0x01f4
"Mn_dodragdrop", // 0x01f5
Null, // 0x01f6
Null, // 0x01f7
Null, // 0x01f8
Null, // 0x01f9
Null, // 0x01fa
Null, // 0x01fb
Null, // 0x01fc
Null, // 0x01fd
Null, // 0x01fe
Null, // 0x01ff

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.