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
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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET