Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
This function returns the handle to the foreground window — the window with which the user is currently working.
Syntax
HWND GetForegroundWindow(void);
Parameters
None.
Return Value
The handle to the foreground window indicates success.
Requirements
| Header | winuser.h |
| Windows Embedded CE | Windows CE 1.0 and later |