ComponentEditorForm::PreProcessMessage Method (Message%)

 

Provides a method to override in order to preprocess input messages before they are dispatched.

Namespace:   System.Windows.Forms.Design
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::Boolean

true 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.

NamedPermissionSet

for full access to system resources. Demand values: LinkDemand, InheritanceDemand. Associated state:

SecurityPermission

for access to unmanaged code. Associated enumeration: UnmanagedCode

.NET Framework
Available since 1.1
Return to top
Show: