I'm having problems with the WM_MOUSEWHEEL message

Started by
3 comments, last by Chrono999 23 years, 5 months ago
I''m trying to implement my mouse wheel, but My compiler (VC++) is telling me that it doesn''t recognize WM_MOUSEWHEEL, so does anybody know if you have to include something special or define something? I''m open to suggestions. The MSDN had an example program (look for "mouse wheel sample".) The compiler had no problem building the sample program, but it doesn''t work for a few projects which I''ve tried it on. So if anybody has some info on this please help me out. Thanks a lot
Advertisement
I would suggest you use Direct Input, from DirectX. It VERY EASY and I repeat VERY EASY to implement a mouse wheel. DirectInput is also very easy to use.
WHO DO THEYTHINK THEY'REFOOLING : YOU ?
I just bought Programming Windows by Charles Petzold and I want to implement the mouse wheel into a scroll bar. I''ll learn DI but it''s just easier to do this with a simple windows message
As far as I remember you have to
#define _WIN32_WINNT 0x0400
What do you know, it worked!

This topic is closed to new replies.

Advertisement