stalker87
03-06-2007 20:27:18
Hi all !
How i can render my OgreApplication in a windows form or in a panel or whatever i want with Visual c++.net?
I tried to pick handle's panel in this way:
But i have no good result :\
I must use Mogre for this ?
How i can render my OgreApplication in a windows form or in a panel or whatever i want with Visual c++.net?
I tried to pick handle's panel in this way:
Ogre::String hndStr = Ogre::StringConverter((size_t)(HWND)panel1->Handle.ToPointer());
mRoot->showConfigDialog();
mRoot->initialise(false);
Ogre::ValuePairList par;
par["externalWindowHandle"] = hndStr;
mRoot->createRenderWindow( "MyWin", 800, 600, false, &par );
But i have no good result :\
I must use Mogre for this ?