LBitmapList::GetGlobalLoop

#include "ltwrappr.h"

L_UINT LBitmapList::GetGlobalLoop(L_VOID)

Gets the value of the global loop for the class object's bitmap list.

Returns

The value of the global loop for the bitmap list.

Comments

GlobalLoop is the loop count when playing an animation. 0 means continuous looping.

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 TestGlobalLoop(L_TCHAR L_FAR * pszFileName)
{
   LBitmapList BitmapList;
   L_BOOL bHasGlobalLoop;
   L_UINT uGlobalLoop;

   BitmapList.Load (pszFileName);
   bHasGlobalLoop = BitmapList.HasGlobalLoop ();
   if(bHasGlobalLoop ==TRUE)
      uGlobalLoop = BitmapList.GetGlobalLoop ();
   //...
}