This method checks that the control is in-place active and has a valid control site, then informs the container the control has gained focus.
LRESULT OnSetFocus( UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled );
Header file: | Atlctl.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
CComControl Overview, CComControl Methods, CComControl::m_bInPlaceActive, CComControl::m_spClientSite