Dela via


CMFCBaseTabCtrl::SetTabLabel

Sets the text for a tab label.

virtual BOOL SetTabLabel(
   int iTab,
   const CString& strLabel
);

Parameters

  • [in] iTab
    The zero-based index of the tab to update.

  • [in] strLabel
    A reference to a string that contains the new text for the tab label.

Return Value

Nonzero if successful; 0 otherwise.

Requirements

Header: afxbasetabctrl.h

See Also

Reference

CMFCBaseTabCtrl Class

Hierarchy Chart