IASControl::ReceiveMsg

This method allows a control to receive messages.

Syntax

HRESULT ReceiveMsg( long uMsg, long wParam, long lParam );

Parameters

uMsg
Specifies the message to process.
wParam
Long integer that contains the wParam of a message.
lParam
Long integer that contains the lParam of a message.

Return Values

NOERROR indicates success. 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 its IASEventSink::ReceiveMsg method. WM_CHAR messages are handled by IASControl::KeyPress.

See Also

IASControl::KeyPress, IASEventSink::ReceiveMsg