int = GetFocus()
Retrieves the handle of the keyboard focus window associated with the thread that
called the method.
Win32 API References
Search for GetFocus at msdn, google or google groups.
Return Value
The method raises an exception if no window with the focus exists.