CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: MSG numbers

  1. #1
    Guest

    MSG numbers

    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

  2. #2
    Join Date
    Apr 1999
    Posts
    48

    Re: MSG numbers

    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



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured