In my application I dock toolbars one next to the other. I have several set of toolbars for every document type.
when the user switches between views, I save in a data structure the position of all the toolbars of the de-activate document, and "load" the position of the toolbars of the activated document.
For re-docking the toolbars (when switching views), I'm using these functions :
DockControlBar (given the CRect of each toolbar).
The problem is that sometimes the docking toolbars starts a new line.
Can someone give me a hint what can cause this ?