touch - Disable a right click (press and hold) in WPF application. -


i working on touch screen application running on windows xp standard. current hardware invoke right click user has click , hold couple of seconds, might interfere other actions holding repeat button in scrollviewer, have decide disable right click.

i ideally wan't disable right click on application level, if not possible, disable right click on windows level work me.

you can override onpreviewmouserightbuttondown on window , set handled true. need handle onpreviewmouserightbuttonup (thanks vitalij pointing out)

that should trick.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -