Method ProcessCmdKey
ProcessCmdKey(ref Message, Keys)
Processes a command key.
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
Parameters
msgMessageA Message, passed by reference, that represents the Win32 message to process.
keyDataKeysOne of the Keys values that represents the key to process.
Returns
- bool
true if the keystroke was processed and consumed by the control; otherwise, false to allow further processing.