HI Monia, You can get the hwnd from the GraphicsWindowWin32 class, you'll find the head for this in
OpenSceneGraph/include/osgViewer/api/Win32/GraphicsWindowWin32 You can get the GraphicsWindow from the viewer either via the viewer.getWindows(Windows&) method or from the Camera's in the Viewer i.e. GraphicsWindowWin32* window = dynamic_cast<osgViewer::GraphicsWindowWin32*>(viewer.getCamera()->getGraphicsContext()); Robert. On Wed, May 21, 2008 at 10:48 AM, monia hamdi <[EMAIL PROTECTED]> wrote: > Hello, > I want to ask you if we can get a handle to a win32 window (hwnd) for an > osgViewer::Viewer . > > In fact, I want to use a 3Dconnexion mouse (SpaceNavigator) and their > current API suppose that the thread create windows to support message > loop. > > Thank your for your help, > > Monia > > __________________________________________________ > Do You Yahoo!? > En finir avec le spam? Yahoo! Mail vous offre la meilleure protection > possible contre les messages non sollicités > http://mail.yahoo.fr Yahoo! Mail > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org