CWnd::OnSetFocus

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

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

afx_msg void OnSetFocus( CWnd* pOldWnd );