• Advertisement
Sign in to follow this  

whats up with this WM_MOUSEWHEEL why do I still need to define it my self

This topic is 3881 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all,I had to do this 3 years a go, I would have thought that it would be fix that is if it's a error, so I'm asking here what is the reason why this is not just a standard thing any way. //To enable it define this #ifndef WM_MOUSEWHEEL #define WM_MOUSEWHEEL 0x020A #endif

Share this post


Link to post
Share on other sites
Advertisement
You don't have to define it yourself. All you have to define is the platform which you intent to use, e.g. #define _WIN32_WINNT 0x0400 or #define _WIN32_WINDOWS 0x0400 (the version can be higher to enable more goodies) before including windows.h.
The platform SDK headers are designed for backwards compatibility and hence precompiler directives are used to isolate features available to later versions only.
Conclusion: know your tools [smile]

Regards,
Pat.

Share this post


Link to post
Share on other sites
Yes Know your tools thats why I'm posting here so I can thanks

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement