| 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.
| nID | Specifies the hot spot ID. | 
| strSVGElementID | Specifies the SVG element ID. | 
| lpszToolTip | Specifies the hot spot tooltip. | 
| lpszToolTipDescription | Specifies 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.