GetFocus

2.x

  HWND GetFocus(void)    

The GetFocus function retrieves the handle of the window that currently has the input focus.

Parameters

This function has no parameters.

Return Value

The return value is the handle of the focus window. If no window has the focus, it is NULL.

See Also

GetActiveWindow, GetCapture, SetFocus