BCGControlBar Pro for MFC
static BOOL CBCGPToolBar::SetUserImages ( CBCGPToolBarImages pUserImages,
BOOL  bAdjustSize = FALSE 
)
static

Sets user-defined images.

Returns
Nonzero if successful; it is 0 if the specified CBCGPToolBarImages object is not valid or if the user-defined image size is different from the toolbar's image size.

Use this function to set user-defined images for all toolbars in the application. The image list specified by the pUserImages parameter is shared between all application toolbars.

The user images are loaded from the "UserImages.bmp" file that should be located in the application's working directory.

Parameters
pUserImagesUser images.
bAdjustSizeAdjust toolbar size if TRUE.