LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Open GL Mouse wheel events

Hello,

 

I have started to use the Open GL instrument driver.

I would like to use the mouse wheel to zoom in and out on the Open GL graph but there are no MOUSE_WHEEL_EVENT send when the Open GL control is active.

Is that normal behaviour?

 

To overcome this issue I tried to use another mouse event (for example: EVENT_MOUSE_POINTER_MOVE) to change the focus to another ctrl but it is not working. I can not change the focus programmatically once the focus is on the Open GL control.

 

Is there a way to overcome these problems? Is there a way to use the mouse wheel to zoom in and out on an Open GL control (like with the ActiveX 3D graph)?

 

Note: You may perhaps ask why I do not use the ActiveX 3D graph instead the OpenGL instrument driver?

It's because I have to display 3D objects consisting of a large bunch of triangles and as far as I know it is not possible to do that easily with the ActiveX 3D graph

 

Regards

Bertrand

 

0 Kudos
Message 1 of 1
(4,190 Views)