共用方式為


CMFCVisualManagerOffice2003::OnDrawTabsButtonBorder

The framework calls this method when it draws the border of a tab button.

virtual void OnDrawTabsButtonBorder(
   CDC* pDC,
   CRect& rect,
   CMFCButton* pButton,
   UINT uiState,
   CMFCBaseTabCtrl* pWndTab
);

Parameters

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

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

  • [in] pButton
    A pointer to the CMFCButton Class for which the framework draws the border.

  • [in] uiState
    The state of the button (see CButton::GetState).

  • [in] pWndTab
    A pointer to the parent tab window.

Remarks

Override this method in a derived visual manager to customize the appearance of the border of the tab button.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart