Processes a dialog key. Overrides Control.processDialogKey(). This method implements handling of the RETURN, and ESCAPE keys in dialogs. The method performs no processing on keys that include the ALT or CONTROL modifiers.
[Visual Basic] Overrides Protected Function ProcessDialogKey( _ ByVal keyData As Keys _ ) As Boolean [C#] protected override bool ProcessDialogKey( Keys keyData ); [C++] protected: override bool ProcessDialogKey( Keys keyData ); [JScript] protected override function ProcessDialogKey( keyData : Keys ) : Boolean;
true to consume the key, false to allow further processing.