BCGControlBar Pro for MFC
virtual BOOL CBCGPChartLegendVisualObject::HitTest ( const CBCGPPoint pt,
BCGPChartLegendHitInfo pHitInfo 
) const
virtual

Called for hit testing

This method returns FALSE if for some reason ptHitInfo is NULL; otherwise TRUE.

When this method returns TRUE, ptHitInfo contains information about hit tested element (if any)

Parameters
ptspecifies a point in client coordinates
pHitInfocontains hit information when the method returns