zoom control using mouse scroll

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

The windows message generated when mouse wheel is rolled is, how ingenious, WM_MOUSEWHEEL. :slight_smile:

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