![]() |
Docking Toolbars Next To Each Other |
Post Reply ![]() |
Author | |
MScribano ![]() Newbie ![]() ![]() Joined: 21 April 2004 Location: United States Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() Posted: 21 April 2004 at 11:37am |
How can allow toolbars to dock next to one another? When moving a toolbar up to the menu bar, for example, the menu bar will jump down and vice versa. Thanks. |
|
-Mike |
|
![]() |
|
AliRafiee ![]() Groupie ![]() Joined: 06 May 2004 Status: Offline Points: 32 |
![]() ![]() ![]() ![]() ![]() |
You can use CXTPFrameWndBase::DockRightOf() Method. Ali |
|
![]() |
|
Kenneth ![]() Senior Member ![]() ![]() Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
![]() ![]() ![]() ![]() ![]() |
But it appears that you cannot dock a toolbar to the right of a CXTPCommandBar* pMenuBar. Is that correct? Say I have an animation toolbar. I can dock that to the right of a toolbar, but not to the right of the MenuBar. Or am I doing something wrong? Ken
|
|
![]() |
|
Ark42 ![]() Senior Member ![]() ![]() Joined: 20 October 2003 Status: Offline Points: 291 |
![]() ![]() ![]() ![]() ![]() |
The menubar has a flag set that makes it take up the entire available width, so you can't really dock anything next to that. I'm not sure if you can remove that flag from the menu bar or not though. |
|
![]() |
|
Kenneth ![]() Senior Member ![]() ![]() Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
![]() ![]() ![]() ![]() ![]() |
Must not be possible since no developer has replied.
|
|
![]() |
|
Ark42 ![]() Senior Member ![]() ![]() Joined: 20 October 2003 Status: Offline Points: 291 |
![]() ![]() ![]() ![]() ![]() |
Yes, you can, just remove the xtpFlagStretched from the menubar and you can dock things next to it. |
|
![]() |
|
Kenneth ![]() Senior Member ![]() ![]() Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
![]() ![]() ![]() ![]() ![]() |
Ark42 You are correct! It works like a charm. BTW, thanks for your Windows 98/ME/2000 color themes. They really make our clients very happy!
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |