Hallo autoit-community!
Ich möchte auf Knopf- (bzw. Button-)druck zwei
ToolTip
[/autoit]s gleichzeitig anzeigen.
Mein Versuch (der leider nicht funktioniert) sieht so aus:
Spoiler anzeigen
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <Misc.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1 - Test", 200, 49)
$Button1 = GUICtrlCreateButton("Funktionen", 16, 16, 75, 25, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Beenden", 112, 16, 75, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
BitAND(Call("_func1"), Call("_func2"))
Case $Button2
Exit
EndSwitch
WEnd
Func _func1 ()
While 1
ToolTip("func1", 900, 600)
If _IsPressed(09) Then Exit;09 = TAB
WEnd
EndFunc
Func _func2 ()
While 1
ToolTip("func2", 200, 600)
If _IsPressed(09) Then Exit;09 = TAB
WEnd
EndFunc