Hello everybody! I have a big app that uses at the moment the osgViewer::Viewer in the classic way. Now I want to integrate a picture in picture so I wrote a demo using the osgViewer::CompositeViewer and it works well. After porting the compositeViewer code to the big app, it stucked at the viewer.frame() call. After a little bit debugging I found the problem at the function setWindowPos used in GraphicsWindowWin32::realizeImplementation(). It looked like that this function can't finish the _unlock() function.
My demo runs without any problems on the same computer with the same lines of code and with the same data as input. If I manually call viewer.realize() the window is generated and the simulation runs but it gets no longer any keyboard or mouse inputs... and the hourglass is cracking up. The same happens, if I paste my lines of viewer code into a subclass. Can somebody explain this? Did anybody knows this problem and has an explanation for this weird behavior or did I have to search harder in my code? Using OSG 2.2 on Windoze XP SP2 with VS 2005. Looking forward to get any answers! -- Andreas Richter _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org