Hallo Com,
Ich habe in einem GUI ein Input erstellt aber da fehlt dieser blinkende strich, woran man merkt das man das feld angeklickt hat und rienschreiben kann...
woran kann das liegen?
Hallo Com,
Ich habe in einem GUI ein Input erstellt aber da fehlt dieser blinkende strich, woran man merkt das man das feld angeklickt hat und rienschreiben kann...
woran kann das liegen?
Zeig mal den Quellcode.
Evtl noch in den Input klicken, oder ihn in den Focus holen.
mein code ist:
#include <GUIConstants.au3>
#include <IE.au3>
#include <Misc.au3>
$dll = DllOpen("user32.dll")
[/autoit] [autoit][/autoit] [autoit]$hGui = GUICreate("IceBird", @DesktopHeight, @DesktopWidth, 0, 0)
GUISetIcon(@ScriptDir &"/IceBird.ico")
$datei = GUICtrlCreateMenu("Datei")
GUICtrlCreateMenuItem("Schließen", $datei)
$url_search = GUICtrlCreateInput("www.google.de", 100, 30, 550, 20)
$object = ObjCreate("Shell.Explorer.2")
$object_ctrl = GUICtrlCreateObj($object, 0, 147, @DesktopWidth, 918)
_IENavigate($object, "www.google.de")
$pic_top = GUICtrlCreatePic(@ScriptDir &"/top.jpg", 0, 0, @DesktopWidth, 80)
GUICtrlSetState($pic_top, $GUI_DISABLE)
$pic_bottom = GUICtrlCreatePic(@ScriptDir &"/bottom.jpg", 0, 1859, @DesktopWidth, 40)
GUICtrlSetState($pic_bottom, $GUI_DISABLE)
GUISetState(@SW_SHOW)
GUISetState(@SW_MAXIMIZE)
While 1
$msg = GUIGetMsg()
Switch $msg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
If _IsPressed("0D",$dll)Then
_IENavigate($object, GUICtrlRead($url_search))
EndIf
While _IsPressed("0D") = 1
WEnd
WEnd
clezZ: hab beides grad bei mir getestet ging nix
Also bei mir geht es, bis ich einen Linksklick auf die IE Fläche mache. Danach allerdings nicht mehr.
dann hab ich wohl was falsch gemacht