Table of Contents

CLIPNAME property (Animate)

Description

Specifies the name of the AVI file to play.

Property Value

The CLIPNAME property can be the name of an actual file, or the name of a resource contained in an EXE or DLL. If the latter then it should be specified in the format:

<filename>'#'<resourceID>

Property Traits

DevelopmentRuntimeIndexedScaledSynthetic
Get/SetGet/SetNoNoNo

Remarks

The control can display an AVI file originating from either an uncompressed AVI file or from and AVI file that was compressed using run-length (BI_RLE8) encoding. It must not contain a sound channel.

Example

 
// Example:

   //

   // Open an AVI file contained in Shell32.dll with an ID of 43506

   // and begin playing immediately in the centre of the control

   

   $Insert Logical

   

   ObjxArray =        @Window : ".ANI_COPYING"

   PropArray =        "AUTOPLAY"

   DataArray =        TRUE$

 

   ObjxArray := @Rm : @Window : ".ANI_COPYING"

   PropArray := @Rm : "CENTER"

   DataArray := @Rm : TRUE$

   

   ObjxArray := @Rm : @Window : ".ANI_COPYING"

   PropArray := @Rm : "CLIPNAME"

   DataArray := @Rm : "shell32.dll#43506"

   

   Call Set_Property_Only( ObjxArray, PropArray, DataArray )
 
 
 

See Also

N/A