Daggett Posted July 14, 2005 Share Posted July 14, 2005 ok i've been searching for a while but can't find an anwser for this problem.i want that u can drag a file into the inputbox.it all works fine until u put a background behind it.the problem is here:#include <GUIConstants.au3>opt("GUIOnEventMode",1)$mainGUI = GUICreate ("Daggett's GUI", 500, 500, -1, -1, -1, 0x00000018)GUICtrlCreatePic(@scriptdir & "\Files\Background.jpg",0,0, 500, 500, 0x00000020)GUICtrlSetState(-1,$GUI_DISABLE)$scaninputbox = GUICtrlCreateInput ("", 30, 40, 300, 18, $WS_EX_TOPMOST)GUICtrlSetState(-1,$GUI_ACCEPTFILES)GUIsetstate (@sw_show)GuiCtrlSetState($scaninputbox,$GUI_FOCUS)while 1 sleep (9999)wend Link to comment Share on other sites More sharing options...
Valuater Posted July 14, 2005 Share Posted July 14, 2005 this works #include <GUIConstants.au3> opt("GUIOnEventMode",1) $mainGUI = GUICreate ("Daggett's GUI", 500, 500, -1, -1, -1, 0x00000010) $scaninputbox = GUICtrlCreateInput ("", 30, 40, 300, 18);, $WS_EX_TOPMOST) GUICtrlSetState(-1,$GUI_ACCEPTFILES) GUICtrlCreatePic(@scriptdir & "\Files\Background.jpg",0,0, 500, 500, 0x00000020) GUICtrlSetState(-1,$GUI_DISABLE) GUIsetstate (@sw_show) GUICtrlSetData($scaninputbox,"") while 1 sleep (9999) wend 8) Link to comment Share on other sites More sharing options...
Daggett Posted July 14, 2005 Author Share Posted July 14, 2005 Wow thanks a lot it works! Link to comment Share on other sites More sharing options...
Valuater Posted July 14, 2005 Share Posted July 14, 2005 Wow thanks a lot it works! <{POST_SNAPBACK}>Glad I could help...8) Link to comment Share on other sites More sharing options...
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