Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
The framework calls this method when it draws a CMFCRibbonPanel object.
virtual COLORREF OnDrawRibbonPanel(
CDC* pDC,
CMFCRibbonPanel* pPanel,
CRect rectPanel,
CRect rectCaption
);
Parameters
[in] pDC
A pointer to a device context.[in] pPanel
A pointer to a CMFCRibbonPanel object. The framework draws this ribbon panel.[in] rectPanel
A rectangle that specifies the boundaries of the panel.[in] rectCaption
A rectangle that specifies the boundaries of the caption for the panel.
Return Value
The color of text on the ribbon panel.
Remarks
Override this method in a derived class to customize the appearance of a ribbon panel.
Requirements
Header: afxvisualmanager.h