crz Posted June 21, 2007 Posted June 21, 2007 Hello! When I execute the script I get the GUI with the selected background.. but the "button"(read: pic with function), only comes visible when I minimize and restore.. Is there a easier way to do this, or what is the solution? #include <GUIConstants.au3> $CustomGUI = GUICreate("CustomÕRI][ÝËÌMLÚÝÜÚYÈHMLÚÝÜZYÚÈH ÍK Ì͵u5õõU b33c´&6¶w&÷VæBÒuT7G&Ä7&VFU2gV÷C´w&72b3#´&6¶w&÷¹¹©ÁÅÕ½Ðì°À°À°ÌÀÀ°ÄÔÀ°ÀÌØíU%}%M 1¤(%U%MÑ ½±½È ÀÌØí ound) GUISetState(@SW_SHOW) $Close = GUICtrlCreatePic("GraphicsÌLÐÛÜÙKÉ][ÝËL BÚ[HBIÌÍÐÝÝÛQÕRSÙÈHÕRQÙD×6r b33c´7W7FöÔuT6Æ÷6RÒb33c´uTôUdTåEô4Äõ4P 6VÆV7@ 66Rb33c´ÕÍѽµU%5ÍôÀÌØí ÕÍѽµU% ±½Í($$%á¥Ð(($% ÍÀÌØí ÕÍѽµU%5ÍôÀ6;Close Exit EndSelect WEnd Thanks! Steffen "crz" Jorgensenwww.crz.dkcrz@crz.dk
Valuater Posted June 21, 2007 Posted June 21, 2007 Maybe... #include <GUIConstants.au3> $CustomGUI = GUICreate("CustÛQÕRI][ÝËÌMLÚÝÜÚYÈHMLÚÝÜZYÚÈH ÍK Ì3cµu5õõU¢b33c´&6¶w&÷VæBÒuT7G&Ä7&VFU2gV÷C´w&72b3#´&ɽչ¹©ÁÅÕ½Ðì°À°À°ÌÀÀ°ÄÔÀ°ÀÌØíU%}%M 1¤(U% ÑɱMÑMÑÑ 1, $GUI_DISABLE) ;GUISetBkColor($Background) GUISetState(Õ×ÔÒÕÊBÌÍÐÛÜÙHHÕRPÝÜX]TXÊ ][ÝÑÜXÜÉÌLÐÛÜÙKÉ][ݲÂ#Â#ÂÂ# ¥vÆR¢b33c´7W7FöÔuT×6rÒuTvWD×6r¢b33c ÕÍѽµU% ±½ÍôÀÌØíU%}Y9Q} 1=M((M±Ð( ÍÀÌØí ÕÍѽGUIMsg = $CustomGUIClose Exit Case $CustomGUSÙÈH ÌÍÐÛÜÙB^][Ù[XÝÑ[ 8)
crz Posted June 21, 2007 Author Posted June 21, 2007 Problem solved, thanks. Steffen "crz" Jorgensenwww.crz.dkcrz@crz.dk
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