Message.HWnd Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the window handle of the message.
public:
property IntPtr HWnd { IntPtr get(); void set(IntPtr value); };
public IntPtr HWnd { get; set; }
member this.HWnd : nativeint with get, set
Public Property HWnd As IntPtr
Property Value
nativeint
The window handle of the message.
Remarks
Window handle is a value that uniquely identifies a window on the system. This property returns a handle of the window whose window procedure receives this message. It is useful when your code need to interact with some native Windows API functions that expect window handles as parameters.