Saturday, 24 August 2013

, how to hide some panels on a category?

, how to hide some panels on a category?

I'm using BCGControlBar Library(17), there are some panels on a category,
for example : a b and c. Sometimes I want to show a and b, then c should
be hidden, sometime I want to show b and c, so a should be hidden. Now
what I can do is using
CBCGPRibbonCategory::RemovePanel
to remove panel from category, and add it to category when I want to show
it, but I don't like this way, anyone knows a better method? thanks!

No comments:

Post a Comment