Click to See Complete Forum and Search --> : MSG numbers


April 18th, 1999, 04:39 PM
Hi,
I was wondering how you tell what a message is just from its message number. For instance, WM_LBUTTONDOWN = = 513, but I'm getting a message that
evaluates to 273, and I can't figure out what it is. Thanks for

Roger Osborn
April 19th, 1999, 02:23 AM
Many of them are in winuser.h .
One way to find the numbers is to search the header files under the VC++ installation directory. When you do this you need to take into account that they're often in hex. So if you search for 111 (273 in hex) it crops up in winuser.h as WM_COMMAND .

Maybe someone has a master list of all of the major message numbers somewhere, but I don't know where.

Cheers,
Roger