NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

NativeWindow.Handle

Gets the handle for this window.

[Visual Basic]
Public ReadOnly Property Handle As Integer
[C#]
public int Handle {get;}
[C++]
public: __property int get_Handle();
[JScript]
public function get Handle() : int;

Property Value

The handle for this window. Returns zero is no handle is associated with the window.

Remarks

Use this method when calling Windows API methods that require a handle for a window or control.

See Also

NativeWindow Class | NativeWindow Members | System.WinForms Namespace | NativeWindow | AssignHandle | CreateHandle | DestroyHandle | ReleaseHandle | WndProc