HWND GetActiveWindow(void) |
The GetActiveWindow function retrieves the window handle of the active window associated with the thread that calls the function.
This function has no parameters.
The return value is the handle of the active window associated with the thread that calls the function.. The return value is NULL if the calling thread does not have an active window.
SetActiveWindow