Should be an easy one. What is the value of the AltGr key in the System.Windows.Forms.Keys enumerator?
I've looked through it and can't see anything obvious ('AltrGr' no, 'RAlt' no, 'GrAlt' no).
Updated - Answered:
if (ModifierKeys == ( Keys.Control | Keys.Alt ) )
{
// AltGr is held down
}
Most keyboards do still include this key.
You're looking for RMenu.
MSDN description:
The right ALT key.
From my minimal research on Google, in Windows you can substitue Ctrl + Alt to get the equivalent of the AltGr key. I don't think new keyboards have that key anymore.
Chris
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With