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.
At a Glance
| Header file: | Atlctl.h | 
| Windows CE versions: | 2.0 and later | 
| Complete documentation: | Visual C++ documentation | 
Syntax
LRESULT OnSetFocus( UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled );
See Also