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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...