HWND GetActiveWindow(void) |
The GetActiveWindow function retrieves the window handle of the active window. The active window is either the top-level window associated with the input focus or the window explicitly made active by the SetActiveWindow function.
This function has no parameters.
The return value is the handle of the active window or NULL if no window was active at the time of the call.