CWnd::OnSetFocus

This member function is called by the framework after gaining the input focus. To display a caret, CWnd should call the appropriate caret functions at this point.

Syntax

afx_msg void OnSetFocus( CWnd* pOldWnd );

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