Jane wrote:
> hola, (fltk 1.1.9)
>
> first: how do i use the scroll widget correctly in fluid?
> i put a huge box inside a scroll widget and it scrolls
> fine. but widgets that are outside of the scroll widgets
> are being "overlayed" by the huge box and become
> insensitive (they are visible though). in fluid, the big
> box draws out of the scroll widgets scope so i guess i did
> something wrong.
What's the purpose of the huge box, and why is it
covering other widgets?
I would think if you want the widgets over the huge box,
the huge box would be a group and you'd put the widgets
in it, and then the huge box into the scroll.
Or better, if the huge box is just to make a bgcolor,
leave out the huge box, and just set the scroll's box
to be eg. FL_FLAT_BOX, and set its color so the scroll's
bg color is what you want, and just put widgets in the scroll
without the huge box. Then wherever you put widgets, the scrollbars
will automatically size so that you can pan to see them all.
> second: two windows, one ("C") with a custom widget that
> changes the mousepointer when moved over. now, when C does
> not have the focus and i click into my widget to focus it,
> the mousepointer that was set by the custom widget is used
> by the other window ("B"). i can only revert the
> mousepointer to normal by doing the same procedure with the
> difference that i click on a free area in window C (one
> that does use the normal mousepointer). i guess i am
> missing some important event in my handler?
Try printing the events for your C window to make sure
all events that involve leaving the C window put the
cursor back to what it was on entry. (eg. LEAVE, UNFOCUS, etc)
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk