win32api.GetFocus
int = GetFocus()
Retrieves the handle of the keyboard focus window associated with the thread that called the method.
Win32 API References
Return Value
The method raises an exception if no window with the focus exists.
int = GetFocus()
Retrieves the handle of the keyboard focus window associated with the thread that called the method.