6

I'm debugging a dragging bug in wpf and have subscribed to wndproc. I'm getting a message ID of 49619 with wparam=0 and lparam=0. I've exhausted my google efforts and have been unable to uncover what the name of this window message is.

If you know, great. If you can provide a website that includes it in its listing of window messages, that's even better.

hex value = 0xC1D3

Bill Tarbell
  • 4,933
  • 2
  • 32
  • 52
  • 7
    This may shed some light on it: http://msdn.microsoft.com/en-us/library/windows/desktop/ms644931(v=vs.85).aspx, notably the 0xC000 through 0xFFFF range defined at runtime with `RegisterWindowMessage`. – Peter Huene Aug 19 '14 at 18:06
  • 1
    Thanks, @PeterHuene The link did indeed have the answer. If you post it as an answer i'll accept it. "Message numbers in the fourth range (0xC000 through 0xFFFF) are defined at run time when an application calls the RegisterWindowMessage function to retrieve a message number for a string. All applications that register the same string can use the associated message number for exchanging messages. The actual message number, however, is not a constant and cannot be assumed to be the same between different sessions." – Bill Tarbell Aug 19 '14 at 18:11
  • 3
    I'm lazy and rarely submit answers for questions that require a one line explanation, so I'll just upvote whomever does submit an answer instead :) – Peter Huene Aug 19 '14 at 18:15
  • 1
    Best list of window messages i've found: http://wiki.winehq.org/List_Of_Windows_Messages – Bill Tarbell Aug 19 '14 at 18:28

1 Answers1

2

Take a look at WM_USER. http://msdn.microsoft.com/en-us/library/windows/desktop/ms644931(v=vs.85).aspx

RegisterWindowMessage

Message numbers in the fourth range (0xC000 through 0xFFFF) are defined at run time when an application calls the RegisterWindowMessage function to retrieve a message number for a string. All applications that register the same string can use the associated message number for exchanging messages. The actual message number, however, is not a constant and cannot be assumed to be the same between different sessions.

ForeverZer0
  • 2,379
  • 1
  • 24
  • 32