Call this member function to claim the input focus. The input focus directs all subsequent keyboard input to this window. Any window that previously had the input focus loses it.
CWnd* SetFocus( );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetFocus