CWnd::SetFocus

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.

Syntax

CWnd* SetFocus( );

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::GetFocus