Share via


TB_SETIMAGELIST (Compact 2013)

3/28/2014

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

See Also

Reference

Toolbar Controls Messages