共用方式為


COleControl::OnEventAdvise

Called by the framework when an event handler is connected to or disconnected from an OLE control.

virtual void OnEventAdvise(
   BOOL bAdvise 
);

Parameters

  • bAdvise
    TRUE indicates that an event handler has been connected to the control. FALSE indicates that an event handler has been disconnected from the control.

Requirements

Header: afxctl.h

See Also

Concepts

COleControl Class

COleControl Members

Hierarchy Chart