abbreviated ribbon group |
Post Reply |
Author | |
ibmldev
Groupie Joined: 17 October 2006 Status: Offline Points: 19 |
Post Options
Thanks(0)
Posted: 20 October 2008 at 3:46pm |
If I add enough groups to a tab on my ribbon, the groups at the right end will become abbreviated--instead of the group, there will be a smaller button that you can press to show the group.
I have a "kill" button control in each of these groups which causes me to remove the group when it is clicked. But I can't remove such an abbreviated group from the tab, because it is apparently not there anymore--replaced by the button, I suppose. group->getCaption() returns the group's caption, but group->getIndex() returns -1 if the group is abbreviated. I would like to know (1) is there a way to force a group to be visible, even if other groups become abbreviated to make room for it; and (2) is it possible for the ribbon bar to scroll horizontally instead of abbreviating the groups? Also, (3) is there a way to know that there is a button which represents a group? Is there an object in the tab for the button? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Call pGroup->AllowReduce(3); for groups.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
ibmldev
Groupie Joined: 17 October 2006 Status: Offline Points: 19 |
Post Options
Thanks(0)
|
That was exactly what I needed, thanks! I'm very pleased with that.
Can you describe how the levels 0-3 differ, in what reduction is allowed? I gather that 3=no reduction and 0=full reduction, but what about 1 and 2? I couldn't see any difference when I tried them--they looked like 3 did... Another question -- If I size the main window down so that groups don't fit, this prevents the group from being reduced to a button. But the group is still squeezed down sometimes, with the result that some controls are shown in abbreviated form. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Yes its Reduce 1 and 2.
Call pGroup->AllowReduce(0); to prevent all Reduce.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
ibmldev
Groupie Joined: 17 October 2006 Status: Offline Points: 19 |
Post Options
Thanks(0)
|
Ah, I see how it works now. Thanks for your patience.
|
|
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 |