raedts Posted July 12, 2006 Posted July 12, 2006 Okay i trying to create a little app, The problem i have is the following: I want to set a picture as background, but if i use Guictrlcreatepic buttons don't work anymore. #include <GuiConstants.au3> GuiCreate("MyGUI", 515, 544) GUICtrlCreatepic("back.jpg", 0,0,515,544,$GUI_SS_DEFAULT_PIC) GUISetBkColor(0xFFFFFF) guictrlcreatebutton("Verstuur", 415,415, 60,65) GuiSetState() While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;; EndSelect WEnd Exit
Daniel W. Posted July 12, 2006 Posted July 12, 2006 #include <GuiConstants.au3> GuiCreate("MyGUI", 515, 544) $pic = GUICtrlCreatepic("back.jpg", 0,0,515,544 ) Guictrlsetstate( $pic , $GUI_DISABLE ) GUISetBkColor(0xFFFFFF) guictrlcreatebutton("Verstuur", 415,415, 60,65) GuiSetState() While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;; EndSelect WEnd Exit --------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote]
Daniel W. Posted July 12, 2006 Posted July 12, 2006 No Problem --------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote]
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