BCGControlBar Pro for MFC
BOOL CBCGPHotSpotImageCtrl::SetImage ( UINT  uiImageResID,
UINT  uiHotImageResID = 0,
BOOL  bKeepHotSpots = FALSE 
)

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

Returns
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().

Parameters
uiImageResIDRegular image resource ID.
uiHotImageResIDHot image resource ID.
bKeepHotSpotsSpecifies whether previously added hot spots should be deleted.