Hello,I've an ultraExplorerBar with OutlookNavigationPane style and 4 groups. When you click on the ">>" button then click "Show Fewer Buttons" Stickynote icons appear which represent a group navigation button.Now I collapse the NavigationPane with "<<".The Stickynote icons appear in the ">>" context menu. I want to catch the click event of that sticky note button in the context menu ">>".ultraExplorerBar1_GroupClick won't do.
Thanksmigeold.
The control fires the NavigationContextMenuInitializing event before that context menu is displayed. You can probably hook the Click event of that menu item, if you can identify it. I can't recall whether there is a robust way to do that (the menu item's Text can be changed, so casing off that might not be a good idea). If you can't reference the menu item, you could remove it altogether and replace it, and hook the Click event of that menu item; in either case you would then receive a notification when the menu item is clicked.
Hi,the NavigationContextMenuInitializing event does not fire when I left-click at the little group icon located in the ">>" menu. Maybe because that menu is a "real" menu and not a "context" menu?But I found an answer to my question: use the SelectedGroupChanged event instead of the GroupClick event.The SelectedGroupChanged event fires each time the selected group is changed, even when you click at the little group icon in the ">>" menu when the navigation pane is collapsed and the splitter is moved down until all group icons are located in the ">>" menu only.For me it fits perfectly, but other users will notice the little difference: SelectedGroupChanged event fires only when the group is changed, GroupClick event fires each time when you click at the group.Thank you very much for your help!migeold.