Creates an Ocx Animation control in the current active form, window, or dialog.
Ocx Animation name = [text$] [, id] [, x, y, b, h] [, style%]
text$:control text
id%:control identifier
x, y, b, h:iexp
style%:the control styles
The Animation control allows you to create buttons which display animations, such as .avi files, when clicked. The control can play only AVI files that have no sound. In addition, the Animation control can display only uncompressed .avi files or .avi files that have been compressed using Run-Length Encoding (RLE).
An example of this control is the file copy progress bar in Windows 95, which uses an Animation control. Pieces of paper "fly" from one folder to another while the copy operation executes. See example.
AutoPlay | BackColor | Enabled | Center | Height | HelpContextID | hWnd | Index | Left | Name | Parent | Tag | Top | ToolTiptext | Transparent | Visible | WhatsThisHelpID | Width
Close | Move | Open | Play | Seek | Stop | Refresh | ZOrder
Click | DblClick | MouseDown | MouseUp | MouseMove | Start | Stop
AnimOcx.g32 sample program.
If you attempt to load an .avi file that includes sound data or that is in a format not supported by the control, an error is returned.
CheckBox, ComboBox, Command, CommDlg, Form, Frame, Image, ImageList, Label, ListBox, ListView, MonthView, Option, ProgressBar, RichEdit, Scroll, Slider, StatusBar, TabStrip, TextBox, Timer, TrayIcon, TreeView, UpDown
{Created by Sjouke Hamstra; Last updated: 07/10/2017 by James Gaite}