BCGControlBar Pro for MFC
void CBCGPTabWnd::EnableActiveTabCloseButton ( BOOL  bEnable = TRUE)

Shows or hides close button on active tab.

Use this method to display or hide close button on active tab. When close button is displayed, the default close button is removed from the top right corner of tab area. When the close button is removed from active tab (bEnable is FALSE), it's placed at the right top corner of tab area.

Parameters
bEnableSpecifies whether the close button on active tab should be shown (TRUE), or hidden (FALSE).