Hello again, I figured out that there is no hung OSG viewer but a WM_KEYDOWN message processed by the OSG's WindowProc. If you put an OSG Viewer in an MFC window, even if you don't activate OSG manipulators, OSG's Window Procedure is still active and handles messages before your DefaultWindowProc, so if you press <ESC> key, viewer quits :))
But my question still remains and if anyone thinks that it is a mis-use, please let me know. Thanks and Regards, Can 2008/6/12 Can T. Oguz <[EMAIL PROTECTED]>: > Hi Everybody, > > My problem is that when another window is instantly opened up on the viewer > pane (I use OSG within MFC app. without the main viewer loop, I manipulate > the camera manually and call frame() whenever necessary because %100 CPU > usage is not always allowed, so I can not take advantage of any manipulators > in osgGA) > > Any ideas? > > Thanks and Regards to all, > > Can > > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

