Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
The framework calls this method when it draws the Close button on the active tab.
virtual void OnDrawTabCloseButton(
CDC* pDC,
CRect rect,
const CMFCBaseTabCtrl* pTabWnd,
BOOL bIsHighlighted,
BOOL bIsPressed,
BOOL bIsDisabled
);
Parameters
[in] pDC
A pointer to a device context.[in] rect
A rectangle that specifies the boundaries of the Close button.[in] pTabWnd
A pointer to a tab control. The framework draws the Close button for this tab control.[in] bIsHighlighted
A Boolean parameter that indicates whether the Close button is highlighted.[in] bIsPressed
A Boolean parameter that indicates whether the Close button is pressed.[in] bIsDisabled
A Boolean parameter that indicates whether the Close button is disabled.
Remarks
Override this method in a derived visual manager to customize the appearance of the Close button on the active tab of pTabWnd.
Requirements
Header: afxvisualmanager.h