AxHost.preProcessMessage

Overview | Methods | This Package | All Packages

AxHost.preProcessMessage

Preprocesses messages directed to this control before the messages are sent to the control's window procedure.

Syntax

public boolean preProcessMessage( MSG msg )

Parameters

msg

An MSG structure that specifies the message to preprocess. Possible values for this parameter include WM_KEYDOWN, WM_SYSKEYDOWN, WM_CHAR, and WM_SYSCHAR.

Return Value

Returns true if this method processes the message; otherwise, returns false.

Remarks

This method is called by the application message loop to pre-process input messages before the messages are dispatched to the application's window procedure.

If this method preprocesses the method and returns true, the message is not passed to the application's window procedure.

This method should not be called directly by the application developer.

See Also   wndProc