Control.PreProcessControlMessage Method (Message)
.NET Framework (current version)
Preprocesses keyboard or input messages within the message loop before they are dispatched.
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.PreProcessControlStateOne of the PreProcessControlState values, depending on whether PreProcessMessage is true or false and whether IsInputKey or IsInputChar are true or false.
.NET Framework
Available since 2.0
Available since 2.0
Show: