共用方式為


CComControlBase::OnKillFocus

Checks that the control is in-place active and has a valid control site, then informs the container that the control has lost focus.

LRESULT OnKillFocus(
   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.

Requirements

Header: atlctl.h

See Also

Reference

CComControlBase Class

Other Resources

CComControlBase Members