DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Can somebody help me wrap my head around this?  (Read 4,892 times)

Kraqule

  • Participant
  • Joined in 2008
  • *
  • Posts: 3
Can somebody help me wrap my head around this?
« on: February 09, 2008, 01:23 AM »
Ok I am trying to get into my little head with very little braincells left how to use the Control_AniGif.ahk ( with the demo part of the code deleted) and the aniGIF.dll file to display animated gifs that my program needs to operate effectively. Now below is the most basic code I could think of to give me a handle without a person having to put too much effort into it. Thank you for any help in advance.

Code
;animatedGIF.ahk

#NoEnv
#Persistent,On
#SingleInstance,Force
SetBatchLines,-1
SetWinDelay,0
DetectHiddenWindows,On



posx:=0        ;screen x
posy:=0        ;screen y
trans:=255     ;0-255


Gui,+Owner +AlwaysOnTop +E0x20 +Disable +Resize -SysMenu -MinimizeBox -MaximizeBox -Disabled -Caption -Border -ToolWindow +Background
WinSet,Transparent,0,ShowMouse
Gui,Margin,5,5
Gui,Color, white
Gui,Add,Picture, w200 h200 vpicid,XYZ.gif
Gui,Show,x%posx% y%posy% NoActivate, 
Gui,+LastFound
guiid:=WinExist()
WinSet,Transparent,,

Original address: https://www.donationcoder.com/forum/index.php?topic=12221.0