Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 
);
Parameters
- nMsg 
 Reserved.
- wParam 
 Reserved.
- lParam 
 Reserved.
- bHandled 
 Flag that indicates whether the window message was successfully handled. The default is FALSE.
Return Value
Always returns 1.
Remarks
Sends a notification to the container that the control has received focus.
Requirements
Header: atlctl.h