Vcl.ShellAnimations.TShellResources

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTShellResources

Delphi

TShellResources = class(TComponent)

C++

class PASCALIMPLEMENTATION TShellResources : public System::Classes::TComponent

Properties

Type Visibility Source Unit Parent
class public
Vcl.ShellAnimations.pas
Vcl.ShellAnimations.hpp
Vcl.ShellAnimations Vcl.ShellAnimations

Description

TShellResources provides forward compatibility for programs that use system animations in Windows Vista or Windows 7.

Windows Vista or Windows 7 shell animations are no longer accessible outside of the system; programs must now store local copies of these animations instead of linking to them as was done in the past.

Placing TShellResources onto a form copies the following system animation resources into the program:

  • CopyFile.res
  • CopyFiles.res
  • DeleteFile.res
  • EmptyRecycle.res
  • FindComputer.res
  • FindFiles.res
  • FindFolder.res
  • RecycleFile.res

TShellResources should only be used in programs that are run on Vista and Windows 7 and use animations from the common library; otherwise, this function adds unneeded overhead.

See Also