Share via


CWnd::GetForegroundWindow

staticCWnd*PASCALGetForegroundWindow();

Return Value

A pointer to the foreground window. This may be a temporary CWnd object.

Remarks

Returns a pointer to the foreground window (the window with which the user is currently working). The foreground window applies only to top-level windows (frame windows or dialog boxes).

CWnd OverviewClass MembersHierarchy Chart

See Also   CWnd::SetForegroundWindow