Jump to content
Sign in to follow this  
TK_Incorperate

Splash help, transparent and clicking throu

Recommended Posts

TK_Incorperate

Hey, I was wondering if there is a way to make a splash screen (Splash text) about half-transparent, and be able to click throu it?

I'm pretty sure with WinSetTrans you can make the splash transparent, but my program reads the stats of a game in real-time and puts them on a splash-screen, I'm wondering how to do this AND make the splash transparent, so I can make it put the stats inside the game screen and not click on the splash itself when clicking in the area it is in.

~TK

Share this post


Link to post
Share on other sites
TK_Incorperate

anybody got any input at all?

~TK

Share this post


Link to post
Share on other sites
Paulie

I can't say I'm sure exactly how this works, but i found a script in my archive with this...

I think its fun :)

#include <GUIConstants.au3>
$GUI = GUICreate ("Click Through Me", 100, 100, @DesktopWidth-100, @DesktopHeight-100, $WS_POPUP, BitOR ($WS_EX_TRANSPARENT, $WS_EX_LAYERED, $WS_EX_TOPMOST))
$label = GUICtrlCreateLabel("Hello!", 0, 0, 100, 100,$SS_CENTER)
GUICtrlSetFont(-1,25,500)
WinSetTrans ($GUI, "", 150)
GUISetBkColor(0xFF0000, $GUI)
GUISetState(@SW_SHOW,$GUI)

For $i = 1 to 100
    WinMove("Click Through Me","", @DesktopWidth-100, @DesktopHeight-$i)
    Sleep(15)
Next
For $i = 5 to 1 step -1
    GUICtrlSetData($label,$i)
    sleep(1000)
Next
For $i = 100 to 1 Step -1
    WinMove("Click Through Me","", @DesktopWidth-100, @DesktopHeight-$i)
    Sleep(15)
Next
Exit

Share this post


Link to post
Share on other sites
BillLuvsU

O_O; Thats really usefull, how come younever showed anybody?


[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites
Paulie

O_O; Thats really usefull, how come younever showed anybody?

Its already on the forum, how do you think i got it? :)

Plus I love hording all the information for myself! :P

I'm glad i found it though :)

Share this post


Link to post
Share on other sites
Richard Robertson

I'd love to know why it only works when the GUI is less than fully opaque. I used 255 opacity and couldn't click through it. At 254 it worked though. Microsoft is weird. This actually helps me on another program though.

Share this post


Link to post
Share on other sites
hehehehe

Thanks very much Paulie!!!!!

:o:D:):(:D :D

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  

×