Export (0) Print
Expand All
Expand Minimize

Control.DefWndProc Method

Sends the specified message to the default window procedure.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

'Declaration
<SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags := SecurityPermissionFlag.UnmanagedCode)> _
<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags := SecurityPermissionFlag.UnmanagedCode)> _
Protected Overridable Sub DefWndProc ( _
	ByRef m As Message _
)

Parameters

m
Type: System.Windows.Forms.Message

The Windows Message to process.

For more information about processing Windows messages, see the WindowProc function.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Show:
© 2015 Microsoft