Compartir a través de


CMFCRibbonButton::GetImageIndex

Returns the index of the image that is associated with the button.

int GetImageIndex(
   BOOL bLargeImage 
) const;

Parameters

  • [in] bLargeImage
    If TRUE, returns the image index in the image list that contains the large images; otherwise returns the image index in the image list that contains the small images.

Return Value

The index of the button's image in the associated image list.

Requirements

Header: afxribbonbutton.h

See Also

Reference

CMFCRibbonButton Class

Hierarchy Chart