> 
> I did not test with windows.. will try that a bit later. I 
> hate turning
> on my windows box. It's always.. aggravating.

I tried this on WinXP this morning. Didn't work at first, due to some
oddness in the way the events are received, I think.

Basically, the handle method sets the class variable "evt" to record the
last event received - this is later tested in dnd_cb() to make sure the
last event was an FL_PASTE when receiving the dropped data.

Except that on WinXP, by the time the callback runs, the value of "evt"
is always FL_MOVE (not FL_PASTE) - even when I hold the mouse Really
Really Still.
In fact, it really does look as if some move events are received after
the drop event...

Anyway, bodging the update of "evt" to only update it for events we
"like" (which is probably not a robust thing to do) the code works as
expected.

-- 
Ian





SELEX Sensors and Airborne Systems Limited
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