This documentation is archived and is not being maintained.
Control.DefWndProc Method
.NET Framework 1.1
Sends the specified message to the default window procedure.
[Visual Basic] Protected Overridable Sub DefWndProc( _ ByRef m As Message _ ) [C#] protected virtual void DefWndProc( ref Message m ); [C++] protected: virtual void DefWndProc( Message* m ); [JScript] protected function DefWndProc( m : Message );
Parameters
- m
- The Windows Message to process.
Remarks
For more information about processing Windows messages, see the WindowProc function documentation in the Windows Platform SDK reference located in the MSDN Library.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
.NET Framework Security:
- 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
See Also
Control Class | Control Members | System.Windows.Forms Namespace | WndProc
Show: