CWnd::GetActiveWindow

Call this member function to retrieve a pointer to the active window.

Syntax

static CWnd* PASCAL GetActiveWindow( );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::SetActiveWindow