hallo gemeinde,
wie muss ich meinen Quelltext aendern, damit man nur den Text ohne GUI sieht ?
#include <GUIConstants.au3>
GUICreate("Test", 400, 200)
setText(10,40,"Teste einen roten Text in Groesse 9 ",0xFF0000,"MS Times New Roman",9)
GUISetState()
Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE
;myFunction
Func setText($x,$y,$text,$color,$fontname,$textgroesse)
local $label = GUICtrlCreateLabel ($text, $x, $y,StringLen($text)*$textgroesse,$textgroesse*2)
GUICtrlSetFont($label, $textgroesse, 400, -1, $fontname)
GUICtrlSetColor($label, $color)
EndFunc
Ich habs schon mit GUISetState(@sw_hide) probiert.
Ergebnis: die GUI war weg, leider auch der Text.
Eine direkte Lösung wird gesucht. (keine Links, Kommentare, Fragen etc.)
Gruss
@Berti