CMFCBaseTabCtrl::GetTabIcon

 

Retrieves the icon associated with the specified tab.

virtual UINT GetTabIcon(
   int iTab
) const;

[in] iTab

The zero-based index of the tab.

The icon ID for the specified tab if successful; -1 if the index is invalid.

The CMFCBaseTabCtrl object stores the icons in the internal CImageList object.

Requirements

Header: afxbasetabctrl.h

Show: