MiniGUI API Reference (MiniGUI-Processes)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Macros

Macros

#define ANS_AUTOLOOP   0x0001L
 Loop playing the animation automatically. More...
 
#define ANS_SCALED   0x0002L
 Scale the animation to the control size. More...
 
#define ANS_FITTOANI   0x0004L
 Resize the control to fit the animation. More...
 
#define ANS_WINBGC   0x0010L
 Use the background color of the window. More...
 

Detailed Description

This control can be used to play the animation object, and you should specify the animation object when you create the control by using the dwAddData:

HWND hwnd;
if (anim == NULL)
goto error;
"",
100,
10, 10, 300, 200, hWnd, (DWORD)anim);
SendMessage (hwnd, ANM_STARTPLAY, 0, 0);

Macro Definition Documentation

#define ANS_AUTOLOOP   0x0001L

Loop playing the animation automatically.

Definition at line 227 of file animation.h.

#define ANS_FITTOANI   0x0004L

Resize the control to fit the animation.

Definition at line 239 of file animation.h.

#define ANS_SCALED   0x0002L

Scale the animation to the control size.

Definition at line 233 of file animation.h.

#define ANS_WINBGC   0x0010L

Use the background color of the window.

Definition at line 245 of file animation.h.