Mousewheel input
I'm having trouble getting scrolling input from the mousewheel. The only thing I've been able to find is WM_MOUSEWHEEL, but I get an undeclared identifier error message when I use it. I guess that I need to include a certain header to use it, but I have no idea what. Anyone know?
Quote:
MSDN:
These values must be defined to handle the WM_MOUSEHWHEEL on
Windows 2000 and Windows XP, the first two values will be defined
in the Longhorn SDK and the last value is a default value
that will not be defined in the Longhorn SDK but will be needed for
handling WM_MOUSEHWHEEL messages emulated by IntelliType Pro
or IntelliPoint (if implemented in future versions).
#define WM_MOUSEWHEEL 0x020E
- xeddiex
Quote:Original post by xeddiexQuote:
MSDN:
These values must be defined to handle the WM_MOUSEHWHEEL on
Windows 2000 and Windows XP, the first two values will be defined
in the Longhorn SDK and the last value is a default value
that will not be defined in the Longhorn SDK but will be needed for
handling WM_MOUSEHWHEEL messages emulated by IntelliType Pro
or IntelliPoint (if implemented in future versions).
#define WM_MOUSEWHEEL 0x020E
- xeddiex
Well, seems that WM_MOUSEWHEEL support is limited:
// winuser.h#if (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400)#define WM_MOUSEWHEEL 0x020A#endif
So, WinNT 4.0 and above, Windows 98 and above.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement