System.Windows.Forms.AxHost.IsInputChar Method

Determines if a character is an input character that the ActiveX control recognizes.

Syntax

protected override bool IsInputChar (char charCode)

Parameters

charCode
The character to test.

Returns

true if the character should be sent directly to the ActiveX control and not preprocessed; otherwise, false.

Remarks

The AxHost.IsInputChar(char) method is called during window message preprocessing to determine whether the given input character should be preprocessed or sent directly to the ActiveX control. The preprocessing of a character includes checking whether the character is a mnemonic of another control.

As implemented in the System.Windows.Forms.AxHost class, the AxHost.IsInputChar(char) method always returns true, so the specified character is sent directly to the ActiveX control.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0