Property wnd.IsFocused
Overload
Returns true
if this is the control or window that has the keyboard input focus.
public bool IsFocused { get; }
Property Value
Remarks
This control/window can belong to any process/thread. With controls/windows of this thread you can use the more lightweight function wnd.thisThread.isFocused. Calls wnd.focused.