Jump to content
Sign in to follow this  

Unexpected Full Transparent GUI

Recommended Posts


;Right-click/ESC to exit
;Playing with AutoIt GUI

$mGui = GUICreate("Full Transparent GUI", 300, 300, -1, -1, 0x80000000)
GUISetBkColor(0xffffff, $mGui)
WinSetTrans($mGui, "", 160) 
GUICtrlCreatePic("", 0, 0, 181, 101, -1) ;test code

GUICtrlCreateLabel("wololo~", 5, 6, 300, 100,-1,0x00080000)
GUICtrlSetFont(-1, 48, 600, -1, "Lucida Handwriting", "CLEARTYPE_QUALITY=5")
GUICtrlSetBkColor(-1, -2)

GUICtrlCreateProgress(10, 80, 280, 20,-1)



While 1
    $Msg2 = GUIGetMsg()
    If $Msg2 = -9 Then Exit

Can someone tell me why the GUI fully transparent after i added "GuiCtrlCreatePic"?

[size="2"][font="Lucida Sans Unicode"][b][/b][/font][/size]

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.