Bearbeiten

Freigeben über


StatusStrip.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.

Remarks

The Message structure wraps messages that Windows sends. You can use this structure to wrap a message and assign it to the window procedure to be dispatched. You can also use this structure to get information about a message the system sends to your application or controls.

You cannot create the Message structure directly. To create a Message structure, use the Create method. To make creating Message structures more efficient, the Message structure uses its pool of existing Message structures instead of creating an instance of a new one, if possible. However, if a Message structure is not available in the pool, a new instance of the structure is created.

Applies to