WebBrowser.WndProc(Message) 方法

定义

处理 Windows 消息。

protected override void WndProc (ref System.Windows.Forms.Message m);

参数

m
Message

要处理的 Windows Message

示例

有关演示如何使用此方法的代码示例,请参见 System.Windows.Forms.Control.WndProc

注解

通过方法进行筛选后,所有消息都将发送到 WndProc 方法 PreProcessMessage

WndProc 方法与 Windows WindowProc 函数完全对应。 有关处理 Windows 消息的详细信息,请参阅 WindowProc MSDN library 中的 Windows PLATFORM SDK 参考中的功能文档。

继承者说明

继承控件应调用基类的 WndProc(Message) 方法来处理其不处理的所有消息。

适用于