Yuri D'Elia wrote:
>> The magnifying window handle does not return anything by now.
>> Though, I think now I should enable some handle for dragging it
>> decently, once brought into existence by FL_PUSH handled in the
>> main window.
>
> If you handle dragging in the magnifying window and then move the
> window underneath (while the dragging is still in progress), be
> careful about recursive events too.
Long time, no C. :-)
Getting back on this issue: I enabled a handle in the magnifiying
window (in the MLBox class magnifying_box_ widget lying inside) and
I disabled the dragging in the main window in order to avoid any
event handling confusion (in other words: once brought into existence,
the magnifying_box_ in the magnifiying window should handle all mouse
events until receiving a FL_RELEASE which should trigger the hide()).
Unfortunately, the magnifying_box_ doesn't get any mouse events once
its window is shown under the cursor: it's still the background main
window who gets them. Am I missing something?! Should I explicitly call
some other method?
Thank you for your answer,
Z.B.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk