misiek008 Posted May 15, 2010 Posted May 15, 2010 Hello. I want write splash screen from calling dll's fron NSIS installer. I want use NewAdvSplash.dll and AnimGif.dll. This files need other dll to call(calnsis.dll). My question is how I can call dll which will be call other dll ? Maybe someone trying this files already to make splash with fades and playing gif animation or know other way to have this splash effects ?
l3ill Posted May 15, 2010 Posted May 15, 2010 I had a hard time finding this one too... #include <WindowsConstants.au3> If Not FileExists(@TempDir & "\") Then Do DirCreate(@TempDir & "\") Until FileExists(@TempDir & "\") EndIf FileInstall("C:\Documents and Settings\You\Desktop\yourpic.jpg", @TempDir & "\", 0) $destination = @TempDir & "\yourpic.jpg" $hwnd = GUICreate("", 600, 400, -1, -1, $WS_POPUP) GUICtrlCreatePic($destination, 0, 0, 600, 400) DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00080000);fade-in GUISetState() Sleep(2000);View picture DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $hwnd, "int", 1000, "long", 0x00090000);fade-out Exit While 1 Sleep(250) WEnd My Contributions... SnippetBrowser NewSciTE PathFinder Text File Manipulation FTP Connection Tester / INI File - Read, Write, Save & Load Example
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now