I am writing an app and I would like to implement docking. I have two questions I would like to ask. I'll give 50 points for each question with a grade of A.
1. How do I prevent floating windows (which are undocked) from being closed? IE. If you undock a panel, it gives you a ToolWindow style window with a close control. I'll like to make it impossible for this ToolWindow to close.
2. How to you automatically show the docking caption bar in the application? I'll explain. If you have a control docked, by default you don't get the double lined caption bar above the control. The way I force this is to first undock the control using Control.ManualDock(nil) in the FormCreate, then Control.ManualDock(DockContainer) in the FormShow. This works well, but the docked controls flash up on the screen when they're being created. It's not neat.
Delphi manages this well with the Messages ListBox which docked at the bottom of the editor.
Thanks for any info.