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;
The handle for this window. Returns zero is no handle is associated with the window.
Use this method when calling Windows API methods that require a handle for a window or control.
NativeWindow Class | NativeWindow Members | System.WinForms Namespace | NativeWindow | AssignHandle | CreateHandle | DestroyHandle | ReleaseHandle | WndProc