ExpandButtonsAlways Problem |
Post Reply |
Author | |
Kenneth
Senior Member Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
Post Options
Thanks(0)
Posted: 05 August 2004 at 11:53am |
In Xtreme Toolkit Pro, versions 9000 and 9100, if you set bShowExpandButtonsAlways=FALSE, the command barswill not align to the application right border correctly. This can be seen by adding: GetCommandBars()->GetCommandBarsOptions()->bShow ExpandButtonAlways = FALSE; in the Mainfrm.cpp, OnCreate function in the CommonControls sample. There are four command bars in this sample, and all have the problem except for the on commandbar that has three radio buttons. In addition to not aligning correctly to the application right border, they will also leave a gap between two adjoining commandbars on the same row.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Was bug with Toolbars with single buttons. To fix in CXTPToolBar::CalcDockingLayout replace if (dwMode & LM_HORZDOCK) to if (m_pControls->GetVisibleCount() > 1)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Kenneth
Senior Member Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
Post Options
Thanks(0)
|
That fixed it. Many thanks for this and the XTColorDialog fix.
|
|
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 |