BCGSuite for MFC
BOOL CBCGPChartLegendCtrl::CreateCustomLegend ( CRuntimeClass *  pLegendRTC)

Creates a custom legend

Call this method if you derive a class from CBCGPChartLegendVisualObject and want to use it inside legend control.

Parameters
pLegendRTCa pointer to a runtime class information of custom legend