Thanks Pablo, just for your reference the touchscreen input is being assumed as a 'left click' by my touchscreen. Using this autohotkey script is shows a single left click occurs on the main display when when Zonea is set to 'do not steal focus' as well as ' prevent cursor jump'
what might be happening:
Finger touches the LT1423 touchscreen.
Windows generates WM_POINTERDOWN.
Windows also synthesizes WM_LBUTTONDOWN for compatibility.
If focus or mouse capture changes at just the wrong time, the synthesized mouse click can be delivered according to the current mouse cursor position instead of the touch location.
The control under the mouse pointer on the primary monitor receives the click.
Autohotkey script to detect cursor:
#Requires AutoHotkey v2.0
#SingleInstance Force
CoordMode("Mouse", "Screen")
LButton::
{
MouseGetPos(&x, &y)
ToolTip("Left ClicknX: " x "nY: " y)
SetTimer(() => ToolTip(), -1000)
}
RButton::
{
MouseGetPos(&x, &y)
ToolTip("Right ClicknX: " x "nY: " y)
SetTimer(() => ToolTip(), -1000)
}
MButton::
{
MouseGetPos(&x, &y)
ToolTip("Middle ClicknX: " x "nY: " y)
SetTimer(() => ToolTip(), -1000)
}