PreProcessMessage Method
TOC
Collapse the table of content
Expand the table of content

AxHost.PreProcessMessage Method (Message)

 

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public override 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 control; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft