IASControl::KeyPress

This method handles WM_CHAR messages.

Syntax

HRESULT KeyPress( long lKeyDown );

Parameters

lKeyDown
Long integer that contains the Unicode keycode.

Return Values

NOERROR indicates that the control handled the message. S_FALSE indicates that the control did not handle the message. If an error occurs, the appropriate HRESULT value is returned.

Remarks

If a message sink exists, the control forwards the message to the IASClassMsgSink::KeyPress method.

See Also

IASClassMsgSink::HandleKeyPress