mrjt Messages: 705 Registered: March 2007 Location: London
Contributor
Hi,
Do you mean that you want the client area of the DockWindow (the grey bit in the middle) to be completely filled by the docked ctrls?
Just to be clear, the client area is the space where the code would be in Visual Studio.
If so then it's not really possible. You could maybe use DockWindow::SetFrameSize:
SetFrameSize(DockWindow::DOCK_LEFT, sz.cx);
(where sz is the size of the window from GetRect)
But there are potential problems that make a general solution quite difficult. Somebody else is asking for the ability to dock a window to the client area which I think would solve your problem, so I'll think about it and see what I can come up with.