HWND hwnd; ANIMATION* anim = CreateAnimationFromGIF89aFile (HDC_SCREEN, "banner.gif"); if (anim == NULL) goto error; hwnd = CreateWindow (CTRL_ANIMATION, "", WS_VISIBLE | ANS_AUTOLOOP, 100, 10, 10, 300, 200, hWnd, (DWORD)anim); SendMessage (hwnd, ANM_STARTPLAY, 0, 0);
|
|
Loop playing the animation automatically.
Definition at line 217 of file animation.h. |
|
|
Resize the control to fit the animation.
Definition at line 229 of file animation.h. |
|
|
Scale the animation to the control size.
Definition at line 223 of file animation.h. |
1.4.2