TB_SETIMAGELIST

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

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

Parameters

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

Return Values

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

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Commctrl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.