Jump to content

Having trouble adding Animated GIF resource to a dialog using resorce


Recommended Posts

Posted (edited)

Im currently trying to edit my sysdm.dll dialog 101 and also winrar.exe so that i can use Animated GIFs on the dialogs, the only trouble is that when i add the resource and then add the control using resource hacker it doesnt seem to show up

I add a new resrouce and call it GIF, 1 , lang 1033

I then goto the dialog and add a sysanimated control and set its ID to 1 , unfortunately it doesnt show the avi when the dialog loads. :|

I am not sure how else i can do it. If someone would be kind enough to bung n AVI in the sysdm.cpl and get it to work on a dialog then i can just replace the AVI resource , would be greatly appreciated.

Edited by Scubar

Posted

no way u can do that unless you are a programmer for microsoft and rewrite all windows............

the dll default should have avi for u to replace and not that dll for system information

Posted

It is possible to add image resources to dialogs , i have done it in the past, i have just forgotten how i did it as it was along time ago. Im sure there is a way of adding a animated gif to it.

You dont need to rewrite all of windows just todo that.

Posted (edited)

Afaik, Adding GIF images in a file using Resource hacker is impossible!

But there is work-around.

U can convert the GIF file into AVI files, or get ready-made AVI files from ne other system file, like shell32.dll, msgina.dll, etc.

1.) Then open the file, in which u want to add the animation in resource hacker.

2.) Add the AVI file using Action -> Add a new resource.

3.) Click on Open file with a new resource button.

4.) Select the AVI file and click on Open.

5.) In resource type give AVI;

6.) In resource name give any number, which is not present in the file.

7.) In language give 1033 for english.

8.) Now click on Add resource button.

9.) Now goto the dialog, in which u want to add the AVI file, right-click on the dialog box and select "Insert Control".

10.) Click on SysAnimate32. In Caption give the newly added AVI file name with # symbol. e.g., if u gave the name 180 to the AVI file, then give #180 in caption.

11.) Don't forget to select ACS_TRANSPARENT, ACS_AUTOPLAY. otherwise the AVI file will hv ugly background and will not play when u'll open the dialog box.

12.) Now u can change its location, length, width, etc. and finally compile the script and then save the file! :)

Edited by Vishal Gupta

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...