I added MSG_WM_NCMOUSEHOVER() and MSG_WM_NCMOUSELEAVE() to atlcrack.h
NOTIFY_CODE_RANGE_HANDLER_EX() is not suitable - we never have 'code range' macros. Codes are not always sequential, and neither ATL nor WTL have macros like that.
Proposed changes for BEGIN_MSG_MAP_EX () are correct, but not needed. We there have code from CWindowImpl, and we use the same code that ATL has there.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Maybe add the listed macros to the file atlcrack.h?
And change the macros BEGIN_MSG_MAP_EX (сhanges are marked by **) to:
Last edit: Sergei 2019-07-05
Thanks for your proposals.
I added MSG_WM_NCMOUSEHOVER() and MSG_WM_NCMOUSELEAVE() to atlcrack.h
NOTIFY_CODE_RANGE_HANDLER_EX() is not suitable - we never have 'code range' macros. Codes are not always sequential, and neither ATL nor WTL have macros like that.
Proposed changes for BEGIN_MSG_MAP_EX () are correct, but not needed. We there have code from CWindowImpl, and we use the same code that ATL has there.