问题描述
我有一个Delphi 2007应用程序,具有一个具有FindFile Common AVI的TAnimate控件。当应用程序在Windows XP上运行时,它可以很好地工作,但Windows 7上没有任何显示。我听说现在需要自己的线程,但我不确定。你必须添加单元ShellAnimations给您项目或从组件面板的Win32选项卡添加组件。 (在Windows Vista- Delphi 2007中测试)
使用
ShellAnimations;
此单元将以下替换动画资源添加到可执行文件中:
- FindFolder.res
- FindFile.res
- FindComputer.res
- CopyFiles.res
- CopyFile.res
- RecycleFile.res
- EmptyRecycle.res
- DeleteFile.res
再见。
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 appears on Windows 7. I've heard it now requires its own thread, but I am not certain.
Does anyone know how to get TAnimate's Common AVI control to work on Windows 7 (or Vista)?
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.
这篇关于如何让TAnimate的常见AVI在Vista和Win7上工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!