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

Enables adding a new tab by user.

Call this function to enable adding a new tab.

When this feature is enabled, the small empty tab appears on the right side and when user clicks it, the new tab will be added. You can specify "New" tab text label by calling SetNewTabLabel() method.

bEnableIf TRUE, enables adding a new tab. If FALSE, disables ading.