PDA

View Full Version : zoom control using mouse scroll



Optik
11-01-2009, 12:39 AM
hi
Please pardon me if this is not the right place for this post but can someone tell me the win32 key codes for mouse scroll. Like how WM_LBUTTONDOWN is for left button down. I want to use the scroll wheel to zoom in and out in my opengl application. I use visual c++ 6.0
Thanks

Aleksandar
11-01-2009, 04:53 AM
The windows message generated when mouse wheel is rolled is, how ingenious, WM_MOUSEWHEEL. :)

Why don't you use Class Wizard? This message is listed along with all others.