Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to prevent CXTPRibbonBar from being hidden?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to prevent CXTPRibbonBar from being hidden?

 Post Reply Post Reply
Author
Message
wssdev View Drop Down
Groupie
Groupie


Joined: 04 May 2010
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote wssdev Quote  Post ReplyReply Direct Link To This Post Topic: How to prevent CXTPRibbonBar from being hidden?
    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!

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 10 September 2010 at 5:12am
Hi,

Call pRibbonbar->SetMinimumVisibleWidth(0);
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
wssdev View Drop Down
Groupie
Groupie


Joined: 04 May 2010
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote wssdev Quote  Post ReplyReply Direct Link To This Post Posted: 10 September 2010 at 5:17am
Perfect, thanks!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.031 seconds.