IASClassMsgSink

This interface provides methods used to subclass the messaging and drawing functions of IASControl.

Method
Description
IASClassMsgSink::HandleClose Enables a control to notify its sink when a form closes the control.
IASClassMsgSink::HandleDraw Enables a control to notify its sink when drawing takes place.
IASClassMsgSink::HandleGotFocus Enables a control to notify its sink when the control gains focus.
IASClassMsgSink::HandleKeyPress Enables a control to notify its sink when a character key is pressed.
IASClassMsgSink::HandleLostFocus Enables a control to notify its sink when the control loses focus.
IASClassMsgSink::HandleMessage Enables a control to notify its sink when a message is received.
IASClassMsgSink::HandleStart Notifies the application that the control has started.

Remarks

The IASClassMsgSink interface extends the IDispatch interface.

To use this sink, create an object that exposes the IASClassMsgSink interface and place a pointer to it in the IASControl ClassMsgSink property. The control passes information on to the appropriate IASClassMsgSink method for processing. To implement only a subset of the IASClassMsgSink methods, have the remainder return S_FALSE. This indicates to the IASControl method that no processing has taken place.

See Also

IASControl