Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - CXTPRibbonGroup visibility
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPRibbonGroup visibility

 Post Reply Post Reply
Author
Message
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 891
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Topic: CXTPRibbonGroup visibility
    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?
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.047 seconds.