We are working with a Winforms application hosting a WebBrowser control which is running on Windows 7 machine with touch screen. The problem is when the user touches a button, the button would not look pressed down (the button works though). I read about this weird behavior from a devblogs post (https://devblogs.microsoft.com/oldnewthing/20170227-00/?p=95585) that this behavior is by design and it can be fixed by:
- Disabling the press-and-hold.
- Disabling all gestures (for Windows 7 and up)
Since we are targetting Windows 7 we need to apply both solutions above. It works but the problem is since all gestures will be disabled, the user cannot do any multitouch gestures anymore. We tried only the first solution (to just disable press-and-hold) but it won't do (mouse events still come after releasing the finger).
I've read similar questions about with this problem but the ones with answers were using Windows 8 and above where they disable the FEATURE_NINPUT_LEGACYMODE but this does not work with Windows 7. Anyone have any idea on how to be able to support multitouch gestures in Windows 7 without the mousedown issue?
Additional Information:
I saw another question (Windows 7 Touch Screen + Java Swing = Delayed Mouse Events) which I think is very similar but unfortunately there is no solution. But since it was asked around 7 years ago, without any updates, could there be perhaps someone who found a solution now? (or possibly not since it's too old already)
If this is problem is really a hardware/OS limitation, then I guess we have no choice but to accept this limitation.