LBitmapList::HasGlobalPalette

#include "ltwrappr.h"

L_BOOL LBitmapList::HasGlobalPalette()

Determines whether the bitmap list has a global palette.

Returns

TRUE

The bitmap list has a global palette.

FALSE

The bitmap list does not have a global palette.

Required DLLs and Libraries

LTFIL

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

Class Members

Example

L_INT LBitmapList__HasGlobalPaletteExample(L_TCHAR  * pszFileName)
{
   L_INT nRet;
   LBitmapList BitmapList;
   RGBQUAD *pPalette;
   L_BOOL bHasPallete ;
   nRet =BitmapList.Load (pszFileName);
   if(nRet !=SUCCESS)
      return nRet;
   bHasPallete = BitmapList.HasGlobalPalette ();
   if(bHasPallete)
      pPalette = BitmapList.GetPalette ();
   //...
   return SUCCESS;
}