Window 7 Panning with WPF 3.5
Posted: 11 November 2009 10:09 PM   [ Ignore ]
Avatar
Rank
Joined  2009-03-31
Total Posts:  95
New Member

Using VS2008, and the interop library below, I was able to add multi-touch panning support to the scrollviewer control in WPF.

It does require the Windows 7 Multitouch .NET Interop Sample Library

More information and sample code on my blog at http://blogs.compdj.com/post.aspx?id=34b48f9c-d390-4e62-80d9-8065bb6ea6d9

 Signature 

Building a Rear DI / LLP LCD table, in progress at: http://blogs.compdj.com/category/Multitouch.aspx

Profile
 
 
Posted: 12 November 2009 03:05 AM   [ Ignore ]   [ # 1 ]
Avatar
RankRankRank
Joined  2009-08-02
Total Posts:  254
Sr. Member

Thanks mate , I will have a look at it

 Signature 

My second prototype FTIR video

Musaab Hashim

Profile
 
 
Posted: 13 November 2009 08:35 AM   [ Ignore ]   [ # 2 ]
Avatar
Rank
Joined  2009-03-31
Total Posts:  95
New Member

In my last post I described a class that wraps the ScrollViewer control to enable multi-touch panning in it.

Well, it’s not exactly the right way to do it. You should be receiving the pan messages in the Window, then finding the scroll viewer where the window was touched using a Hit Test, and scroll that ScrollViewer.

Here’s my new blog post with C# code and example projects in C# and VB.NET

Windows 7 Multi-touch Panning with ScrollViewer in WPF 3.5 Part Duex

 Signature 

Building a Rear DI / LLP LCD table, in progress at: http://blogs.compdj.com/category/Multitouch.aspx

Profile
 
 
Posted: 13 November 2009 08:38 AM   [ Ignore ]   [ # 3 ]
Avatar
Rank
Joined  2009-03-31
Total Posts:  95
New Member
Mrme - 12 November 2009 03:05 AM

Thanks mate , I will have a look at it

In your avatar, you SO look like Richard Pryor… smile

 Signature 

Building a Rear DI / LLP LCD table, in progress at: http://blogs.compdj.com/category/Multitouch.aspx

Profile
 
 
Posted: 14 November 2009 08:02 AM   [ Ignore ]   [ # 4 ]
Avatar
RankRankRank
Joined  2009-08-02
Total Posts:  254
Sr. Member
big_gun - 13 November 2009 08:38 AM

Mrme - 12 November 2009 03:05 AM
Thanks mate , I will have a look at it

In your avatar, you SO look like Richard Pryor… smile

thanks man even if I don’t know him , will google his picture , but that guy in my avatar ain’t me, that is my IDOL , Cheb Khaled , the king of Raii.

 Signature 

My second prototype FTIR video

Musaab Hashim

Profile