Jump to content

Recommended Posts

Posted

i make an animated gif splash screen

the problem is how to add or compile the gif files into the exe ?

or how i loaded from external dll ?

here's the code

#AutoIt3Wrapper_Au3Check_Parameters=-w 1 -w 2 -w 3 -w 4 -w 5 -w 6
#NoTrayIcon
;.......script written by trancexx (trancexx at yahoo dot com)

#include <WindowsConstants.au3>
#include "GIFAnimation.au3"


[code]Global $sFile = @scriptDir & "\splash1.gif"
Global $aGIFDimension = _GIF_GetDimension($sFile)
Global $hGui = GUICreate("GIF Animation", $aGIFDimension[0], $aGIFDimension[1], -1, -1, $WS_POPUP, $WS_EX_TOPMOST)
Global $pGIF
Global $hGIF = _GUICtrlCreateGIF($sFile, "", 10, 10, $pGIF)
GUIRegisterMsg(15, "_Refresh"); WM_PAINT
GUICtrlSetPos($hGIF, 0, 0)
GUISetState()

$PID = Run("Setup.exe /S")
ProcessWaitClose($PID)


Global $sFile = @scriptDir & "\Splash2.gif"
Global $aGIFDimension = _GIF_GetDimension($sFile)
Global $hGui = GUICreate("GIF Animation", $aGIFDimension[0], $aGIFDimension[1], -1, -1, $WS_POPUP, $WS_EX_TOPMOST)
Global $pGIF
Global $hGIF = _GUICtrlCreateGIF($sFile, "", 10, 10, $pGIF)
GUIRegisterMsg(15, "_Refresh"); WM_PAINT
GUICtrlSetPos($hGIF, 0, 0)
GUISetState()
Sleep (2000)
Posted (edited)

god bless you

finally its work like i want ...

you make my dreams come true

i spent 2 weeks to search over the internet ..and waste a lot of hours to solve it

thank you so much ..

i really appreciate your help ..

if you need any help just tell me

good luck

Edited by BSHARK

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...