Share via


ActionsPane.PreProcessMessage Method

Preprocesses keyboard or input messages within the message loop before they are dispatched.

Namespace:  Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
Function PreProcessMessage ( _
    ByRef msg As Message _
) As Boolean
bool PreProcessMessage(
    ref Message msg
)

Parameters

  • msg
    Type: System.Windows.Forms.Message%
    A Message, passed by reference, that represents the message to process. The possible values are WM_KEYDOWN, WM_SYSKEYDOWN, WM_CHAR, and WM_SYSCHAR.

Return Value

Type: System.Boolean
true if the message was processed by the actions pane; otherwise, false.

Remarks

This method provides the same functionality as the Control.PreProcessMessage method. For more information about using this method, see Control.PreProcessMessage.

.NET Framework Security

See Also

Reference

ActionsPane Interface

Microsoft.Office.Tools Namespace

Other Resources

Actions Pane Overview