The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
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)
public:
[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::UnmanagedCode)]
PreProcessControlState PreProcessControlMessage(
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: