Hi.
Mouse button right click on a ribbon tool popups menu with offering "Add tool to Quick Access Toolbar".
That works fine with button tools. But it causes trouble with state button tools (application just collapses).
How could it be handled?
The second, I don't want user to have an ability to add to Quick Access Toolbar tools , merged from mdi child form.
But the menu popus and offers to do so. Is there a way to disallow this action on merged tools?
I use NetAdvantage 7.1.20071.1055.
Thanks in advance.
The same is true for showing the whole menu. The guidelines state that right clicking on the ribbon must show a context menu with certain menu items. So setting Cancel to True has no effect because the menu must be shown when Office2007UICompatibility is True.
Oke, well i just dont show the whole menu, with items wich may not be added to the QAT,
private void ultraToolbarsManager1_BeforeToolbarListDropdown( object sender, BeforeToolbarListDropdownEventArgs e ){
e.cancel = true;
}
Because it is stated in the Office 2007 UI Guidelines that these menu items should be shown. Therefore, any changes to ShowQuickAccessToolbarAddRemoveMenuItem are ignored when Office2007UICompatibility is True.
Why do you have to set the Office2007UICompatibility false??
I want to use Office2007UICompatibility, and would like to prevent some tools from being added to the QAT....
I have Office2007UICompatibility = true. it stays true :)
Thank you, Mike.
This event is exactly what I needed.