Automatic hide empty group? |
Post Reply |
Author | |
maxxan
Groupie Joined: 15 July 2009 Status: Offline Points: 49 |
Post Options
Thanks(0)
Posted: 19 December 2011 at 9:58am |
I've got some buttons in context tabs that are automatically set to visible/hidden in its update command handlers from the current view.
The problem is that for some views the ribbon group becomes empty, which is ugly. I thought I could check in OnRibbonUpdate for empty group and hide it. The problem with that is that when a group is hidden, the buttons inside it will never get a call to its update handlers. So if another window gets focus and the buttons/group should be visible, it still is hidden. Is there any better way to hide empty groups or maybe force the update handlers for the buttons inside the group to be called even if the group is hidden?
|
|
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 |