Page 1 of 1

Dock/Undock windows using mouse cursor

Posted: 20 Mar 2014, 22:15
by Maddy123
I am want to implement docking/undocking windows in my application. I am using Ogre. Can you guide me for this?

Re: Dock/Undock windows using mouse cursor

Posted: 21 Mar 2014, 16:09
by sfernandez
You can create a UserControl (DockManager) that allows adding children items (via a Collection property) that will be organized inside the UserControl using a DockPanel. And another UserControl (DockWindow) that allows you to drag it and dock it inside the DockManager.