Hi all,

Sorry for simple question, but I am new on MFC windowing toolkit. I have
looked at the mail-archive and web-site but there was no more sample except
osgviewerMFC. I want to open my project on MFC window. At normal, I am using
code as below.

osgViewer::Viewer viewer;
viewer.setSceneData( root.get() );
viewer.realize();

while( !viewer.done() )
{
        viewer.frame();
}

But for using MFC, how can I create my window. Am I using
osg::GraphicsContext ? And how can I use osg::GraphicsContext for opening
MFC mod? I mean, How can a manage open my project in mfc?

Thanks so much. Best regards.

Umit UZUN
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to