Sign in to follow this  

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

Recommended Posts

ankhd    2304
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
darookie    1441
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]


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this