Partager via


CMFCVisualManager::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 a CMFCButton object. The framework draws the border for this CMFCButton instance.

  • [in] uiState
    An unsigned integer that specifies the state of the button.

  • [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: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart