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

Control.PreProcessControlMessage 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)

[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
public 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 and whether IsInputKey or IsInputChar are trueor false.

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