#Metro Set Ui Key Events dont work
13 messages · Page 1 of 1 (latest)
tried that too
keydown, keypress and keyup
what key(s) are you processing>?
enter
duh
To handle keyboard events only at the form level and not enable other controls to receive keyboard events, set the KeyPressEventArgs.Handled property in your form's KeyPress event-handling method to true. Certain keys, such as the TAB, RETURN, ESC, and arrow keys are handled by controls automatically. To have these keys raise the KeyUp event, you must override the IsInputKey
RETURNin Windows is usually <Enter> key
oh where do i remove the isinputkey?
click the link in that document
ai8 thanks amma try it and update ya
The code example. it's dotnet 4.8, but should be the same conceptually
https://learn.microsoft.com/en-us/dotnet/desktop/wpf/advanced/how-to-detect-when-the-enter-key-pressed?view=netframeworkdesktop-4.8