Control.DefWndProc(Message) 方法

定义

向默认窗口过程发送指定消息。Sends the specified message to the default window procedure.

protected:
 virtual void DefWndProc(System::Windows::Forms::Message % m);
protected virtual void DefWndProc (ref System.Windows.Forms.Message m);
abstract member DefWndProc : Message -> unit
override this.DefWndProc : Message -> unit
Protected Overridable Sub DefWndProc (ByRef m As Message)

参数

m
Message

要处理的 Windows MessageThe Windows Message to process.

注解

有关处理 Windows 消息的详细信息,请参阅WindowProc 函数For more information about processing Windows messages, see the WindowProc function.

安全性

SecurityPermission
供直接调用方调用非托管代码。for the immediate caller to call unmanaged code. 关联的枚举:UnmanagedCodeAssociated enumeration: UnmanagedCode.

适用于

另请参阅