Jump to content

Splash help, transparent and clicking throu


Recommended Posts

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 1 year later...

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...