Help Center

CToolbar.SetDisabledImageListmethod

Sets the image list that the toolbar control will use to display disabled buttons.

WindowsmethodCToolbar.incdocumented

Syntax

FUNCTION SetDisabledImageList (BYVAL hToolbar AS HWND, BYVAL himlNewDisabled AS HIMAGELIST) AS HIMAGELIST

Parameters

NameDescription
hToolbarHandle to the toolbar control.
himlNewDisabledHandle to the image list that will be set.

Return value

Returns the handle to the image list previously used to display disabled buttons, or NULL if no image list was previously set.

Description

Sets the image list that the toolbar control will use to display disabled buttons.

Reference

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