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

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -