LRESULT OnSetFocus( UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled );
Return Value
Always returns 0.
Parameters
nMsg
[in] The window message identifier. Not used in the default ATL implementation.
wParam
[in] A 32-bit message parameter. Not used in the default ATL implementation.
lParam
[in] A 32-bit message parameter. Not used in the default ATL implementation.
bHandled
[in, out] Flag that indicates whether the window message was successfully handled. The default is TRUE.
Remarks
Checks that the control is in-place active and has a valid control site, then informs the container the control has gained focus.
CComControl Overview | Class Members
See Also CComControl::m_bInPlaceActive, CComControl::m_spClientSite