共用方式為


CMFCVisualManager::OnDrawOutlookPageButtonBorder

Called by the framework when it draws the border of an Outlook page button.

virtual void OnDrawOutlookPageButtonBorder(
   CDC* pDC,
   CRect& rectBtn,
   BOOL bIsHighlighted,
   BOOL bIsPressed
);

Parameters

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

  • [in] rectBtn
    A rectangle that specifies the boundary of the Outlook page button.

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

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

Remarks

Override this method in a custom visual manager to change the appearance of the Outlook page button.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart