CConnectionPoint::OnAdvise

 

Called by the framework when a connection is being established or broken.

Syntax

      virtual void OnAdvise(
   BOOL bAdvise 
);

Parameters

  • bAdvise
    TRUE, if a connection is being established; otherwise FALSE.

Remarks

The default implementation does nothing.

Override this function if you want notification when sinks connect to or disconnect from your connection point.

Requirements

Header: afxdisp.h

See Also

CConnectionPoint Class
Hierarchy Chart