| int CBCGPToolBarImages::AddImage | ( | HBITMAP | hbmp, |
| BOOL | bSetBitPerPixel = FALSE, |
||
| BOOL | bFitImage = FALSE, |
||
| BOOL | bPremultiplyAlpha = FALSE |
||
| ) |
Adds a new bitmap to a collection of toolbar images.
Call this function to extend the collection of toolbar images maintained by the CBCGPToolBarImages object.
| hbmp | Specifies the handle to Windows bitmap to add. |
| bSetBitPerPixel | Set it to TRUE if you wish to modify internal bit per pixel value. |
| 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. |