Dock/Undock windows using mouse cursor
I am want to implement docking/undocking windows in my application. I am using Ogre. Can you guide me for this?
-
-
sfernandez
Site Admin
- Posts: 2908
- Joined:
Re: Dock/Undock windows using mouse cursor
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.