On Oct 1, 2007, at 7:18 PM, <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> wrote:
> matthiasm wrote:
>> Are you referring to Drag'n'drop?
>
> I'm afraid yes.
No problem. I just wanted to know if you use the system DND or your
own code. We should be able to fix this for you, but I did not see
any problems in your code (except the annotated bit below). What you
did should work. Do you think you can minimize your code to a single
page or so that I can compile and run on my machine?
> case FL_PUSH:
> if(Fl::event_button() == FL_LEFT_MOUSE) //set the offsets in
> order
> { // to draging the widget
> ...//some code
> }
> return 1;
Make sure that you return 1 whenever any other mouse button is
pressed, or you will not get any more FL_DRAG events!
Matthias
---
http://robowerk.com/
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk