> i'm developping an application that runs on a Windows 7 
> platform with touch screen handling multi-touch.
> 
> I implmented the zoom (on a map view) with the MOUSEWHEEL event.
> 
> Scrolling the map is handled correctly in touchscreen mode, 
> however, the zoom is not working...
> Any clues ?

No idea - never even seen a Win7 multitouch system... (Though I'm aware
that they exist!)

So... What events, if any, are delivered when you do the zoom gesture?

I'm assuming (and this is wild stab in the dark territory here, so far
from definitve...) that the Win7 OS is delivering messages that describe
the zoom gesture, but fltk doesn't know what they are so ignores them.

That is, I assume that Win7 dies not just map the zoom gesture to a
MOUSEWHEEL events? Or does it?

Anyway, if Win7 is delivering some unrecognised message for the zoom
gesture, it should be possible to implement a hander for it by using the
Fl::add_handler() method to catch the new messages...


void Fl::add_handler(int (*f)(int))

Installs a function to parse unrecognized messages sent to FLTK windows.
If FLTK cannot figure out what to do with a message, it calls each of
these functions (most recent first) until one of them returns non-zero.
The argument passed to the functions is the FLTK event that was not
handled or zero for unknown messages. If all the handlers return zero
then FLTK calls DefWindowProc(). 


SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to