> case FL_PUSH:
>
> if(Fl::event_button() == FL_LEFT_MOUSE) //set the offsets
> {
> xoff = x() - Fl::event_x_root();
> yoff = y() - Fl::event_y_root();
> }
> return 1;
>
> case FL_RELEASE:
>
> return 1;
I haven't tried this, so this is just a guess, but is the problem maybe
that you return 1 from the FL_RELEASE of the right button - and that
makes the system not send you any more drag events (since you have
acknowledged release of the widget...)
So I guess you have to NOT return 1 from the release of the right
button... Maybe, you need to NOT return 1 from the PUSH of the right
button in the first place. I think that could mean that you never even
get the release from that button, and all might then work OK?
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