PedroWarlock Posted July 19, 2016 Posted July 19, 2016 (edited) I made a GUI and set an image background. When I change a value of a transparent label, sometimes the value blink showing the area of the label. Anyone know fix it? (sorry my english google translator) i used sleep (100~), but the problem persists. Ex: #include <GUIConstants.au3> #include <File.au3> #include <GDIPlus.au3> $posicion=1 $brgui=GUICreate("Test", 300, 200, -1, -1, BitOR ($WS_POPUP,$WS_BORDER)) GUISetFont (38, -1, -1, "arial") $Background=GUICtrlCreatePic(@DesktopDir & "\background.jpg",0,0, 300,200) ;Label $test_posicion=GUICtrlCreateLabel ($posicion, 100, 80, 100,60) GUICtrlSetColor ( -1, 0xffffff) GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) GUISetState () while 1 $test=GUICtrlRead($test_posicion) GUICtrlSetData($test_posicion,$test+1) sleep(10) wend Edited July 19, 2016 by PedroWarlock
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now