Retrieves the handle to the window that has the keyboard focus.
- Returns:
- The return value is the handle to the window with the keyboard focus. If the calling thread's message queue does not have an associated window with the keyboard focus, the return value is None.