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

Thread: SendMessage

  1. #1
    Join Date
    May 2010
    Posts
    83

    SendMessage

    Just read thru the SendMessage function entry:

    http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx

    Sweet & exactly what i need, but where can i find a list of all possible messages i can send (second parameter) ?

    thanks,

  2. #2
    Join Date
    Feb 2005
    Posts
    2,160

    Re: SendMessage

    Any value from 0 to UINT_MAX is allowed (that's over 4 billion message types). What are you trying to do?

  3. #3
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    3,654

    Re: SendMessage

    You can click your way into more details from that link you provided.

    I don't know if there is a complete (and practical) list but you get a lot of them in some kind of list by searching MSDN for WM_ T
    http://social.msdn.microsoft.com/Search/en-us?query=WM_

    You can also open winuser.h and browse thru it.

    Edit: The most practical way is to get a book. Without having some background on how Windows is organized it's hard to know what message to search for.
    Last edited by S_M_A; June 1st, 2010 at 09:14 AM.
    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    http://www.codeguru.com/forum/announ...nouncementid=6
    and http://www.codeguru.com/forum/showthread.php?t=366302 before posting

    Refresh your memory on formatting tags here
    http://www.codeguru.com/forum/misc.php?do=bbcode

    Get your free MS compiler here
    https://visualstudio.microsoft.com/vs

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