Method ProcessCmdKey
ProcessCmdKey(ref Message, Keys)
Processes a command key.
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
Parameters
msg
MessageA Message, passed by reference, that represents the Win32 message to process.
keyData
KeysOne 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.