Created
January 27, 2021 03:52
-
-
Save adventurist/8b8e6a85cf9a49296709c9994001ab32 to your computer and use it in GitHub Desktop.
print window messages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <string> | |
inline std::string get_window_message(uint32_t code) | |
{ | |
switch (code) | |
{ | |
case(0 ): return "WM_NULL\n"; | |
case(1 ): return "WM_CREATE\n"; | |
case(2 ): return "WM_DESTROY\n"; | |
case(3 ): return "WM_MOVE\n"; | |
case(5 ): return "WM_SIZE\n"; | |
case(6 ): return "WM_ACTIVATE\n"; | |
case(7 ): return "WM_SETFOCUS\n"; | |
case(8 ): return "WM_KILLFOCUS\n"; | |
case(10 ): return "WM_ENABLE\n"; | |
case(11 ): return "WM_SETREDRAW\n"; | |
case(12 ): return "WM_SETTEXT\n"; | |
case(13 ): return "WM_GETTEXT\n"; | |
case(14 ): return "WM_GETTEXTLENGTH\n"; | |
case(15 ): return "WM_PAINT\n"; | |
case(16 ): return "WM_CLOSE\n"; | |
case(17 ): return "WM_QUERYENDSESSION\n"; | |
case(18 ): return "WM_QUIT\n"; | |
case(19 ): return "WM_QUERYOPEN\n"; | |
case(20 ): return "WM_ERASEBKGND\n"; | |
case(21 ): return "WM_SYSCOLORCHANGE\n"; | |
case(22 ): return "WM_ENDSESSION\n"; | |
case(24 ): return "WM_SHOWWINDOW\n"; | |
case(25 ): return "WM_CTLCOLOR\n"; | |
case(26 ): return "WM_WININICHANGE\n"; | |
case(27 ): return "WM_DEVMODECHANGE\n"; | |
case(28 ): return "WM_ACTIVATEAPP\n"; | |
case(29 ): return "WM_FONTCHANGE\n"; | |
case(30 ): return "WM_TIMECHANGE\n"; | |
case(31 ): return "WM_CANCELMODE\n"; | |
case(32 ): return "WM_SETCURSOR\n"; | |
case(33 ): return "WM_MOUSEACTIVATE\n"; | |
case(34 ): return "WM_CHILDACTIVATE\n"; | |
case(35 ): return "WM_QUEUESYNC\n"; | |
case(36 ): return "WM_GETMINMAXINFO\n"; | |
case(38 ): return "WM_PAINTICON\n"; | |
case(39 ): return "WM_ICONERASEBKGND\n"; | |
case(40 ): return "WM_NEXTDLGCTL\n"; | |
case(42 ): return "WM_SPOOLERSTATUS\n"; | |
case(43 ): return "WM_DRAWITEM\n"; | |
case(44 ): return "WM_MEASUREITEM\n"; | |
case(45 ): return "WM_DELETEITEM\n"; | |
case(46 ): return "WM_VKEYTOITEM\n"; | |
case(47 ): return "WM_CHARTOITEM\n"; | |
case(48 ): return "WM_SETFONT\n"; | |
case(49 ): return "WM_GETFONT\n"; | |
case(50 ): return "WM_SETHOTKEY\n"; | |
case(51 ): return "WM_GETHOTKEY\n"; | |
case(55 ): return "WM_QUERYDRAGICON\n"; | |
case(57 ): return "WM_COMPAREITEM\n"; | |
case(61 ): return "WM_GETOBJECT\n"; | |
case(65 ): return "WM_COMPACTING\n"; | |
case(68 ): return "WM_COMMNOTIFY\n"; | |
case(70 ): return "WM_WINDOWPOSCHANGING\n"; | |
case(71 ): return "WM_WINDOWPOSCHANGED\n"; | |
case(72 ): return "WM_POWER\n"; | |
case(73 ): return "WM_COPYGLOBALDATA\n"; | |
case(74 ): return "WM_COPYDATA\n"; | |
case(75 ): return "WM_CANCELJOURNAL\n"; | |
case(78 ): return "WM_NOTIFY\n"; | |
case(80 ): return "WM_INPUTLANGCHANGEREQUEST\n"; | |
case(81 ): return "WM_INPUTLANGCHANGE\n"; | |
case(82 ): return "WM_TCARD\n"; | |
case(83 ): return "WM_HELP\n"; | |
case(84 ): return "WM_USERCHANGED\n"; | |
case(85 ): return "WM_NOTIFYFORMAT\n"; | |
case(123 ) : return "WM_CONTEXTMENU\n"; | |
case(124 ) : return "WM_STYLECHANGING\n"; | |
case(125 ) : return "WM_STYLECHANGED\n"; | |
case(126 ) : return "WM_DISPLAYCHANGE\n"; | |
case(127 ) : return "WM_GETICON\n"; | |
case(128 ) : return "WM_SETICON\n"; | |
case(129 ) : return "WM_NCCREATE\n"; | |
case(130 ) : return "WM_NCDESTROY\n"; | |
case(131 ) : return "WM_NCCALCSIZE\n"; | |
case(132 ) : return "WM_NCHITTEST\n"; | |
case(133 ) : return "WM_NCPAINT\n"; | |
case(134 ) : return "WM_NCACTIVATE\n"; | |
case(135 ) : return "WM_GETDLGCODE\n"; | |
case(136 ) : return "WM_SYNCPAINT\n"; | |
case(160 ) : return "WM_NCMOUSEMOVE\n"; | |
case(161 ) : return "WM_NCLBUTTONDOWN\n"; | |
case(162 ) : return "WM_NCLBUTTONUP\n"; | |
case(163 ) : return "WM_NCLBUTTONDBLCLK\n"; | |
case(164 ) : return "WM_NCRBUTTONDOWN\n"; | |
case(165 ) : return "WM_NCRBUTTONUP\n"; | |
case(166 ) : return "WM_NCRBUTTONDBLCLK\n"; | |
case(167 ) : return "WM_NCMBUTTONDOWN\n"; | |
case(168 ) : return "WM_NCMBUTTONUP\n"; | |
case(169 ) : return "WM_NCMBUTTONDBLCLK\n"; | |
case(171 ) : return "WM_NCXBUTTONDOWN\n"; | |
case(172 ) : return "WM_NCXBUTTONUP\n"; | |
case(173 ) : return "WM_NCXBUTTONDBLCLK\n"; | |
case(176 ) : return "EM_GETSEL\n"; | |
case(177 ) : return "EM_SETSEL\n"; | |
case(178 ) : return "EM_GETRECT\n"; | |
case(179 ) : return "EM_SETRECT\n"; | |
case(180 ) : return "EM_SETRECTNP\n"; | |
case(181 ) : return "EM_SCROLL\n"; | |
case(182 ) : return "EM_LINESCROLL\n"; | |
case(183 ) : return "EM_SCROLLCARET\n"; | |
case(185 ) : return "EM_GETMODIFY\n"; | |
case(187 ) : return "EM_SETMODIFY\n"; | |
case(188 ) : return "EM_GETLINECOUNT\n"; | |
case(189 ) : return "EM_LINEINDEX\n"; | |
case(190 ) : return "EM_SETHANDLE\n"; | |
case(191 ) : return "EM_GETHANDLE\n"; | |
case(192 ) : return "EM_GETTHUMB\n"; | |
case(193 ) : return "EM_LINELENGTH\n"; | |
case(194 ) : return "EM_REPLACESEL\n"; | |
case(195 ) : return "EM_SETFONT\n"; | |
case(196 ) : return "EM_GETLINE\n"; | |
case(197 ) : return "EM_LIMITTEXT\n"; | |
case(198 ) : return "EM_CANUNDO\n"; | |
case(199 ) : return "EM_UNDO\n"; | |
case(200 ) : return "EM_FMTLINES\n"; | |
case(201 ) : return "EM_LINEFROMCHAR\n"; | |
case(202 ) : return "EM_SETWORDBREAK\n"; | |
case(203 ) : return "EM_SETTABSTOPS\n"; | |
case(204 ) : return "EM_SETPASSWORDCHAR\n"; | |
case(205 ) : return "EM_EMPTYUNDOBUFFER\n"; | |
case(206 ) : return "EM_GETFIRSTVISIBLELINE\n"; | |
case(207 ) : return "EM_SETREADONLY\n"; | |
case(209 ) : return "EM_SETWORDBREAKPROC\n"; | |
case(210 ) : return "EM_GETPASSWORDCHAR\n"; | |
case(211 ) : return "EM_SETMARGINS\n"; | |
case(212 ) : return "EM_GETMARGINS\n"; | |
case(213 ) : return "EM_GETLIMITTEXT\n"; | |
case(214 ) : return "EM_POSFROMCHAR\n"; | |
case(215 ) : return "EM_CHARFROMPOS\n"; | |
case(216 ) : return "EM_SETIMESTATUS\n"; | |
case(217 ) : return "EM_GETIMESTATUS\n"; | |
case(224 ) : return "SBM_SETPOS\n"; | |
case(225 ) : return "SBM_GETPOS\n"; | |
case(226 ) : return "SBM_SETRANGE\n"; | |
case(227 ) : return "SBM_GETRANGE\n"; | |
case(228 ) : return "SBM_ENABLE_ARROWS\n"; | |
case(230 ) : return "SBM_SETRANGEREDRAW\n"; | |
case(233 ) : return "SBM_SETSCROLLINFO\n"; | |
case(234 ) : return "SBM_GETSCROLLINFO\n"; | |
case(235 ) : return "SBM_GETSCROLLBARINFO\n"; | |
case(240 ) : return "BM_GETCHECK\n"; | |
case(241 ) : return "BM_SETCHECK\n"; | |
case(242 ) : return "BM_GETSTATE\n"; | |
case(243 ) : return "BM_SETSTATE\n"; | |
case(244 ) : return "BM_SETSTYLE\n"; | |
case(245 ) : return "BM_CLICK\n"; | |
case(246 ) : return "BM_GETIMAGE\n"; | |
case(247 ) : return "BM_SETIMAGE\n"; | |
case(248 ) : return "BM_SETDONTCLICK\n"; | |
case(255 ) : return "WM_INPUT\n"; | |
case(256 ) : return "WM_KEYDOWN\n"; | |
case(257 ) : return "WM_KEYUP\n"; | |
case(258 ) : return "WM_CHAR\n"; | |
case(259 ) : return "WM_DEADCHAR\n"; | |
case(260 ) : return "WM_SYSKEYDOWN\n"; | |
case(261 ) : return "WM_SYSKEYUP\n"; | |
case(262 ) : return "WM_SYSCHAR\n"; | |
case(263 ) : return "WM_SYSDEADCHAR\n"; | |
case(265 ) : return "WM_UNICHAR / WM_KEYLAST"; | |
case(266 ) : return "WM_CONVERTREQUEST\n"; | |
case(267 ) : return "WM_CONVERTRESULT\n"; | |
case(268 ) : return "WM_INTERIM\n"; | |
case(269 ) : return "WM_IME_STARTCOMPOSITION\n"; | |
case(270 ) : return "WM_IME_ENDCOMPOSITION\n"; | |
case(271 ) : return "WM_IME_COMPOSITION\n"; | |
case(272 ) : return "WM_INITDIALOG\n"; | |
case(273 ) : return "WM_COMMAND\n"; | |
case(274 ) : return "WM_SYSCOMMAND\n"; | |
case(275 ) : return "WM_TIMER\n"; | |
case(276 ) : return "WM_HSCROLL\n"; | |
case(277 ) : return "WM_VSCROLL\n"; | |
case(278 ) : return "WM_INITMENU\n"; | |
case(279 ) : return "WM_INITMENUPOPUP\n"; | |
case(280 ) : return "WM_SYSTIMER\n"; | |
case(287 ) : return "WM_MENUSELECT\n"; | |
case(288 ) : return "WM_MENUCHAR\n"; | |
case(289 ) : return "WM_ENTERIDLE\n"; | |
case(290 ) : return "WM_MENURBUTTONUP\n"; | |
case(291 ) : return "WM_MENUDRAG\n"; | |
case(292 ) : return "WM_MENUGETOBJECT\n"; | |
case(293 ) : return "WM_UNINITMENUPOPUP\n"; | |
case(294 ) : return "WM_MENUCOMMAND\n"; | |
case(295 ) : return "WM_CHANGEUISTATE\n"; | |
case(296 ) : return "WM_UPDATEUISTATE\n"; | |
case(297 ) : return "WM_QUERYUISTATE\n"; | |
case(306 ) : return "WM_CTLCOLORMSGBOX\n"; | |
case(307 ) : return "WM_CTLCOLOREDIT\n"; | |
case(308 ) : return "WM_CTLCOLORLISTBOX\n"; | |
case(309 ) : return "WM_CTLCOLORBTN\n"; | |
case(310 ) : return "WM_CTLCOLORDLG\n"; | |
case(311 ) : return "WM_CTLCOLORSCROLLBAR\n"; | |
case(312 ) : return "WM_CTLCOLORSTATIC\n"; | |
case(512 ) : return "WM_MOUSEMOVE\n"; | |
case(513 ) : return "WM_LBUTTONDOWN\n"; | |
case(514 ) : return "WM_LBUTTONUP\n"; | |
case(515 ) : return "WM_LBUTTONDBLCLK\n"; | |
case(516 ) : return "WM_RBUTTONDOWN\n"; | |
case(517 ) : return "WM_RBUTTONUP\n"; | |
case(518 ) : return "WM_RBUTTONDBLCLK\n"; | |
case(519 ) : return "WM_MBUTTONDOWN\n"; | |
case(520 ) : return "WM_MBUTTONUP\n"; | |
case(521 ) : return "WM_MOUSELAST\n"; | |
case(522 ) : return "WM_MOUSEWHEEL\n"; | |
case(523 ) : return "WM_XBUTTONDOWN\n"; | |
case(524 ) : return "WM_XBUTTONUP\n"; | |
case(525 ) : return "WM_XBUTTONDBLCLK\n"; | |
case(526 ) : return "WM_MOUSEHWHEEL\n"; | |
case(528 ) : return "WM_PARENTNOTIFY\n"; | |
case(529 ) : return "WM_ENTERMENULOOP\n"; | |
case(530 ) : return "WM_EXITMENULOOP\n"; | |
case(531 ) : return "WM_NEXTMENU\n"; | |
case(532 ) : return "WM_SIZING\n"; | |
case(533 ) : return "WM_CAPTURECHANGED\n"; | |
case(534 ) : return "WM_MOVING\n"; | |
case(536 ) : return "WM_POWERBROADCAST\n"; | |
case(537 ) : return "WM_DEVICECHANGE\n"; | |
case(544 ) : return "WM_MDICREATE\n"; | |
case(545 ) : return "WM_MDIDESTROY\n"; | |
case(546 ) : return "WM_MDIACTIVATE\n"; | |
case(547 ) : return "WM_MDIRESTORE\n"; | |
case(548 ) : return "WM_MDINEXT\n"; | |
case(549 ) : return "WM_MDIMAXIMIZE\n"; | |
case(550 ) : return "WM_MDITILE\n"; | |
case(551 ) : return "WM_MDICASCADE\n"; | |
case(552 ) : return "WM_MDIICONARRANGE\n"; | |
case(553 ) : return "WM_MDIGETACTIVE\n"; | |
case(560 ) : return "WM_MDISETMENU\n"; | |
case(561 ) : return "WM_ENTERSIZEMOVE\n"; | |
case(562 ) : return "WM_EXITSIZEMOVE\n"; | |
case(563 ) : return "WM_DROPFILES\n"; | |
case(564 ) : return "WM_MDIREFRESHMENU\n"; | |
case(640 ) : return "WM_IME_REPORT\n"; | |
case(641 ) : return "WM_IME_SETCONTEXT\n"; | |
case(642 ) : return "WM_IME_NOTIFY\n"; | |
case(643 ) : return "WM_IME_CONTROL\n"; | |
case(644 ) : return "WM_IME_COMPOSITIONFULL\n"; | |
case(645 ) : return "WM_IME_SELECT\n"; | |
case(646 ) : return "WM_IME_CHAR\n"; | |
case(648 ) : return "WM_IME_REQUEST\n"; | |
case(656 ) : return "WM_IMEKEYDOWN\n"; | |
case(657 ) : return "WM_IMEKEYUP\n"; | |
case(672 ) : return "WM_NCMOUSEHOVER\n"; | |
case(673 ) : return "WM_MOUSEHOVER\n"; | |
case(674 ) : return "WM_NCMOUSELEAVE\n"; | |
case(675 ) : return "WM_MOUSELEAVE\n"; | |
case(768 ) : return "WM_CUT\n"; | |
case(769 ) : return "WM_COPY\n"; | |
case(770 ) : return "WM_PASTE\n"; | |
case(771 ) : return "WM_CLEAR\n"; | |
case(772 ) : return "WM_UNDO\n"; | |
case(773 ) : return "WM_RENDERFORMAT\n"; | |
case(774 ) : return "WM_RENDERALLFORMATS\n"; | |
case(775 ) : return "WM_DESTROYCLIPBOARD\n"; | |
case(776 ) : return "WM_DRAWCLIPBOARD\n"; | |
case(777 ) : return "WM_PAINTCLIPBOARD\n"; | |
case(778 ) : return "WM_VSCROLLCLIPBOARD\n"; | |
case(779 ) : return "WM_SIZECLIPBOARD\n"; | |
case(780 ) : return "WM_ASKCBFORMATNAME\n"; | |
case(781 ) : return "WM_CHANGECBCHAIN\n"; | |
case(782 ) : return "WM_HSCROLLCLIPBOARD\n"; | |
case(783 ) : return "WM_QUERYNEWPALETTE\n"; | |
case(784 ) : return "WM_PALETTEISCHANGING\n"; | |
case(785 ) : return "WM_PALETTECHANGED\n"; | |
case(786 ) : return "WM_HOTKEY\n"; | |
case(791 ) : return "WM_PRINT\n"; | |
case(792 ) : return "WM_PRINTCLIENT\n"; | |
case(793 ) : return "WM_APPCOMMAND\n"; | |
case(856 ) : return "WM_HANDHELDFIRST\n"; | |
case(863 ) : return "WM_HANDHELDLAST\n"; | |
case(864 ) : return "WM_AFXFIRST\n"; | |
case(895 ) : return "WM_AFXLAST\n"; | |
case(896 ) : return "WM_PENWINFIRST\n"; | |
case(897 ) : return "WM_RCRESULT\n"; | |
case(898 ) : return "WM_HOOKRCRESULT\n"; | |
case(899 ) : return "WM_PENMISCINFO\n"; | |
case(900 ) : return "WM_SKB\n"; | |
case(901 ) : return "WM_HEDITCTL\n"; | |
case(902 ) : return "WM_PENMISC\n"; | |
case(903 ) : return "WM_CTLINIT\n"; | |
case(904 ) : return "WM_PENEVENT\n"; | |
case(911 ) : return "WM_PENWINLAST\n"; | |
case(1024 ) : return "WM_USER\n"; | |
case(1025 ) : return "DDM_DRAW\n"; | |
case(1026 ) : return "DDM_CLOSE\n"; | |
case(1027 ) : return "DDM_BEGIN\n"; | |
case(1028 ) : return "DDM_END\n"; | |
case(1029 ) : return "PBM_STEPIT\n"; | |
case(1030 ) : return "CBEM_GETCOMBOCONTROL\n"; | |
case(1031 ) : return "CBEM_GETEDITCONTROL\n"; | |
case(1032 ) : return "CBEM_SETEXSTYLE\n"; | |
case(1033 ) : return "CBEM_GETEXSTYLE\n"; | |
case(1034 ) : return "CBEM_HASEDITCHANGED\n"; | |
case(1035 ) : return "CBEM_INSERTITEMW\n"; | |
case(1036 ) : return "CBEM_SETITEMW\n"; | |
case(1037 ) : return "CBEM_GETITEMW\n"; | |
case(1038 ) : return "CBEM_SETEXTENDEDSTYLE\n"; | |
case(1039 ) : return "SB_SETICON\n"; | |
case(1040 ) : return "RB_IDTOINDEX\n"; | |
case(1041 ) : return "RB_GETTOOLTIPS\n"; | |
case(1042 ) : return "RB_SETTOOLTIPS\n"; | |
case(1043 ) : return "RB_SETBKCOLOR\n"; | |
case(1044 ) : return "RB_GETBKCOLOR\n"; | |
case(1045 ) : return "RB_SETTEXTCOLOR\n"; | |
case(1046 ) : return "RB_GETTEXTCOLOR\n"; | |
case(1047 ) : return "RB_SIZETORECT\n"; | |
case(1048 ) : return "RB_BEGINDRAG\n"; | |
case(1049 ) : return "RB_ENDDRAG\n"; | |
case(1050 ) : return "RB_DRAGMOVE\n"; | |
case(1051 ) : return "RB_GETBARHEIGHT\n"; | |
case(1052 ) : return "TB_ADDSTRINGA\n"; | |
case(1053 ) : return "RB_GETBANDINFOA\n"; | |
case(1054 ) : return "RB_MINIMIZEBAND\n"; | |
case(1055 ) : return "RB_MAXIMIZEBAND\n"; | |
case(1056 ) : return "TBM_SETBUDDY\n"; | |
case(1057 ) : return "MSG_FTS_JUMP_VA\n"; | |
case(1058 ) : return "RB_GETBANDBORDERS\n"; | |
case(1059 ) : return "MSG_FTS_JUMP_QWORD\n"; | |
case(1060 ) : return "MSG_REINDEX_REQUEST\n"; | |
case(1061 ) : return "MSG_FTS_WHERE_IS_IT\n"; | |
case(1062 ) : return "RB_GETPALETTE\n"; | |
case(1063 ) : return "RB_MOVEBAND\n"; | |
case(1064 ) : return "TB_GETROWS\n"; | |
case(1065 ) : return "TB_GETBITMAPFLAGS\n"; | |
case(1066 ) : return "TB_SETCMDID\n"; | |
case(1067 ) : return "RB_PUSHCHEVRON\n"; | |
case(1068 ) : return "TB_GETBITMAP\n"; | |
case(1069 ) : return "MSG_GET_DEFFONT\n"; | |
case(1070 ) : return "TB_REPLACEBITMAP\n"; | |
case(1071 ) : return "TB_SETINDENT\n"; | |
case(1072 ) : return "TB_SETIMAGELIST\n"; | |
case(1073 ) : return "TB_GETIMAGELIST\n"; | |
case(1074 ) : return "TB_LOADIMAGES\n"; | |
case(1075 ) : return "EM_DISPLAYBAND\n"; | |
case(1076 ) : return "EM_EXGETSEL\n"; | |
case(1077 ) : return "EM_EXLIMITTEXT\n"; | |
case(1078 ) : return "EM_EXLINEFROMCHAR\n"; | |
case(1079 ) : return "EM_EXSETSEL\n"; | |
case(1080 ) : return "EM_FINDTEXT\n"; | |
case(1081 ) : return "EM_FORMATRANGE\n"; | |
case(1082 ) : return "EM_GETCHARFORMAT\n"; | |
case(1083 ) : return "EM_GETEVENTMASK\n"; | |
case(1084 ) : return "EM_GETOLEINTERFACE\n"; | |
case(1085 ) : return "EM_GETPARAFORMAT\n"; | |
case(1086 ) : return "EM_GETSELTEXT\n"; | |
case(1087 ) : return "EM_HIDESELECTION\n"; | |
case(1088 ) : return "EM_PASTESPECIAL\n"; | |
case(1089 ) : return "EM_REQUESTRESIZE\n"; | |
case(1090 ) : return "EM_SELECTIONTYPE\n"; | |
case(1091 ) : return "EM_SETBKGNDCOLOR\n"; | |
case(1092 ) : return "EM_SETCHARFORMAT\n"; | |
case(1093 ) : return "EM_SETEVENTMASK\n"; | |
case(1094 ) : return "EM_SETOLECALLBACK\n"; | |
case(1095 ) : return "TB_GETHOTITEM\n"; | |
case(1096 ) : return "TB_SETHOTITEM\n"; | |
case(1097 ) : return "TB_SETANCHORHIGHLIGHT\n"; | |
case(1098 ) : return "TB_GETANCHORHIGHLIGHT\n"; | |
case(1099 ) : return "TB_GETBUTTONTEXTW\n"; | |
case(1100 ) : return "TB_SAVERESTOREW\n"; | |
case(1101 ) : return "TB_ADDSTRINGW\n"; | |
case(1102 ) : return "TB_MAPACCELERATORA\n"; | |
case(1103 ) : return "TB_GETINSERTMARK\n"; | |
case(1104 ) : return "TB_SETINSERTMARK\n"; | |
case(1105 ) : return "TB_INSERTMARKHITTEST\n"; | |
case(1106 ) : return "EM_SETUNDOLIMIT\n"; | |
case(2028 ) : return "UM_GETGROUPSELW\n"; | |
case(2029 ) : return "SM_GETOPTIONS\n"; | |
case(2030 ) : return "UM_GETCURFOCUSW\n"; | |
case(2031 ) : return "UM_GETOPTIONS\n"; | |
case(2032 ) : return "UM_GETOPTIONS2\n"; | |
case(4096 ) : return "LVM_FIRST\n"; | |
case(4097 ) : return "LVM_SETBKCOLOR\n"; | |
case(4098 ) : return "LVM_GETIMAGELIST\n"; | |
case(4099 ) : return "LVM_SETIMAGELIST\n"; | |
case(4100 ) : return "LVM_GETITEMCOUNT\n"; | |
case(4101 ) : return "LVM_GETITEMA\n"; | |
case(4102 ) : return "LVM_SETITEMA\n"; | |
case(4103 ) : return "LVM_INSERTITEMA\n"; | |
case(4104 ) : return "LVM_DELETEITEM\n"; | |
case(4105 ) : return "LVM_DELETEALLITEMS\n"; | |
case(4106 ) : return "LVM_GETCALLBACKMASK\n"; | |
case(4107 ) : return "LVM_SETCALLBACKMASK\n"; | |
case(4108 ) : return "LVM_GETNEXTITEM\n"; | |
case(4109 ) : return "LVM_FINDITEMA\n"; | |
case(4110 ) : return "LVM_GETITEMRECT\n"; | |
case(4111 ) : return "LVM_SETITEMPOSITION\n"; | |
case(4112 ) : return "LVM_GETITEMPOSITION\n"; | |
case(4113 ) : return "LVM_GETSTRINGWIDTHA\n"; | |
case(4114 ) : return "LVM_HITTEST\n"; | |
case(4115 ) : return "LVM_ENSUREVISIBLE\n"; | |
case(4116 ) : return "LVM_SCROLL\n"; | |
case(4117 ) : return "LVM_REDRAWITEMS\n"; | |
case(4118 ) : return "LVM_ARRANGE\n"; | |
case(4119 ) : return "LVM_EDITLABELA\n"; | |
case(4120 ) : return "LVM_GETEDITCONTROL\n"; | |
case(4121 ) : return "LVM_GETCOLUMNA\n"; | |
case(4122 ) : return "LVM_SETCOLUMNA\n"; | |
case(4123 ) : return "LVM_INSERTCOLUMNA\n"; | |
case(4124 ) : return "LVM_DELETECOLUMN\n"; | |
case(4125 ) : return "LVM_GETCOLUMNWIDTH\n"; | |
case(4126 ) : return "LVM_SETCOLUMNWIDTH\n"; | |
case(4127 ) : return "LVM_GETHEADER\n"; | |
case(4129 ) : return "LVM_CREATEDRAGIMAGE\n"; | |
case(4130 ) : return "LVM_GETVIEWRECT\n"; | |
case(4131 ) : return "LVM_GETTEXTCOLOR\n"; | |
case(4132 ) : return "LVM_SETTEXTCOLOR\n"; | |
case(4133 ) : return "LVM_GETTEXTBKCOLOR\n"; | |
case(4134 ) : return "LVM_SETTEXTBKCOLOR\n"; | |
case(4135 ) : return "LVM_GETTOPINDEX\n"; | |
case(4136 ) : return "LVM_GETCOUNTPERPAGE\n"; | |
case(4137 ) : return "LVM_GETORIGIN\n"; | |
case(4138 ) : return "LVM_UPDATE\n"; | |
case(4139 ) : return "LVM_SETITEMSTATE\n"; | |
case(4140 ) : return "LVM_GETITEMSTATE\n"; | |
case(4141 ) : return "LVM_GETITEMTEXTA\n"; | |
case(4142 ) : return "LVM_SETITEMTEXTA\n"; | |
case(4143 ) : return "LVM_SETITEMCOUNT\n"; | |
case(4144 ) : return "LVM_SORTITEMS\n"; | |
case(4145 ) : return "LVM_SETITEMPOSITION32\n"; | |
case(4146 ) : return "LVM_GETSELECTEDCOUNT\n"; | |
case(4147 ) : return "LVM_GETITEMSPACING\n"; | |
case(4148 ) : return "LVM_GETISEARCHSTRINGA\n"; | |
case(4149 ) : return "LVM_SETICONSPACING\n"; | |
case(4150 ) : return "LVM_SETEXTENDEDLISTVIEWSTYLE\n"; | |
case(4151 ) : return "LVM_GETEXTENDEDLISTVIEWSTYLE\n"; | |
case(4152 ) : return "LVM_GETSUBITEMRECT\n"; | |
case(4153 ) : return "LVM_SUBITEMHITTEST\n"; | |
case(4154 ) : return "LVM_SETCOLUMNORDERARRAY\n"; | |
case(4155 ) : return "LVM_GETCOLUMNORDERARRAY\n"; | |
case(4156 ) : return "LVM_SETHOTITEM\n"; | |
case(4157 ) : return "LVM_GETHOTITEM\n"; | |
case(4158 ) : return "LVM_SETHOTCURSOR\n"; | |
case(4159 ) : return "LVM_GETHOTCURSOR\n"; | |
case(4160 ) : return "LVM_APPROXIMATEVIEWRECT\n"; | |
case(4161 ) : return "LVM_SETWORKAREAS\n"; | |
case(4162 ) : return "LVM_GETSELECTIONMARK\n"; | |
case(4163 ) : return "LVM_SETSELECTIONMARK\n"; | |
case(4164 ) : return "LVM_SETBKIMAGEA\n"; | |
case(4165 ) : return "LVM_GETBKIMAGEA\n"; | |
case(4166 ) : return "LVM_GETWORKAREAS\n"; | |
case(4167 ) : return "LVM_SETHOVERTIME\n"; | |
case(4168 ) : return "LVM_GETHOVERTIME\n"; | |
case(4169 ) : return "LVM_GETNUMBEROFWORKAREAS\n"; | |
case(4170 ) : return "LVM_SETTOOLTIPS\n"; | |
case(4171 ) : return "LVM_GETITEMW\n"; | |
case(4172 ) : return "LVM_SETITEMW\n"; | |
case(4173 ) : return "LVM_INSERTITEMW\n"; | |
case(4174 ) : return "LVM_GETTOOLTIPS\n"; | |
case(4179 ) : return "LVM_FINDITEMW\n"; | |
case(4183 ) : return "LVM_GETSTRINGWIDTHW\n"; | |
case(4191 ) : return "LVM_GETCOLUMNW\n"; | |
case(4192 ) : return "LVM_SETCOLUMNW\n"; | |
case(4193 ) : return "LVM_INSERTCOLUMNW\n"; | |
case(4211 ) : return "LVM_GETITEMTEXTW\n"; | |
case(4212 ) : return "LVM_SETITEMTEXTW\n"; | |
case(4213 ) : return "LVM_GETISEARCHSTRINGW\n"; | |
case(4214 ) : return "LVM_EDITLABELW\n"; | |
case(4235 ) : return "LVM_GETBKIMAGEW\n"; | |
case(4236 ) : return "LVM_SETSELECTEDCOLUMN\n"; | |
case(4237 ) : return "LVM_SETTILEWIDTH\n"; | |
case(4238 ) : return "LVM_SETVIEW\n"; | |
case(4239 ) : return "LVM_GETVIEW\n"; | |
case(4241 ) : return "LVM_INSERTGROUP\n"; | |
case(4243 ) : return "LVM_SETGROUPINFO\n"; | |
case(4245 ) : return "LVM_GETGROUPINFO\n"; | |
case(4246 ) : return "LVM_REMOVEGROUP\n"; | |
case(4247 ) : return "LVM_MOVEGROUP\n"; | |
case(4250 ) : return "LVM_MOVEITEMTOGROUP\n"; | |
case(4251 ) : return "LVM_SETGROUPMETRICS\n"; | |
case(4252 ) : return "LVM_GETGROUPMETRICS\n"; | |
case(4253 ) : return "LVM_ENABLEGROUPVIEW\n"; | |
case(4254 ) : return "LVM_SORTGROUPS\n"; | |
case(4255 ) : return "LVM_INSERTGROUPSORTED\n"; | |
case(4256 ) : return "LVM_REMOVEALLGROUPS\n"; | |
case(4257 ) : return "LVM_HASGROUP\n"; | |
case(4258 ) : return "LVM_SETTILEVIEWINFO\n"; | |
case(4259 ) : return "LVM_GETTILEVIEWINFO\n"; | |
case(4260 ) : return "LVM_SETTILEINFO\n"; | |
case(4261 ) : return "LVM_GETTILEINFO\n"; | |
case(4262 ) : return "LVM_SETINSERTMARK\n"; | |
case(4263 ) : return "LVM_GETINSERTMARK\n"; | |
case(4264 ) : return "LVM_INSERTMARKHITTEST\n"; | |
case(4265 ) : return "LVM_GETINSERTMARKRECT\n"; | |
case(4266 ) : return "LVM_SETINSERTMARKCOLOR\n"; | |
case(4267 ) : return "LVM_GETINSERTMARKCOLOR\n"; | |
case(4269 ) : return "LVM_SETINFOTIP\n"; | |
case(4270 ) : return "LVM_GETSELECTEDCOLUMN\n"; | |
case(4271 ) : return "LVM_ISGROUPVIEWENABLED\n"; | |
case(4272 ) : return "LVM_GETOUTLINECOLOR\n"; | |
case(4273 ) : return "LVM_SETOUTLINECOLOR\n"; | |
case(4275 ) : return "LVM_CANCELEDITLABEL\n"; | |
case(4276 ) : return "LVM_MAPINDEXTOID\n"; | |
case(4277 ) : return "LVM_MAPIDTOINDEX\n"; | |
case(4278 ) : return "LVM_ISITEMVISIBLE\n"; | |
case(8192 ) : return "OCM__BASE\n"; | |
case(8197 ) : return "LVM_SETUNICODEFORMAT\n"; | |
case(8198 ) : return "LVM_GETUNICODEFORMAT\n"; | |
case(8217 ) : return "OCM_CTLCOLOR\n"; | |
case(8235 ) : return "OCM_DRAWITEM\n"; | |
case(8236 ) : return "OCM_MEASUREITEM\n"; | |
case(8237 ) : return "OCM_DELETEITEM\n"; | |
case(8238 ) : return "OCM_VKEYTOITEM\n"; | |
case(8239 ) : return "OCM_CHARTOITEM\n"; | |
case(8249 ) : return "OCM_COMPAREITEM\n"; | |
case(8270 ) : return "OCM_NOTIFY\n"; | |
case(8465 ) : return "OCM_COMMAND\n"; | |
case(8468 ) : return "OCM_HSCROLL\n"; | |
case(8469 ) : return "OCM_VSCROLL\n"; | |
case(8498 ) : return "OCM_CTLCOLORMSGBOX\n"; | |
case(8499 ) : return "OCM_CTLCOLOREDIT\n"; | |
case(8500 ) : return "OCM_CTLCOLORLISTBOX\n"; | |
case(8501 ) : return "OCM_CTLCOLORBTN\n"; | |
case(8502 ) : return "OCM_CTLCOLORDLG\n"; | |
case(8503 ) : return "OCM_CTLCOLORSCROLLBAR\n"; | |
case(8504 ) : return "OCM_CTLCOLORSTATIC\n"; | |
case(8720 ) : return "OCM_PARENTNOTIFY\n"; | |
case(32768) : return "WM_APP\n"; | |
case(52429) : return "WM_RASDIALEVENT\n"; | |
} | |
return "UNKNOWN\n"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment