Help Center

CToolbar.GetImageListmethod

Retrieves the image list that a toolbar control uses to display buttons in their default state.

WindowsmethodCToolbar.incdocumented

Syntax

FUNCTION GetImageList (BYVAL hToolbar AS HWND) AS HIMAGELIST

Parameters

NameDescription
hToolbarHandle to the toolbar control.

Return value

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

Description

Retrieves the image list that a toolbar control uses to display buttons in their default state. A toolbar control uses this image list to display buttons when they are not hot or disabled.

Reference

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