I know this has been asked many times, but I haven't seen a solution to my particular requirements.
I've got two toolbars and I want them to appear side by side. I know I can do this using "DockControlBar" and the "DockControlBarLeftOf" routine in the MS samples, BUT I **DON'T** want the tool bars to be dockable. As soon as I remove the EnableDocking() calls to the toolbars and main frame window, I get an assert error whenever you make a call to "DockControlBar" (which is necessary to get them side by side).
So either of two solutions will be accepted:
1) Tell me how I can turn off docking AFTER the calls to DockControlBar. (Simply calling EnableDocking(0) doesn't work, since you can still remove the tool bars from the frame - it just doesn't allow you to re-dock them. I want the toolbars to always be static).
or 2) Tell me how to position the toolbars side by side without calling EnableDocking.