![]() |
Multiple Toolbars on Top row by default |
Post Reply
|
| Author | |
Warren
Groupie
Joined: 23 February 2005 Status: Offline Points: 64 |
Post Options
Thanks(0)
Quote Reply
Topic: Multiple Toolbars on Top row by defaultPosted: 07 February 2006 at 10:37am |
|
I have 4 fairly short toolbars (just plain-vanilla CXTPToolbar toolbars). There is MORE than enough room to fit them all across one row on the screen (I separate them into separate toolbars, for logical/layout reasons) . By default, when the application initially starts up, the toolbars stack vertically, and the arrangement I get is: The arrangement I want is: The user can drag the toolbars into place, but it gives an ugly first impression. How do I do this programmatically?
|
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 February 2006 at 11:28am |
|
//---------------------------------------------------------- -------------
// Summary: // This member function will re-dock a toolbar specified by 'pBarToDock' // to the right of a newly docked toolbar specified by 'pBarOnLeft'. // Parameters: // pBarToDock - A CXTPToolBar pointer to the toolbar to be docked. // pBarOnLeft - A CXTPToolBar pointer to the already docked toolbar. //---------------------------------------------------------- ------------- void DockRightOf(CXTPToolBar* pBarToDock, CXTPToolBar* pBarOnLeft) Example: DockRightOf(pFormatBar, pStandardBar); |
|
![]() |
|
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 |