Help Center

CTab.SetImageListmethod

Assigns an image list to a tab control.

WindowsmethodCTab.incdocumented

Syntax

FUNCTION SetImageList (BYVAL hTab AS HWND, BYVAL himl AS HIMAGELIST) AS BOOLEAN

Parameters

NameDescription
hTabHandle to the tab control.
himlHandle to the image list to assign to the tab control.

Return value

Returns the handle to the previous image list, or NULL if there is no previous image list.

Description

Assigns an image list to a tab control.

Example

DIM hOldImlList AS HIMAGELIST = CTab.SetExtendedStyle(hTab, hIml)

Reference

  • Include file CTab.inc
  • Defined in AfxNova/CTab.inc:379
  • Documented in Windows/WIndows Controls/CTab Class.md
  • Topic: CTab Class