ActionsPane.PreProcessControlMessage 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 PreProcessControlMessage ( _
ByRef msg As Message _
) As PreProcessControlState
PreProcessControlState PreProcessControlMessage(
ref Message msg
)
Parameters
msg
Type: System.Windows.Forms.Message%A Message that represents the message to process.
Return Value
Type: System.Windows.Forms.PreProcessControlState
One of the PreProcessControlState values, depending on whether PreProcessMessage is true or false.
Remarks
This method provides the same functionality as the Control.PreProcessControlMessage method. For more information about using this method, see Control.PreProcessControlMessage.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools Namespace