Compartir a través de


CMFCBaseTabCtrl::SetTabIcon

Sets the icon for a tab.

virtual BOOL SetTabIcon(
   int iTab,
   UINT uiIcon
);

Parameters

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

  • [in] uiIcon
    The icon ID for the new icon. This ID references the internal CImageList object.

Return Value

TRUE if successful; otherwise FALSE.

Requirements

Header: afxbasetabctrl.h

See Also

Reference

CMFCBaseTabCtrl Class

Hierarchy Chart