Share via


CMFCTabCtrl::EnableActiveTabCloseButton

Shows or hides a Close button (X) on the active tab.

void EnableActiveTabCloseButton(
   BOOL bEnable=TRUE 
);

Parameters

  • [in] bEnable
    TRUE to display the Close button on the active tab; FALSE to display the Close button on the upper-right corner of the tab area. The default value is TRUE.

Requirements

Header: afxtabctrl.h

See Also

Reference

CMFCTabCtrl Class

Hierarchy Chart