Method ExtMisc.Hwnd
Overload
Gets window handle as wnd.
public static wnd Hwnd(this Control t, bool create = false)
Parameters
t (Control)
A Control or Form etc. Cannot be |
create (bool)
Create handle if still not created. Default |
Returns
Remarks
Should be called in control's thread. Calls System.Windows.Forms.Control.IsHandleCreated and System.Windows.Forms.Control.Handle.