AltGr in System.Windows.Forms.Keys enumerator

It should be easy. What is the key value AltGrin the System.Windows.Forms.Keys enumerator?

I looked through it and I see nothing obvious ("AltrGr" no, "RAlt" no, "GrAlt" no).

Updated - replied:

if (ModifierKeys == ( Keys.Control | Keys.Alt ) )
{
    // AltGr is held down
}
+3
source share
3 answers

From my minimal research on Google, on Windows, you can replace Ctrl + Alt to get the equivalent of the AltGr key. I do not think that new keyboards already have this key.

Chris

+4
source

On most do keyboards, this key is enabled.

You are looking for RMenu.

MSDN Description:

ALT.

+2

VK_LMENU 0xA4 ALT

VK_RMENU 0xA5 Right ALT

0
source

Source: https://habr.com/ru/post/1706057/


All Articles