BCGControlBar Pro for MFC
static void CBCGPPlannerManagerCtrl::SetImages ( LPCTSTR  szResID,
int  cxImage,
COLORREF  clrTransparent = RGB(255, 0, 255),
BOOL  bAutoScale = TRUE 

Loads appointment images from application resources.

Use this function to provide your custom images (icons) for appointments. By default the images are loaded from the resource with IDB_BCGBARRES_CALENDAR_ICONS ID.

szResIDPoints to a null-terminated string that contains the name of the bitmap resource.
cxImageImage (icon) width.
clrTransparentAn RGB value which specifies the transparent color of the bitmap.
bAutoScaleIf TRUE, the bitmap will be scaled according to current DPI.