Share via


TB_SETIMAGELIST (Windows Embedded CE 6.0)

1/6/2010

This message sets the image list that the toolbar will use to display buttons that are in their default state.

Syntax

TB_SETIMAGELIST wParam = 0;
    lParam = (LPARAM)(HIMAGELIST) himlNew;

Parameters

  • wParam
    Not used.
  • himlNew
    Handle to the image list that will be set. If this parameter is NULL, no images are displayed in the buttons.

Return Value

Returns the handle to the image list previously used to display buttons in their default state, or NULL if no image list was previously set.

Remarks

A toolbar control uses himlNew to display buttons in their default state; that is, when they are not hot or disabled.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Toolbar Controls Messages