This is a migrated thread and some comments may be shown as answers.

RadShortcut does not work with special key such as L/RWin key, Numpad, Arrow Up/Down/Left/Right

1 Answer 9 Views
Documentation
This is a migrated thread and some comments may be shown as answers.
SamLu
Top achievements
Rank 1
SamLu asked on 20 Jun 2018, 08:13 AM

I am trying to implement shortcut key for my application and I try to use RadShortcuts to add into Shortcuts property of component such as TextBoxElement, ButtonElement. But it seems that the RadShortcuts does not work as I expected. 

For Ex: 

1. I create a RadShortcut with combination of Shift+LWin+M, there is no event fired.

2. I use Shift+M+LWin -> it works.

Any one know how to create RadShortcut as #1 ?

Thanks in advance, 

Hung

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 21 Jun 2018, 10:08 AM
Hi Hung,

Thank you for writing.

The pressed keys are handled by a special class which is filtering the Windows messages reaching the application. The LWin + M combination appears to be reserved to the operating system and it is responsible for minimizing the windows: https://support.microsoft.com/en-us/help/12445/windows-keyboard-shortcuts. Such a combination is filtered before reaching the Winforms application, hence the shortcut will not raise the event.

Regards,
Hristo
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Documentation
Asked by
SamLu
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or