Call this member function to retrieve a pointer to the active window.
static CWnd* PASCAL GetActiveWindow( );
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::SetActiveWindow