Bagikan melalui


CMFCVisualManagerWindows7::GetRibbonEditBackgroundColor

Obtains the background color of a ribbon edit box.

virtual COLORREF GetRibbonEditBackgroundColor (
   CMFCRibbonRichEditCtrl* pEdit,
   BOOL bIsHighlighted,
   BOOL bIsPaneHighlighted,
   BOOL bIsDisabled
);

Parameters

  • [in] pEdit
    A pointer to the edit control. This value cannot be NULL.

  • [out] bIsHighlighted
    Returns whether the ribbon box is highlighted.

  • [out] bIsPaneHighlighted
    Returns TRUE if the ribbon panel that contains pEdit is highlighted.

  • [out] bIsDisabled
    Returns whether pEdit is disabled.

Return Value

The background color of the edit box pEdit.

Requirements

Header: afxvisualmanagerwindows7.h

See Also

Reference

CMFCVisualManagerWindows7 Class

CMFCVisualManagerWindows7 Class

Hierarchy Chart