Dela via


CMFCVisualManager::OnFillOutlookPageButton

The framework calls this method when it fills the interior of an Outlook page button.

virtual void OnFillOutlookPageButton(
   CDC* pDC,
   const CRect& rect,
   BOOL bIsHighlighted,
   BOOL bIsPressed,
   COLORREF& clrText
);

Parameters

  • [in] pDC
    A pointer to a device context.

  • [in] rect
    A rectangle that specifies the boundaries of the Outlook page button.

  • [in] bIsHighlighted
    A Boolean parameter that specifies whether the button is highlighted.

  • [in] bIsPressed
    A Boolean parameter that specifies whether the button is pressed.

  • [out] clrText
    A reference to a COLORREF parameter. This method stores the text color of the outlook page button in this parameter.

Remarks

Override this function in a derived visual manager to customize the appearance of Outlook page buttons.

Requirements

Header: afxvisualmanager.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCVisualManager Class