Hi,
I am currently working with an UltraDockWorkspace containing DockableControlPane windows.I wanted to use the MouseEnterElement and MouseLeaveElement events to modify the system shortcut menu that appears on the window tab as shown in the attached image but these events are not triggered when I move with the mouse on the tab.Do you know the mouse events to use to hide items in the system menu that can be seen in the image?thank you in advance
Regards
Hi Pokorny,
What control are you using? If you are using TabbedMDIManager, you can use the InitializeContextMenu event instead of the mouse to handle this. If InitializeContextMenu doesn't work or is not available, I recommend using MouseDown and using ElementFromPoint to determine what UI Element was clicked.
If the above options do not work, then I will help you to investigate why the MouseEnterElement and MouseLeaveElement events are not working as expected. If you would like to use this approach, please send a reproduction sample that I can use to determine what is preventing the events from firing properly. If you do not wish to upload a sample on the public forum, please let me know and I will create a private case for you.