Dear Infragistics Team
Our currently installed version is V10.3, WinForms.
We use the UltraToolBarsManager in our WinForms-Application for dynamically creating a MenuBar.
Everything works fabulous, except one thing:
If we define the CtrlW as a shortcut for a button on the menubar, the event 'ToolClick' is not fired whenever the user hits CTRL + W for closing the window.
However, when I disable the ShortCut CtrlW, set the property 'KeyPreview' of the MDI-Child to 'True' and handle the KeyDown-Event, then the CTRL + W combination gets caught!
So somehow the UltraToolBarsManager seems to be swallowing this ShortCut.
And the weird thing is: For anything but the CtrlW it seems to work!
Of course there is a workaround by manually handling every mdichild's keydown-event. But I would only handle the MenuBar ToolClick-Event for this.
I would be very pleased if you could explain me why this Shortcut is not working properly.
Kind Regards
Fabian Bigler
Hello ,
Usually Ctr+W is used to close the currently running window or tab. But the scenario which you describe it seems to me that in your MDIParenToolbarsManager you have a tool with same key as in your MDIChildToolbarsManager, but both tools have different ShortCut. If this is not the case then please provide me simple sample which demonstrates your issue and I will be glad to investigate this further for you.
I am waiting for your feedback.
Hi Hristo
Thanks for your answer, it brought me on the right track.In the MDIParent the same shortcut has already been assigned to a button. Small wonder it did not work as expected.
RegardsFabian
Please let me know if you need my further assistance on this matter.
Thank you for using Infragistics Components.