yoavo
asked on
docking toolbars problem
hi,
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).
ShowControlBar
The problem is that sometimes the docking toolbars starts a new line.
Can someone give me a hint what can cause this ?
Yoav.
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).
ShowControlBar
The problem is that sometimes the docking toolbars starts a new line.
Can someone give me a hint what can cause this ?
Yoav.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.