Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Touch Screen Monitor and Mouse Events

$
0
0

I have a Dell Touch Screen Monitor (ST2220t). I've written a WPF application that receives Click Events (using either the mouse or the Touch Screen monitor). When I use the Touch Screen monitor, everything seems to work fine but eventually my application stops receiving these click events when I use the Touch Monitor but it still seems to receive these events when I use the mouse. If I restart my application, everything seems to fine again. 

I'm not using any Touch event handling. As I understand how WPF works, it will first use Touch event handlers if found and if not it will use Mouse event handling. When it's not working, when I touch the monitor, I see a star bust on the monitor (I assume this means it received the touch event), but it doesn't call my Click event.

Any idea what my problem is?  The only thing that I'm doing that is unusual is that my application has a "timeout" feature that will close (i.e. hide) a bunch of dialogs and rest the display to a main display when there is no keyboard or mouse activity for 30 seconds.

I can post this code if you think it would be related to the problem..

Thanks in advance for your help,

Paul P.


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>