Control.DefWndProc Method (Message)

 

Sends the specified message to the default window procedure.

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

[<SecurityPermissionAttribute(SecurityAction.InheritanceDemand,
    Flags = SecurityPermissionFlag.UnmanagedCode)>]
[<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)>]
abstract DefWndProc : 
        m:Message byref -> unit
[<SecurityPermissionAttribute(SecurityAction.InheritanceDemand,
    Flags = SecurityPermissionFlag.UnmanagedCode)>]
[<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)>]
override DefWndProc : 
        m:Message byref -> unit

Parameters

m
Type: System.Windows.Forms.Message

The Windows Message to process.

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

SecurityPermission

for inheriting classes to call unmanaged code. Associated enumeration: SecurityPermissionFlag.UnmanagedCode.

SecurityPermission

for the immediate caller to call unmanaged code. Associated enumeration: SecurityPermissionFlag.UnmanagedCode.

.NET Framework
Available since 1.1
Return to top
Show: