Re: [osg-users] Problems with osgViewer and ActiveX

2008-02-22 Thread Rémy Deslignes
Hi David It seems to me that you will need to have a scene loop somewhere and that this somewhere cannot be the OnPaint() event hanler. IMO, you will probably have to run the viewer loop in a separate thread . Rémy David Oyarzun a écrit : > Hi all, > > I'm developing an ActiveX for a web

[osg-users] Problems with osgViewer and ActiveX

2008-02-21 Thread David Oyarzun
Hi all, I'm developing an ActiveX for a web browser using osgViewer. This is the configuration that I have used in order to attach the viewer to the window. It is included in my main activex control class: RECT RectDLG; GetWindowRect(&RectDLG); // Init the GraphicsContext T