Sign in to follow this  
Followers 0
DaProgrammer

Need Help with "SplashImageOn" & "WinSetTrans"

3 posts in this topic

This is what i came up with so far.

Now how do i make the Pic transperent from point ""0"" ? couse it shows up for a sec b4 it vanishes again ?

SplashImageOn("KJ's",@ScriptDir & "\" & "pic.jpg",320,240,-1,-1,1)
WinSetTrans("KJ's","",0)
for $i = 1 to 255
    WinSetTrans("KJ's","",$i)
    Sleep(10)
Next
for $i = 255 to 1 Step -1
    WinSetTrans("KJ's","",$i)
    Sleep(10)
Next
SplashOff()

Share this post


Link to post
Share on other sites



Maybe...

SplashImageOn("KJ's","C:\Temp\colorgui.jpg",320,240,1000,1000,1)
;SplashImageOn("KJ's",@ScriptDir & "\" & "pic.jpg",320,240,1000,1000,1)
WinSetTrans("KJ's","",0)
WinMove("KJ's","", (@DesktopWidth /2) - 320, (@DesktopHeight /2) - 240)
Sleep(200)


for $i = 1 to 255
    WinSetTrans("KJ's","",$i)
    Sleep(10)
Next
for $i = 255 to 1 Step -1
    WinSetTrans("KJ's","",$i)
    Sleep(10)
Next
SplashOff()

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Tnx m8 Works Great after a few tweaks :whistle:


Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0