Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/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 himlNewto 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
Windows Mobile Windows Mobile Version 5.0 and later

See Also