![]() |
How to prevent CXTPRibbonBar from being hidden? |
Post Reply ![]() |
Author | |
wssdev ![]() Groupie ![]() Joined: 04 May 2010 Status: Offline Points: 19 |
![]() ![]() ![]() ![]() ![]() Posted: 10 September 2010 at 5:03am |
I would like to make my CXTPRibbonBar permanently visible. Currently, when I reduce the height of my main application window to a certain point (say, to 100-200 pixels), the ribbon completely disappears. The ribbon sample applications behave the same way. I'm guessing the idea is, when the space is limited, to give the priority to the content. However, I want exactly the opposite: I want the ribbon to use the available space, and the content to be displayed only if there is some remaining space left. With regular controls, there is setHideFlags(xtpNoHide). Is there something similar for ribbon? Thanks in advance! |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Call pRibbonbar->SetMinimumVisibleWidth(0); |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
wssdev ![]() Groupie ![]() Joined: 04 May 2010 Status: Offline Points: 19 |
![]() ![]() ![]() ![]() ![]() |
Perfect, thanks!
|
|
![]() |
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 |