| void CBCGPButton::SetCheckedImage | ( | HICON | hIcon, |
| BOOL | bAutoDestroy = TRUE, |
||
| HICON | hIconHot = NULL, |
||
| HICON | hIconDisabled = NULL, |
||
| BOOL | bAlphaBlend = FALSE, |
||
| HICON | hIconPressed = NULL |
||
| ) |
Specifies an image to be displayed on the checked button
Call this member function to set a new image for the checked button.
| hIcon | Handle to the icon that contains the bitmap and mask for the new image |
| bAutoDestroy | Specifies whether the bitmap resources should be destroyed automatically. |
| hIconHot | Handle to the icon that contains the image for selected state |
| hIconDisabled | A handle to icon used for disabled image. |
| bAlphaBlend | Set this parameter to TRUE for 32-bit images with alpha channel only. |
| hIconPressed | A handle to icon used for pressed image. |