Original Post
Hi, I want to know How to handle mouse scroll in OpenGL using glut. When I browsed in net, I got a glut patch that claims it handles Mouse scroll. the link is : http://www.realmtech.net/opengl/glut.php I used the following code in glut callback function for mouse click if (state == GLUT_UP ) { if ( button == GLUT_WHEEL_UP ) { printf("Wheel Up\n"); } else if( button == GLUT_WHEEL_DOWN ) { printf("Wheel Down\n"); } } But this does not display the message when mouse is scrolled... Is there any other way.... Thanks in advance....