WM TOUCH: Enable multitouch on Eyeshot WPF control when added programmatically

For the Eyeshot 2020 WPF control,  when the ImmediateMode is not activated but the property model1.MultiTouch.UseWindowsMessages is set to true and you need to add the Eyeshot control programmatically, you need the below code in the main window constructor to make it work.


public MainWindow()
{
    InitializeComponent();

    devDept.Eyeshot.Environment.DisableWpfTabletSupport();
}

You can test it with the attached source code sample.

If you need to restore the multitouch functionality on the other WPF controls, please have a look at this article.

Previous versions of this article: Eyeshot 11

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.