Vcl.ComCtrls.TAnimate.ResHandle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ResHandle: THandle read FResHandle write SetResHandle;

C++

__property NativeUInt ResHandle = {read=FResHandle, write=SetResHandle, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TAnimate

Description

Specifies the Windows handle for the module that contains the AVI clip as a resource.

Set ResHandle at runtime to the instance handle or module handle of the module that includes the animation resource. After setting ResHandle, set the ResId or ResName property to specify which resource in the indicated module is the AVI animation that should be displayed by the animation control.

If a value is not specified for ResHandle, the animate control uses the instance of the application's main executable.

Note: Setting ResHandle automatically sets the CommonAVI property to aviNone and the FileName property to an empty string.

See Also