Call this member function to cause the control's container window to take possession of the input focus on the control's behalf.
CWnd* SetFocus( );
Header file: | Afxctl.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation | Visual C++ documentation |
COleControl Overview, COleControl Member Functions, Control Classes, COleControl::GetFocus