共用方式為


CTabCtrl::SetImageList

Assigns an image list to a tab control.

CImageList * SetImageList(
  CImageList * pImageList 
);

Parameters

  • pImageList
    Pointer to the image list to be assigned to the tab control.

Return Value

Returns a pointer to the previous image list or NULL if there is no previous image list.

Requirements

Header: afxcmn.h

See Also

Concepts

CTabCtrl Class

CTabCtrl Members

Hierarchy Chart

CTabCtrl::GetImageList

CImageList Class