WebBrowser.WndProc(Message) Method

Definition

Processes Windows messages.

protected:
 override void WndProc(System::Windows::Forms::Message % m);
protected override void WndProc (ref System.Windows.Forms.Message m);
override this.WndProc : Message -> unit
Protected Overrides Sub WndProc (ByRef m As Message)

Parameters

m
Message

The Windows Message to process.

Examples

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

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(Message) method to process any messages that they do not handle.

Applies to