ComponentEditorForm::PreProcessMessage Method (Message%)
.NET Framework (current version)
Provides a method to override in order to preprocess input messages before they are dispatched.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::UnmanagedCode)] virtual bool PreProcessMessage( Message% msg ) override
Parameters
- msg
-
Type:
System.Windows.Forms::Message%
A Message that specifies the message to preprocess.
Return Value
Type: System::Booleantrue if the specified message is for a component editor page; otherwise, false.
PreProcessMessage is called by the application's message loop to preprocess input messages before they are dispatched.
NamedPermissionSetSecurityPermission
for full access to system resources. Demand values: LinkDemand, InheritanceDemand. Associated state:
for access to unmanaged code. Associated enumeration: UnmanagedCode
.NET Framework
Available since 1.1
Available since 1.1
Show: