Control.DefWndProc Method (Message)
.NET Framework (current version)
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Sends the specified message to the default window procedure.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
<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.
SecurityPermissionSecurityPermission
for inheriting classes to call unmanaged code. Associated enumeration: SecurityPermissionFlag.UnmanagedCode.
for the immediate caller to call unmanaged code. Associated enumeration: SecurityPermissionFlag.UnmanagedCode.
.NET Framework
Available since 1.1
Available since 1.1
Show: