The problem was solved by adding the preprocessor definition

WINVER=0x0601

for both FLTK dll and the application itself...

> 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().=20
>
>
> SELEX Galileo Ltd
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS=
> 14 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
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to