CMFCBaseTabCtrl::SetTabIconOnly

Enables displaying only an icon (and no text label) on a specific tab.

virtual BOOL SetTabIconOnly(
   int iTab,
   BOOL bIconOnly = TRUE,
   BOOL bShowTooltipAlways = FALSE
);

[in] iTab

The zero-based index of the tab to change.

[in] bIconOnly

A Boolean parameter that determines whether to display only icons.

[in] bShowTooltipAlways

A Boolean parameter that determines whether the framework shows tooltips for a tab label that displays only icons.

TRUE if successful; otherwise FALSE.

By default, a tab control displays the icon and text label for each tab.

Header: afxbasetabctrl.h

Show: