Sign in to follow this  
Followers 0
Mack

Transperant GUI

2 posts in this topic

when i insert this

#include <GUIConstants.au3>

GUICtrlCreateLabel ( "my label which will split on several lines", 10,20, 100, 100)
;GUICtrlSetStyle (-1, $SS_RIGHT )
GUICreate("My GUI" ,250,150 ,$WS_EX_WINDOWEDGE) ; will create a dialog box that when displayed is centered
GUISetState (@SW_SHOW)    ; will display an empty dialog box

GUICtrlCreateButton ("One",  10, 10, 100)
GUICtrlCreateButton ("Two",  10, 40, 100)
GUICtrlCreateButton ("Three",  10, 70, 100)
GUICtrlCreateButton ("Four",  10, 100, 100)

; Run the GUI until the dialog is closed
While 1
    $msg = GUIGetMsg()
    
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend

it doesnt show a transperant GUI box

Ive already included GUIConstants.au3

Share this post


Link to post
Share on other sites



#include <GUIConstants.au3>

GUICtrlCreateLabel ( "my label which will split on several lines", 10,20, 100, 100)
;GUICtrlSetStyle (-1, $SS_RIGHT )
GUICreate("My GUI" ,250,150 ,$WS_EX_WINDOWEDGE); will create a dialog box that when displayed is centered
GUISetState (@SW_SHOW)   ; will display an empty dialog box

GUICtrlCreateButton ("One",  10, 10, 100)
GUICtrlCreateButton ("Two",  10, 40, 100)
GUICtrlCreateButton ("Three",  10, 70, 100)
GUICtrlCreateButton ("Four",  10, 100, 100)
WinSetTrans ( "My GUI", "", 128)
; Run the GUI until the dialog is closed
While 1
    $msg = GUIGetMsg()
    
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend

something like this?


 

Spoiler

shoot_zpsfd329d66.png
dontbelieveeverythingyouthink_zps0e1e900

Madness is the first step to understanding...

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