Sign in to follow this  
Followers 0
Daggett

input problem

4 posts in this topic

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


Share this post


Link to post
Share on other sites



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)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Wow thanks a lot it works! :)


Share this post


Link to post
Share on other sites

Wow thanks a lot it works! :)

<{POST_SNAPBACK}>

Glad I could help...

8)


NEWHeader1.png

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  
Followers 0