GetActiveWindow
This function retrieves the window handle to the active window associated with the thread that calls the function.
HWND GetActiveWindow(void);
Parameters
None.
Return Values
The handle to the active window associated with the calling thread's message queue indicates success. NULL indicates failure.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.
Link Library: Caret.lib, Foregnd.lib.
See Also
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.