Freigeben über


CMFCRibbonButtonsGroup::SetImages

Assigns images to the group of ribbon buttons.

void SetImages(
   CMFCToolBarImages* pImages,
   CMFCToolBarImages* pHotImages,
   CMFCToolBarImages* pDisabledImages 
);

Parameters

  • [in] pImages
    Regular images.

  • [in] pHotImages
    Hot images.

  • [in] pDisabledImages
    Disabled images.

Remarks

Call SetImages before you add buttons to a group. The number of images must be greater or equal to the number of buttons to be added to the group.

Hinweis

Hot images are images that are displayed when the user hovers over the button. Disabled images are images that are displayed when the button is disabled.

Requirements

Header: afxribbonbuttonsgroup.h

See Also

Reference

CMFCRibbonButtonsGroup Class

Hierarchy Chart