Hi,
I would like to use the mouse wheel to zoom in and out on an OpenGL graph.
It looks like the OpenGL control doesn't trigger the EVENT_MOUSE_WHEEL_SCROLL.
I have added the EVENT_MOUSE_WHEEL_SCROLL to the panel in the OGL sample shipped with CVI.
It works fine as long as the focus is not on the graph. Once I have clicked on the OpenGL graph the mouse wheel doesn't trigger the EVENT_MOUSE_WHEEL_SCROLL on the panel callback.
I couldn' find a way to bring programmaticaly the focus back on the panel.
If I click on another control on the panel then the panel EVENT_MOUSE_WHEEL_SCROLL is triggered again and my zoom function is working.
Please find attached the modfied example from the OGL sample.
Has someone an idea how to solve this issue?