Print Page | Close Window

CXTPRibbonGroup visibility

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=15810
Printed Date: 20 January 2025 at 8:34pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPRibbonGroup visibility
Posted By: rdhd
Subject: CXTPRibbonGroup visibility
Date Posted: 09 December 2009 at 5:28pm

How can I tell if a ribbon bar group is not visible because I called SetVisible( FALSE )? That is, I need to know the difference between a group that is not visible because it was specifically set to be so versus the case where the user simply does not "see" the group because it is currently not displayed due to some fact such as ribbon layout issues or it not being on the selected tab.

Any group that is not on the selected tab returns FALSE for IsVisible(). So, unlike a control, where I can pass in the skip flag and find that the control was set to not be visible by the developer (our customization code does this and the hide flag is set to xtpHideGeneric), I have not found a way to do the same for a group.
 
Also, it appeas to be so, but does anyone know for sure if I can rely on the CXTPRibbonTab's IsVisible() method to only return FALSE if I specifically called SetVisible(FALSE). If now, under what circumstances will it return FALSE when I have not made that call?



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