|
TimoSoft Animation
2.5.2.112
|
The main interface More...
Inherits IDispatch.
Public Member Functions | |
| HRESULT | About (void) |
| Displays the control's credits More... | |
| HRESULT | CloseAnimation (void) |
| Closes the currently opened animation clip More... | |
| HRESULT | DisplayFrame ([in] LONG frameNumber,[out, retval] VARIANT_BOOL *pSuccess) |
| Displays a single frame of the animation More... | |
| HRESULT | LoadSettingsFromFile ([in] BSTR file,[out, retval] VARIANT_BOOL *pSucceeded) |
| Loads the control's settings from the specified file More... | |
| HRESULT | OpenAnimationFromFile ([in] BSTR filePath,[out, retval] VARIANT_BOOL *pSuccess) |
| Opens the specified animation file and displays the first frame More... | |
| HRESULT | OpenAnimationFromResource ([in] LONG hModule,[in] LONG resourceID,[in] BSTR resourceTypeName,[out, retval] VARIANT_BOOL *pSuccess) |
| Opens the specified animation resource and displays the first frame More... | |
| HRESULT | Refresh (void) |
| Advises the control to redraw itself | |
| HRESULT | SaveSettingsToFile ([in] BSTR file,[out, retval] VARIANT_BOOL *pSucceeded) |
| Saves the control's settings to the specified file More... | |
| HRESULT | StartReplay ([in, defaultvalue(0)] LONG startFrame,[in, defaultvalue(-1)] LONG endFrame,[in, defaultvalue(-2)] LONG repeats,[out, retval] VARIANT_BOOL *pSuccess) |
| Starts playing the animation More... | |
| HRESULT | StopReplay ([out, retval] VARIANT_BOOL *pSuccess) |
| Stops playing the animation More... | |
Properties | |
| AnimationBackStyleConstants | AnimationBackStyle [get, set] |
| Controls drawing of the animation's background More... | |
| AppearanceConstants | Appearance [get, set] |
| Controls the style of the control's outer border More... | |
| VARIANT_BOOL | AutoStartReplay [get, set] |
| Specifies whether replay starts automatically after the animation has been loaded More... | |
| OLE_COLOR | BackColor [get, set] |
| Specifies the control's background color More... | |
| BorderStyleConstants | BorderStyle [get, set] |
| Controls the style of the control's inner border More... | |
| VARIANT_BOOL | CenterAnimation [get, set] |
| Specifies whether the animation is centered within the control More... | |
| DisabledEventsConstants | DisabledEvents [get, set] |
| Controls which events are fired More... | |
| VARIANT_BOOL | DontRedraw [get, set] |
| Controls redrawing of the control More... | |
| VARIANT_BOOL | Enabled [get, set] |
| Controls whether the control accepts user input More... | |
| LONG | HoverTime [get, set] |
Controls when the MouseHover event is fired More... | |
| OLE_HANDLE | hWnd [get] |
| Retrieves the control's window handle More... | |
| VARIANT_BOOL | IsPlaying [get] |
| Retrieves whether the control is currently playing an animation More... | |
| IPictureDisp | MouseIcon [get, set] |
| Controls the control's mouse cursor More... | |
| MousePointerConstants | MousePointer [get, set] |
| Controls the control's mouse cursor More... | |
| VARIANT_BOOL | RegisterForOLEDragDrop [get, set] |
| Controls the control's behavior in drag'n'drop operations More... | |
| VARIANT_BOOL | SupportOLEDragImages [get, set] |
| Controls the control's behavior in drag'n'drop operations More... | |
| BSTR | Version [get] |
| Retrieves the control's version More... | |
The main interface
| HRESULT About | ( | void | ) |
Displays the control's credits
Displays some information about this control and its author.
| HRESULT CloseAnimation | ( | void | ) |
Closes the currently opened animation clip
| HRESULT DisplayFrame | ( | [in] LONG | frameNumber, |
| [out, retval] VARIANT_BOOL * | pSuccess | ||
| ) |
Displays a single frame of the animation
| [in] | frameNumber | The zero-based index of the frame to display. |
True, if the frame was displayed successfully; otherwise False.| HRESULT LoadSettingsFromFile | ( | [in] BSTR | file, |
| [out, retval] VARIANT_BOOL * | pSucceeded | ||
| ) |
Loads the control's settings from the specified file
| [in] | file | The file to read from. |
True if the settings could be loaded; otherwise False.| HRESULT OpenAnimationFromFile | ( | [in] BSTR | filePath, |
| [out, retval] VARIANT_BOOL * | pSuccess | ||
| ) |
Opens the specified animation file and displays the first frame
| [in] | filePath | The path of the animation file to open. |
True, if the specified file was opened successfully; otherwise False.| HRESULT OpenAnimationFromResource | ( | [in] LONG | hModule, |
| [in] LONG | resourceID, | ||
| [in] BSTR | resourceTypeName, | ||
| [out, retval] VARIANT_BOOL * | pSuccess | ||
| ) |
Opens the specified animation resource and displays the first frame
| [in] | hModule | The handle of the module from which to load the animation resource. |
| [in] | resourceID | The ID of the resource to load. |
| [in] | resourceTypeName | The type name of the resource to load. Set it to an empty string if you want to load an AVI animation. Otherwise set it to the name of the type under which the animation is stored in the resource file. |
True, if the specified resource was opened successfully; otherwise False.| HRESULT SaveSettingsToFile | ( | [in] BSTR | file, |
| [out, retval] VARIANT_BOOL * | pSucceeded | ||
| ) |
Saves the control's settings to the specified file
| [in] | file | The file to write to. |
True if the settings could be saved; otherwise False.| HRESULT StartReplay | ( | [in, defaultvalue(0)] LONG | startFrame, |
| [in, defaultvalue(-1)] LONG | endFrame, | ||
| [in, defaultvalue(-2)] LONG | repeats, | ||
| [out, retval] VARIANT_BOOL * | pSuccess | ||
| ) |
Starts playing the animation
| [in] | startFrame | The zero-based index of the frame at which the animation shoult start. |
| [in] | endFrame | The zero-based index of the frame at which the animation shoult end. If set to -1, the animation will be played up to the last frame. |
| [in] | repeats | The number of repeats of the animation. If set to -1, the animation will repeat until it is stopped using the StopReplay method. If set to -2, the animation will repeat as often as recommended by the animation itself. If the animation does not specify a number of repeats, it will repeat until it is stopped using the StopReplay method. |
True, if the animation was started successfully; otherwise False.| HRESULT StopReplay | ( | [out, retval] VARIANT_BOOL * | pSuccess | ) |
Stops playing the animation
True, if the animation was stopped successfully; otherwise False.
|
getset |
Controls drawing of the animation's background
Retrieves or sets how the animation's background is drawn. Any of the values defined by the AnimationBackStyleConstants enumeration is valid.
|
getset |
Controls the style of the control's outer border
Retrieves or sets the kind of border that is drawn around the control. Any of the values defined by the AppearanceConstants enumeration is valid.
|
getset |
Specifies whether replay starts automatically after the animation has been loaded
Retrieves or sets whether replay of the animation is started automatically after the animation was loaded. If set to True, the animation starts automatically (playing all frames in an endless loop), otherwise not.
|
getset |
Specifies the control's background color
Retrieves or sets the control's background color.
|
getset |
Controls the style of the control's inner border
Retrieves or sets the kind of inner border that is drawn around the control. Any of the values defined by the BorderStyleConstants enumeration is valid.
|
getset |
Specifies whether the animation is centered within the control
Retrieves or sets whether the animation is centered within the control. If set to True, the animation is centered, otherwise not.
|
getset |
Controls which events are fired
Retrieves or sets the events that won't be fired. Disabling events increases performance. Any combination of the values defined by the DisabledEventsConstants enumeration is valid.
|
getset |
Controls redrawing of the control
Enables or disables automatic redrawing of the control. Disabling redraw while doing large changes on the control may increase performance. If set to False, the control will redraw itself automatically; otherwise not.
|
getset |
Controls whether the control accepts user input
Enables or disables the control for user input. If set to True, it reacts to user input; otherwise not.
|
getset |
Controls when the MouseHover event is fired
Retrieves or sets the number of milliseconds the mouse cursor must be located over the control's client area before the MouseHover event is fired. If set to -1, the system hover time is used.
|
get |
Retrieves the control's window handle
Retrieves the control's window handle.
|
get |
Retrieves whether the control is currently playing an animation
Retrieves whether the control is currently playing an animation. If True, it is playing an animation; otherwise not.
|
getset |
Controls the control's mouse cursor
Retrieves or sets a user-defined mouse cursor. It's used if MousePointer is set to mpCustom.
|
getset |
Controls the control's mouse cursor
Retrieves or sets the cursor's type that's used if the mouse cursor is placed within the control's client area. Any of the values defined by the MousePointerConstants enumeration is valid.
|
getset |
Controls the control's behavior in drag'n'drop operations
Retrieves or sets whether the control is registered as a target for OLE drag'n'drop. If set to True, the control accepts OLE drag'n'drop actions; otherwise not.
|
getset |
Controls the control's behavior in drag'n'drop operations
Retrieves or sets whether the control creates an IDropTargetHelper object, so that a drag image can be displayed during OLE drag'n'drop. If set to True, the control creates the object; otherwise not.
|
get |
Retrieves the control's version