> I have a feeling that the solution goes something
> like
> SubClass::select(int i)
> {
> Fl_Hold_Browser::select(i);
> if ( somthing ) bottomline(i);
> }
>
> But I can't figure out what the "something" is.
Yes, that sort of thing.
(handwaving follows)
Actually, I have a feeling what I actually did was (pretty nasty!)
override the draw() method... Then each time I got a draw, I checked the
vertical positions and, if necessary, "corrected" them, before calling
the base class draw. But I don't recall what I actually tested for. I
may have been testing "position_" against the widget height or
something? I can't remember.
Or something like that.
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