Property wnd.focused
Overload
Gets the control or window that has the keyboard input focus.
public static wnd focused { get; }
Property Value
Remarks
The control/window can belong to any process/thread. With controls/windows of this thread you can use the more lightweight function wnd.thisThread.focused. Calls API GetGUIThreadInfo.