Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Draws the appropriate image for a specified button, depending on whether the button is normal, highlighted or disabled.
virtual void OnDrawImage(
CDC* pDC,
CRect rectImage,
CMFCRibbonBaseElement* pButton,
int nImageIndex
);
Parameters
[in] pDC
Pointer to the device context of the CMFCRibbonButtonsGroup object.[in] rectImage
The rectangle within which to draw the image.[in] pButton
The button for which to draw the image.[in] nImageIndex
The index of the image to draw on the button (in one of the three image arrays for normal, highlighted or disabled buttons).
Requirements
Header: afxribbonbuttonsgroup.h