BCGControlBar Pro for MFC
int CBCGPToolbarButton::GetImage ( ) const
inline

Returns a toolbar button's image.

Returns
An index of a button's image in the collection of toolbar images.

Call this member function to retrieve an index of a button's image in the collection of toolbar images.

If a button has been assigned a user-defined image (bUserButton was TRUE in the constructor of CBCGPToolbarButton), then the returned index specifies an image in the collection of user-defined images (see CBCGPToolBar::GetUserImages). Otherwise, the index specifies an image in the collection of images loaded from the resources (see CBCGPToolBar::GetImages).