Originally posted by: JC
Thank you mate. This savesd me lot of work ;-)
ReplyOriginally posted by: ZogZog.inside
Thanks, is just what i need!!!
Reply
Originally posted by: Peter Schmidt
I have the problem, that my two Toolbars are not created during the startup. One Toolbar ist load when the mainframe is created (as usual). My second Toolbar will be loaded by a DLL in a separate function call in the OnCreate-message of the View-Window. An then your code will not work correctly but shows the ToolBars in two lines. Could you help me? Thanx, Peter
ReplyOriginally posted by: RiCK
Works for Dialog Bar too. Excellent !
Rick
ReplyOriginally posted by: Ralf Pichocki
Thanks, I was just looking for this soultion,
but (sorry if my English is too poor);
Why is the method called DockControlBarLeftOf()
if it docks a control bar at the RIGHT side of another?
Regards, Pi.
Originally posted by: Tom Welch
Then when you call the function just cast:
Just replace CToolBar with CControlBar in the code above...
DockControlBarLeftOf((CControlBar*)&m_wndDlgBar, (CControlBar*)&m_wndToolBar);
Originally posted by: phantom
i'm trying to dock the client mobule's toolbar on the left of a container toolbar in a active document model, but the client has the document frame as parent, and owner, and changing this to the mainframe doesn't change anything...
so if somebody could help me ...
(toolbars can't be on the same row and that's I want to do, they are set to be dockable)
Reply
Originally posted by: Andreas Pilich
Just what I wanted !
ReplyOriginally posted by: Oosman
Thanks
ReplyOriginally posted by: Uwe Kotyczka
You should replace
rect.OffsetRect(1,0);
by
rect.OffsetRect(1,1);
to let vertical toolbars appear in the correct order.
Reply