Call this member function to obtain a pointer to the CWnd that currently has the input focus.
static CWnd* PASCAL GetFocus( );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetActiveWindow, CWnd::GetCapture, CWnd::SetFocus