A: 

Have you had a look at this yet.

WPF 3.5 does not natively support multi-touch (it is coming in WPF 4.0) however the samples in that kit should get you started using the Windows7 Integration Library which access the native Win32 APIs to provide the required support (Don't worry its not real ugly:).

Simon Fox
Thanks, the labs look interesting, but this will not work for my problem. I do not really have a multitouch display which uses the new windows 7 API (I whish I had some of these nice laptops). The Bamboo seems to recognize the multitouch by itself and translates them into "default command" like SCROLL or ZOOM. The scroll (only up and down) seems to work everywhere (seems to mimic the mouse wheel). So its more a general question, how is e.g. horizontal scrolling defined in WPF..
Christian
Ah I see now. Yeah the Bamboo driver is probably generating some Win32 messages that those applications that are responding - Paint and Firefox - are listening for. Sorry I can't read German :) but can you assign the event type to the action you are performing via that config...I have done this in a much simpler form with Wacom tablets, e.g. map Barrell click to Right mouse click. Your best bet would be to work out what type of WPF events each tablet action generates and then respond to those as required. There is some useful info hidden in the StylusButtonEventArgs, i.e if you dig into the...
Simon Fox
source or device (I can't remember which now) you will get a Button id value (I think there is StylusButton.Id or similar hidden somewhere). Now this value is most likely going to be different for single touch, multi touch etc. even though the same event handler is being invoked. So yeah just try all the Stylus events, and Mouse events and dig into the arguments and you will somewhere find some way of identifying the different actions. In Charles Petzolds Application = Code + Markup there is a wee bit of code for catching and examining all the different events so this may help you get started.
Simon Fox