The GetFocus function retrieves the handle of the window that currently has the input focus.
This function has no parameters.
The return value is the handle of the focus window. If no window has the focus, it is NULL.
GetActiveWindow, GetCapture, SetFocus