NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Control.IsInputKey

Determines if keyData is an input key that the control wants. This method is called during window message pre-processing to determine whether the given input key should be pre-processed or sent directly to the control. If isInputKey returns true, the given key is sent directly to the control. If isInputKey returns false, the key is pre-processed and only sent to the control if it is not consumed by the pre-processing phase. Keys that are pre-processed include TAB, RETURN, ESCAPE, and arrow keys.

[Visual Basic]
Overridable Protected Function IsInputKey( _
   ByVal keyData As Keys _
) As Boolean
[C#]
protected virtual bool IsInputKey(
   Keys keyData
);
[C++]
protected: virtual bool IsInputKey(
   Keys keyData
);
[JScript]
protected function IsInputKey(
   keyData : Keys
) : Boolean;

Parameters

keyData
key to test.

Return Value

true if key should be sent directly to control, false if key should first be pre-processed.

See Also

Control Class | Control Members | System.WinForms Namespace