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.
Use this function to set regular and hot images. SetImage automatically removes all hot points, which were previously added by AddHotSpot().
hbmpImage | A handle to a bitmap containing regular image. |
hbmpImageHot | A handle to a bitmap containing hot image. |
bAutoDestroy | If TRUE, the bitmaps containing regular and hot images will be destroyed automatically when the control is destroyed or before new images are set. |
bKeepHotSpots | Specifies whether previously added hot spots should be deleted. |