LBitmapList::HasGlobalPalette

#include "ltwrappr.h"

L_BOOL LBitmapList::HasGlobalPalette(L_VOID)

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_VOID TestHasPalette(L_TCHAR L_FAR * pszFileName)
{
   LBitmapList BitmapList;
   RGBQUAD *pPalette;
   L_BOOL bHasPallete ;

   BitmapList.Load (pszFileName);
   bHasPallete = BitmapList.HasGlobalPalette ();
   if(bHasPallete)
      pPalette = BitmapList.GetPalette ();
   //...
}