scroll mouse button

Started by
5 comments, last by sdrichardson 20 years ago
can anyone show me how to use the scroll mouse button without DirectInput? Scotty.
Scotty.
Advertisement
WM_MOUSEWHEEL

Thanks Salsa!Colin Jeanne | Invader's Realm
"I forgot I had the Scroll Lock key until a few weeks ago when some asshole program used it. It even used it right" - Conner McCloud

[edited by - Invader X on March 21, 2004 2:42:56 PM]
yes but its not a simple case of putting a ''case WM_MOUSEWHEEL:'' in the msgproc... How do i decipher which direction it is being turned?



Scotty.
Scotty.
Info here

For being such a helpfull guy, can you do me a favour (if using VC++), right click WM_MOUSEWHEEL and click goto definiton and tell me what the constant is. My SDK is out of date but i cant be asked downloading it all for one constant!

Ta
#define WM_MOUSEWHEEL 0x020A

is that what you mean?



Scotty.
Scotty.
Yep! Ta muchly!
You need to define _WIN32_WINNT to be great than or equal to 0x0400 or _WIN32_WINDOWS to be greater than 0x0400.

Thanks Salsa!Colin Jeanne | Invader''s Realm
"I forgot I had the Scroll Lock key until a few weeks ago when some asshole program used it. It even used it right" - Conner McCloud

This topic is closed to new replies.

Advertisement