InkPicture Application in Surface Pro RRS feed

  • Question

  • I put this question to the forum but have yet to get a reply.  it seems to be bouncing around between forums !

    Here is the question -

    Im developing an application for Surface Pro where staff in the field enter information into a PDF form which is then sent back to the server.  This avoids printing out the document, filling it in, scanning it and then sending it.

    All this is working fine.  However,  we scroll the page using a scroll bar and move between pages using arrow buttons.

    What we want is to use finger touch.  At the moment touching the screen creates a line just like the microsoft pen does.  What we need, is to distinguish between a finger touch and the pen. 

    Can you point me to a sample ?


    Wednesday, October 9, 2013 12:07 AM

All replies

  • Are you writing a Windows Store app or a desktop app? Using the Windows Store API you can check the source of the event in the Pointer event args. The InkManager will automatically differ between stylus and touch.

    If you're writing a desktop app you need to post in the desktop (WinForms? WPF? Win32?) forum appropriate for your app.

    The InkPicture control may not differ between stylus and touch. You may need to update to more modern API to tell the difference. Details will depend on the type of app you are writing.

    Wednesday, October 9, 2013 5:52 PM