Hallo,
hat jemand eine Idee, wie man hier für das Tablet einen Taster hinbekommt? Das kurze Beispiel schaut am PC mit Mouseover ja schon ganz gut aus. Aber wie bekomme ich es hin, dass das auch auf dem Tablet funktioniert. Wenn man den Finger wegnimmt von dem Klick-Button, bleiben die Maus-Koordinaten fest und das Wegnehmen des Fingers zu registrieren ... ist mein Problem.
Spoiler anzeigen
C
#include <GUIConstantsEx.au3>
#include <ButtonConstants.au3>
#include <AutoItConstants.au3>
#include <Misc.au3>
Example()
Func Example()
Local $hGUI = GUICreate("Example", 300, 200,-1,50)
Local $hDLL = DllOpen("user32.dll")
$navi1 = GUICtrlCreateButton("Klick mich",120, 170, 85, 25)
Local $idClose = GUICtrlCreateButton("Close", 210, 170, 85, 25)
GUISetState(@SW_SHOW, $hGUI)
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE, $idClose
ExitLoop
Case $navi1
MouseClick($MOUSE_CLICK_PRIMARY)
Do
MsgBox(0,"Button","",2)
Until Not _IsPressed(01,$hDLL); fuer Linkshaender 02
EndSwitch
WEnd
GUIDelete($hGUI)
EndFunc
Alles anzeigen
Dank und Gruß
Thomas