![]() |
Ribbon customization |
Post Reply ![]() |
Author | |
rdhd ![]() Senior Member ![]() ![]() Joined: 13 August 2007 Location: United States Status: Offline Points: 921 |
![]() ![]() ![]() ![]() ![]() Posted: 17 November 2009 at 5:26pm |
Is there a UI for customization of the command ribbon? All I have seen is EnableCustomization on the CXTPRibbonBar and then the limited ability to use the alt-key and then drag controls to move them around on the active tab.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
User can show Customize Dialog and drag controls from Dialg to any tab.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
rdhd ![]() Senior Member ![]() ![]() Joined: 13 August 2007 Location: United States Status: Offline Points: 921 |
![]() ![]() ![]() ![]() ![]() |
Does the ribbon sample have customization? I started the "customize QAT" command and dragged commands from the "Commands" page over the ribbon but the drag icon shows an "X" and the item won't drop into a group or onto the ribbon.
Is the full extent of customization just drag&drop of controls or is there the ability to add/hide tabs, groups and controls? Reordering? We are looking for an extensive customization solution. Something like Office 2010 type of customization.
|
|
![]() |
|
markr ![]() Senior Member ![]() Joined: 01 August 2004 Status: Offline Points: 443 |
![]() ![]() ![]() ![]() ![]() |
Right, the ribbon SDI sample does not call:
pRibbonBar->EnableCustomization(TRUE); You'll need to invoke this method if you want command-level customization in ribbon bar. Don't think this gives you customization of tabs or groups, though - not sure if this is supported(?). While we're on the subject, I've noticed that if I attempt to "reset" command customizations (from the "toolbars" tab of the customization dialog) it does not work. Oleg - is there an additional step required in order for this to work? |
|
![]() |
|
rdhd ![]() Senior Member ![]() ![]() Joined: 13 August 2007 Location: United States Status: Offline Points: 921 |
![]() ![]() ![]() ![]() ![]() |
When I drag a control over a popup, the control is added to the popup. But how do I get to controls on a popup to begin with? For instance, I enabled customization in your ribbon mdi sample. I can use the alt key to move a control and when I move over a popup, the popup opens and I can drop the control onto the popup.
But while a popup is popped, if I hit the alt key, the popup is dismissed. Hence I have no way of grabbing controls on a popup and moving them or deleting them (by dragging into an open area and dropping the control there).
|
|
![]() |
|
rdhd ![]() Senior Member ![]() ![]() Joined: 13 August 2007 Location: United States Status: Offline Points: 921 |
![]() ![]() ![]() ![]() ![]() |
By the way, the "reset" button on the customize dialog for the ribbon in the ribbon mdi sample does not seem to work. A message box appears asking me if I want to reset the contents but when I say ok, nothing is restored.
To see this, simply open MainFrm.cpp and define
CREATE_FROM_XML Then either comment out the EnableCustomization(FALSE) call on the ribbon or set the arg passed in to TRUE. Then run and move a button while holding down the alt key. Then run customize the qat and when the dialog appears select the Toolbars tab. Select the ribbon entry and click the reset command.Nothing is reset on the ribbon.
|
|
![]() |
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 |