Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.