Message.HWnd Property


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

Gets or sets the window handle of the message.

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

member HWnd : nativeint with get, set

Property Value

Type: System.IntPtr

The window handle of the message.

.NET Framework
Available since 1.1
Return to top