| BOOL CBCGPToolBarImages::UpdateImage | ( | int | iImage, |
| HBITMAP | hbmp, | ||
| BOOL | bFitImage = FALSE, |
||
| BOOL | bPremultiplyAlpha = FALSE |
||
| ) |
Updates a user-defined toolbar image from a bitmap.
Call this function to update a user-defined toolbar image at the specified position. The new image is copied from a bitmap specified by the hbmp parameter.
| iImage | Specifies the zero-based index of image to update. |
| hbmp | Specifies a handle to bitmap to update the image from. |
| bFitImage | Tells whether an image should be fitted inside the image list item bounds. |
| bPremultiplyAlpha | Tells whether pre-multiplication operation should be performed for the added image. |