ListBox.WndProc Method (Message)

 

The list's window procedure.

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

A Windows Message Object.

Inheriting classes can override this to add extra functionality, but should call the WndProc method on the base class to ensure that the list continues to function properly.

SecurityPermission

for operating with unmanaged code. Associated enumeration: UnmanagedCode

.NET Framework
Available since 1.1
Return to top
Show: