LAnimationWindow::RemoveFrame
#include "ltwrappr.h"
L_INT LAnimationWindow::RemoveFrame(uIndex, pBitmap = NULL)
L_UINT uIndex; |
/* position of the bitmap in the list */ |
LBitmapBase * pBitmap; |
/* pointer to the bitmap handle */ |
Removes a bitmap from the list, and lets you treat it as an individual bitmap.
Parameter |
Description |
uIndex |
Position of the bitmap in the list. Use zero-based indexing. For example, if there are 10 bitmaps in a list, the index of the last one is 9. When you remove a bitmap from a list, the indexes of other bitmaps change to accommodate the removal. |
pBitmap |
Pointer to the bitmap handle that you can use afterward to work with the individual bitmap. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
You cannot use this method to update a bitmap list while it is being used in an animation playback.
Required DLLs and Libraries
LTKRN |
See Also
Functions: |
|
Topics: |
|
|
Example
For an example, refer to LAnimationWindow::GetAt.