Hi,
I am working on a project that needs to combine regular controls, OpenGL controls and ActiveX controls into one scene. I need to be able to composite them all with transparency effects. Unfortunately, I am having difficulty with the ActiveX controls. When QGraphicsView came out with support for widgets, I thought perhaps my problems were solved! But alas, it seems that I am stuck with the same problems I have had simply trying to draw the AX controls offscreen in a normal window.
1. I had to use Windows messaging to get mouse events to the control.
2. I could not (easily) intercept keyboard input from the AX control in order to update the onscreen image.
3. If I don't parent the AX control on a widget owned by the main window of my app, then the AX control steals focus from my main window, causing the main window's title bar to go inactive.
In addition, if I don't parent the control on another widget before adding it to the scene, it won't draw the control at all (actually, it draws a white rectangle).
Is there any way to get around these issues?
Thanks,
Jay