StatusStrip::WndProc Method (Message%)

 

Processes Windows messages.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected:
[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::UnmanagedCode)]
virtual void WndProc(
	Message% m
) override

Parameters

m
Type: System.Windows.Forms::Message%

The Windows Message to process.

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.

.NET Framework
Available since 2.0
Return to top
Show: