編集

次の方法で共有


Message.HWnd Property

Definition

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

IntPtr

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.

Applies to

See also