GetForegroundWindow (Windows CE 5.0)

Send Feedback

This function returns the handle to the foreground window — the window with which the user is currently working.

HWNDGetForegroundWindow(void);

Parameters

None.

Return Values

The handle to the foreground window indicates success.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.

See Also

SetForegroundWindow

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.