What's the status of message crackers from windowsx.h?

348 Views Asked by At

The windowsx.h header has a feature called "message crackers", which lets you use HANDLE_MSG and other macros to automatically decode WPARAM and LPARAM, as received by your window procedure, into a specific message's parameters. As of the Windows 10 SDK, these are still around and not marked deprecated within the header itself, and they still work fine. However, MSDN's latest documentation for windowsx.h doesn't even mention the existence of them. The only official documentation I can find for them is WINDOWSX.TXT from the Windows 3.1 SDK, as mentioned in Q83456, which is so old that Microsoft doesn't even host it anymore.

Are message crackers deprecated and just not marked as such, or is their use still recommended? If they're deprecated, where/when was this announced? If their use is still recommended, then why aren't they documented anymore?

0

There are 0 best solutions below