共用方式為


WebBrowser.WndProc Method

Processes Windows messages.

Namespace:  Microsoft.Office.Tools.Word.Controls
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

Syntax

'Declaration
Protected Overrides Sub WndProc ( _
    ByRef m As Message _
)
protected override void WndProc(
    ref Message m
)

Parameters

Remarks

All messages are sent to the WndProc method after getting filtered through the PreProcessMessage method.

The WndProc method corresponds exactly to the Windows WindowProc function. For more information about processing Windows messages, see the WindowProc function documentation in the Windows Platform SDK reference located in the MSDN Library.

Notes to Inheritors

Inheriting controls should call the base class's WndProc method to process any messages that they do not handle.

Examples

For a code example that demonstrates how to use this method, see Control.WndProc.

.NET Framework Security

See Also

Reference

WebBrowser Class

Microsoft.Office.Tools.Word.Controls Namespace