hAni = WinXAddAnimation (parent, STRING file, id)
Creates a new animation control and adds it to a window.
Parameter | Description |
---|---|
parent | The parent window for the animation control |
STRING file | The AVI file the animation is based on. The parameter can be the name of an AVI resource or the name of an AVI file. |
id | The unique id constant for this control |
The handle to the new animation control or 0 on fail
The AVI file must be uncompressed with no sound. If you are using the Windows XP controls and the AVI has an alpha channel, the completely transparent parts will be rendered completely transparent.
'define constants 'create an animation |