Hardeep Singh
April 3rd, 1999, 02:41 AM
I created a toolbar that is initially docked vertically, to the left of the window. When I add a separator, it is shown as a small vertical line to the left of the next item, but I want it to be a horizontal line above it.
What could be wrong?
darwen
January 30th, 2002, 11:43 PM
I've had loads of problems with toolbars similar to this.
If I remember rightly, there's a last size in the MRU stuff in the toolbar. You need to set that to being its vertical height/width, not its horizontal.
I can't remember exactly, but if you use browse to look through CToolbar I'm sure you'll find what I mean.
I tend to do this kind of stuff in the CalcDynamic/CalcFixed overrides in the toolbar class.
Darwen.