How to create several windows inside a WinForm app?

nolver

05-12-2005 10:06:59

I'm creating an editor, using c# and ogredotnet, that allows me to define scenes, particles, paths and some other OGRE stuff visually, and save/load them to/from a file.

The application currently has different kind of elements, divided in 3 categories: resources (textures, model, materials, particles...), scene (node, camera, lights) and demo (sequences, paths, animators...)

The way I wan it to work, when I double-click one of my existing elements, a new Tab is opened with the propper editor for this element (as Visual Studio works, when you double-click any element in Solution Explorer).

The fact is that I need several OGRE windows, integrated inside panels (or any other WinForm control). As far as I know, you can only specify a Winform control once in the Initialise methos of Root obejct.

¿This mean I can only create 1 window using a Winform control?

If that's the case, how could I work around this?