LBitmapList::LBitmapList

#include "ltwrappr.h"

LBitmapList::LBitmapList()

LBitmapList::LBitmapList(pBitmapList)

Constructs and initializes the member variables of an LBitmapList object.

Parameters

LBitmapList * pBitmapList

Pointer to a bitmap list object to be used for initializing the object.

Returns

None.

Comments

LBitmapList::LBitmapList() is the default constructor for the LBitmapList class.

LBitmapList::LBitmapList(pBitmapList) constructor will initialize the class object's bitmap list from the passed object's bitmap list, and then invalidate the passed object.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Example

This is an example for LBitmapList::LBitmapList():

L_INT LBitmapList__LBitmapListFirstExample() 
{ 
   L_INT nRet; 
 
   LBitmapList bmpList; 
 
   // call create to have a valid LBitmapList object 
 
   nRet = bmpList.Create(); 
 
   return nRet; 
 
} 
//This is an example for LBitmapList::LBitmapList(pBitmapList): 
 
L_INT LBitmapList__LBitmapListSecondExample(HWND hWnd) 
{ 
   UNREFERENCED_PARAMETER(hWnd); 
   LBitmapList FirstList; 
   // call create to make the list valid 
   FirstList.Create(); 
   //... load FirstList with data 
   LBitmapList SecondList(&FirstList); 
    
   return SUCCESS; 
} 

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

LEADTOOLS Raster Imaging C++ Class Library Help