How do I get TAnimate's Common AVIs to work on Vista and Win7?

前端 未结 1 1827
暖寄归人
暖寄归人 2021-01-01 17:01

I have a Delphi 2007 application that has a TAnimate control with a FindFile Common AVI. It works perfectly when the application is run on Windows XP, but nothing ever appea

1条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-01 17:31

    You must add the unit ShellAnimations to you project or add the component TShellResources from the Win32 tab of the component palette. (Tested in Windows Vista- Delphi 2007)

    uses
    ShellAnimations;
    

    this unit adds the following replacement animation resources to your executable:

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

    Bye.

    0 讨论(0)
提交回复
热议问题