Jump to content
  • Advertisement
Sign in to follow this  
MARS_999

Where's GET_WHEEL_DELTA_WPARAM at?

This topic is 4943 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

Advertisement
It should be declared in winuser.h, include windows.h to get it. Just remember to set your _WIN32_WINNT version high enough. IIRC 0x0400 is high enough, but it may need to be higher.

Share this post


Link to post
Share on other sites
Quote:
Original post by SiCrane
It should be declared in winuser.h, include windows.h to get it. Just remember to set your _WIN32_WINNT version high enough. IIRC 0x0400 is high enough, but it may need to be higher.


How do I set that? Never heard of that before. Thanks for the help though.

Share this post


Link to post
Share on other sites
It's just a normal pre-processor define. If you're using an IDE you can usually set it in the project properties somewhere. Alternately you can #define it before including windows.h.

Share this post


Link to post
Share on other sites
Beats me. I looked and didn't see anywhere to set this flag, and for some reason VC++ 2003.net can't find WM_MOUSEWHEEL either?

'WM_MOUSEWHEEL' : undeclared identifier

Share this post


Link to post
Share on other sites
Quote:
Original post by MARS_999
Quote:
Original post by SiCrane
It should be declared in winuser.h, include windows.h to get it. Just remember to set your _WIN32_WINNT version high enough. IIRC 0x0400 is high enough, but it may need to be higher.


How do I set that? Never heard of that before. Thanks for the help though.


#define _WIN32_WINNT 0x0400
#include <windows.h>

Share this post


Link to post
Share on other sites
Quote:
Original post by dalleboy
Quote:
Original post by MARS_999
Quote:
Original post by SiCrane
It should be declared in winuser.h, include windows.h to get it. Just remember to set your _WIN32_WINNT version high enough. IIRC 0x0400 is high enough, but it may need to be higher.


How do I set that? Never heard of that before. Thanks for the help though.


#define _WIN32_WINNT 0x0400
#include <windows.h>

Thanks that solved it!

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!