resolve windows message number into plain text name of message?
-
Hi In functions like PreTranslateMessage you get a pointer to a MSG structure which includes some UINT message. How can I resolve that number into plaintext (the name of the message) e.x. "WM_KEYDOWN" so that I have an understandable TRACE output? Thanks & Bye, T.T.H.
-
Hi In functions like PreTranslateMessage you get a pointer to a MSG structure which includes some UINT message. How can I resolve that number into plaintext (the name of the message) e.x. "WM_KEYDOWN" so that I have an understandable TRACE output? Thanks & Bye, T.T.H.
please refer winuser.h where you can find the numeric values of each windows message example: #define WM_COMMAND 0x0111 #define WM_SYSCOMMAND 0x0112 #define WM_TIMER 0x0113 #define WM_HSCROLL 0x0114 #define WM_VSCROLL 0x0115 #define WM_INITMENU 0x0116 #define WM_INITMENUPOPUP 0x0117 #define WM_MENUSELECT 0x011F #define WM_MENUCHAR 0x0120 #define WM_ENTERIDLE 0x0121