Message.HWnd 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定訊息的視窗代言名詞。
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
屬性值
IntPtr
nativeint
訊息的視窗名稱。
備註
視窗 handle 是一個唯一識別系統中視窗的值。 此屬性會回傳收到此訊息的視窗程序的句柄。 當你的程式碼需要與某些預期視窗 handle 作為參數的 Windows API 函式互動時,它非常有用。