BCGSuite for MFC
BOOL CBCGPHotSpotImageCtrl::SetImage ( HBITMAP  hbmpImage,
HBITMAP  hbmpImageHot = NULL,
BOOL  bAutoDestroy = FALSE,
BOOL  bKeepHotSpots = FALSE 

Sets regular and hot images to the hot spot image control.

Nonzero if the function succeeds; otherwise 0.

Use this function to set regular and hot images. SetImage automatically removes all hot points, which were previously added by AddHotSpot().

hbmpImageA handle to a bitmap containing regular image.
hbmpImageHotA handle to a bitmap containing hot image.
bAutoDestroyIf TRUE, the bitmaps containing regular and hot images will be destroyed automatically when the control is destroyed or before new images are set.
bKeepHotSpotsSpecifies whether previously added hot spots should be deleted.