WM_NOTIFY code

So, I have an app that gets a LVN_COLUMNCLICK code (I clicked a ListView header button). The WM_NOTIFY message occurs and goes thru the code to do a sort that I have working. After the LVN_COLUMNCLICK code, I get another WM_NOTIFY code of 'fffffebe', followed by a WM_CTLCOLORBTN message, which produces the button headers. Anyone know what the 'ffffebe' code is? I'm not capturing it, it just falls into the DefWindowProc() routine. I can't find it in the header files of VS. It is a large code that doesn't appear to be there.
http://www.temblast.com/ref/wndmsg.htm lists febe HDN_ITEMCLICKW
is that a possibility?

that value is -322 in human. I found this code as well.. http://86.57.154.165:85/~%20%D0%9F%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5/Visual%20C++/Visual%20C++%206/Visual%20C++%206/VC98/INCLUDE/COMMCTRL.H

#define HDN_FIRST (0U-300U) // header
...
define HDN_ITEMCHANGINGA (HDN_FIRST-0)
#define HDN_ITEMCHANGINGW (HDN_FIRST-20)
#define HDN_ITEMCHANGEDA (HDN_FIRST-1)
#define HDN_ITEMCHANGEDW (HDN_FIRST-21)
#define HDN_ITEMCLICKA (HDN_FIRST-2)
#define HDN_ITEMCLICKW (HDN_FIRST-22)
#define HDN_ITEMDBLCLICKA (HDN_FIRST-3)
#define HDN_ITEMDBLCLICKW (HDN_FIRST-23)
#define HDN_DIVIDERDBLCLICKA (HDN_FIRST-5)
#define HDN_DIVIDERDBLCLICKW (HDN_FIRST-25)
#define HDN_BEGINTRACKA (HDN_FIRST-6)
#define HDN_BEGINTRACKW (HDN_FIRST-26)
#define HDN_ENDTRACKA (HDN_FIRST-7)
#define HDN_ENDTRACKW (HDN_FIRST-27)
#define HDN_TRACKA (HDN_FIRST-8)
#define HDN_TRACKW (HDN_FIRST-28)

and this https://docs.microsoft.com/en-us/windows/win32/controls/hdn-itemclick
which says its just a mouse button event that you likely can ignore.
A header control sends this notification code after the user releases the left mouse button.

this is worse than usual, even by M$ standards. Wow.
Last edited on
You are correct. Thank you. Things can get very convoluted in Windows messages.
this is worse than usual, even by M$ standards. Wow.


This sort of insanity is all over headers relating to controls. What were they drinking - neat caffeine?
Topic archived. No new replies allowed.