How to convert from Virtual Key codes to System.Windows.Forms.Keys
Use KeyInterop.KeyFromVirtualKey()
.
The integer values for System.Windows.Forms.Keys enum match that of the Win32 calls.
Keys keyData = (Keys)rawWin32KeyCode;
Use KeyInterop.KeyFromVirtualKey()
.
The integer values for System.Windows.Forms.Keys enum match that of the Win32 calls.
Keys keyData = (Keys)rawWin32KeyCode;