TB_LOADIMAGESTB_LOADIMAGES*
*Contents  *Index  *Topic Contents
*Previous Topic: TB_ISBUTTONPRESSED
*Next Topic: TB_MAPACCELERATOR

TB_LOADIMAGES


TB_LOADIMAGES
    wParam = (WPARAM)(INT) iBitmapID;
    lParam = (LPARAM)(HINSTANCE) hinst;

Loads bitmaps into a toolbar control's image list.

iBitmapID
Identifier of a bitmap that contains the images to be loaded. If hinst is HINST_COMMCTRL, this parameter specifies a set of standard toolbar button bitmaps, shown in the following list. Otherwise, this parameter must be the identifier of a bitmap resource that will be added to the image list as a single image.
Bitmap ID Description
IDB_HIST_LARGE_COLOR Explorer bitmaps in large size.
IDB_HIST_SMALL_COLOR Explorer bitmaps in small size.
IDB_STD_LARGE_COLOR Standard bitmaps in large size.
IDB_STD_SMALL_COLOR Standard bitmaps in small size.
IDB_VIEW_LARGE_COLOR View bitmaps in large size.
IDB_VIEW_SMALL_COLOR View bitmaps in small size.
hinst
Program instance handle to the calling application. This parameter can be HINST_COMMCTRL to load a standard image list.

If your application specifies HINST_COMMCTRL, then you must use the proper image index values when you prepare TBBUTTON structures prior to sending the TB_ADDBUTTONS message. For a list of image index values for these preset bitmaps, see Toolbar Standard Button Image Index Values.

Version 4.70


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.