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 L_ILM_EXPORTBITMAPLIST message, 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 L_ILM_EXPORTBITMAPLIST message and exporting the list of bitmaps successfully from the ImageList control, don't try to free the bitmaps of the exported list hList, since it is going to have a reference to the original bitmaps not a copy of them.

The structure is used by:

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

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