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
- m
Type: System.Windows.Forms.Message%
The Windows Message to process.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.