Partager via


CMFCRibbonButton::SetImageIndex

Assigns an index to the image of the button.

void SetImageIndex(
   int nIndex,
   BOOL bLargeImage 
);

Parameters

  • [in] nIndex
    Specifies the image index.

  • [in] bLargeImage
    If TRUE, the specified index refers to the list of large images. Otherwise, the index refers to the list of the small images.

Requirements

Header: afxribbonbutton.h

See Also

Reference

CMFCRibbonButton Class

Hierarchy Chart