COleControl::SetFocus

Call this member function to cause the control's container window to take possession of the input focus on the control's behalf.

Syntax

CWnd* SetFocus( );

At a Glance

Header file: Afxctl.h
Platforms:
Versions: 2.0 and later
Complete documentation Visual C++ documentation

See Also

COleControl Overview, COleControl Member Functions, Control Classes, COleControl::GetFocus