Share via


GetForegroundWindow (Windows Embedded CE 6.0)

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

See Also

Reference

Windows Functions
SetForegroundWindow