StatusStrip.WndProc Method (Message)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Processes Windows messages.

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

[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
protected override void WndProc(
	ref Message m
)

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: