I'm using UltraToolbarsManager with
"ultraToolbarsManager1.Ribbon.FileMenuStyle = FileMenuStyle.ApplicationMenu2010"
and my App. has two tabs, "File" and "Home".
In "File" tab, The shortcut Key for exit is Alt + X. But I want to exit my App. with Alt + F4, too.
How can i do?
Please answer my question!!
Hello hedgehog0213,
Maybe one possible approach to achieve desired behavior could be if you are using a tool which shortcut is Alt+X with implemented code to close your application. By this way the default behavior of Alt+F4 still exist. Please take a look at the attached sample for more details and let me know if you have any questions.
Regards
Hi, Georgi
Thank you for my question. But you don't understand my question exactly.
I confirmed the attached sample, and in "Form1.Designer.cs",
if you insert the following code
"this.ultraToolbarsManager1.Ribbon.FileMenuStyle = Infragistics.Win.UltraWinToolbars.FileMenuStyle.ApplicationMenu2010;",
the App. is not exited with "Alt + F4".
Exactly, what I want is "Alt + X" and "Alt + F4" is same in "File" tab with "FileMenuStyle.ApplicationMenu2010" style.
I'm sorry to bother you, but please answer my question again.