BCGControlBar Pro for MFC
BOOL CBCGPHotSpotImageCtrl::AddHotSpot ( UINT  nID,
const CString &  strSVGElementID,
LPCTSTR  lpszToolTip = NULL,
LPCTSTR  lpszToolTipDescription = NULL 
)

Adds a new hot spot to SVG-based hot spot image control.

Parameters
nIDSpecifies the hot spot ID.
strSVGElementIDSpecifies the SVG element ID.
lpszToolTipSpecifies the hot spot tooltip.
lpszToolTipDescriptionSpecifies the hot spot tooltip description.

Nonzero if the hot spot has been added successfully; otherwise 0. The function fails and asserts in the debug mode if a hot spot with the same ID does exist or SVG doesn't have a given element.