LILEXPORTBITMAPLIST

Summary

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

Syntax

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

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

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.

Usage

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

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