LILEXPORTBITMAPLIST

typedef struct _LILEXPORTBITMAPLIST 
{ 
   L_UINT uStructSize; 
   HBITMAPLIST hList; 
   L_INT nStartIndex; 
   L_INT nItemsToExport; 
} LILEXPORTBITMAPLIST, * pLILEXPORTBITMAPLIST; 

The LILEXPORTBITMAPLIST structure contains information about the list of bitmaps to be exported from an ImageList control.

Members

uStructSize

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

hList

Handle to the bitmap list to be updated by the exported bitmaps.

If you passed NULL into this member to LImageListControl::ExportBitmapList function, it will be created internally and is going to contain all the exported bitmaps.

nStartIndex

Index of the first bitmap in the ImageList control to be exported.

nItemsToExport

Number of bitmaps to be exported starting from nStartIndex.Note: (nStartIndex + nItemsToInsert) should not exceed number of items in the ImageList Control.

Comments

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

After calling the LImageListControl::ExportBitmapList function and exporting the list of bitmaps successfully from the ImageList control, do not try to free the bitmaps of the exported list hList, since it is going to have a reference to the original bitmaps and not a copy of them.

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.