LILIMPORTBITMAPLIST

typedef struct _LILIMPORTBITMAPLIST
{
   L_UINT
uStructSize;
   HBITMAPLIST
hList;
   L_INT
nStartIndex;
   L_INT
nItemsToInsert;
   L_TCHAR
L_FAR* pText;
   L_TCHAR
L_FAR* pTextExt;
} LILIMPORTBITMAPLIST, L_FAR* pLILIMPORTBITMAPLIST;

The LILIMPORTBITMAPLIST structure contains the list of bitmaps to be imported (inserted) into an ImageList Control with information about the start index and number of bitmaps to import (insert).

Member

Description

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value.

hList

Handle to the bitmap list that contains the bitmaps to be imported in the Image List control.

nStartIndex

Index of the first bitmap in the hList to be imported..

nItemsToInsert

Number of bitmaps to be imported, starting from nStartIndex.

Note: (nStartIndex + nItemsToInsert) should not exceed the number of bitmaps in the hList member.

pText

Character string that contains the text for the bitmaps to be imported.

pTextExt

Character string that contains the extra text for the bitmaps to be imported.

Comments

This structure is used by the LImageListControl::ImportBitmapList function.