LBitmapList::GetGlobalLoop

#include "ltwrappr.h"

L_UINT LBitmapList::GetGlobalLoop()

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.

Platforms

Win32, x64.

See Also

Functions:

Class Members

Example

L_INT LBitmapList__GetGlobalLoopExample(L_TCHAR  * pszFileName)
{
   L_INT nRet;
   LBitmapList BitmapList;
   L_BOOL bHasGlobalLoop;
   L_UINT uGlobalLoop;
   nRet =BitmapList.Load (pszFileName);
   if(nRet !=SUCCESS)
      return nRet;
   bHasGlobalLoop = BitmapList.HasGlobalLoop ();
   if(bHasGlobalLoop ==TRUE)
      uGlobalLoop = BitmapList.GetGlobalLoop ();
   //...
   return SUCCESS;
}