Print Page | Close Window

How to prevent CXTPRibbonBar from being hidden?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=17228
Printed Date: 20 June 2025 at 2:10pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to prevent CXTPRibbonBar from being hidden?
Posted By: wssdev
Subject: How to prevent CXTPRibbonBar from being hidden?
Date 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!




Replies:
Posted By: Oleg
Date Posted: 10 September 2010 at 5:12am
Hi,

Call pRibbonbar->SetMinimumVisibleWidth(0);

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: wssdev
Date Posted: 10 September 2010 at 5:17am
Perfect, thanks!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net