> however my compiler (VS2005 and VS2008) will not agree to call 
> 'Fl_Scrollbar->value(x);' unless I cast the scroll bar into an 
> Fl_Valuator.

        Just curious; does it help if the value() you specify
        is a double? ie:

scrollbar->value((double)val);


        I'm running Microsoft VS Express 2005 (V8.0.50727.42) with
        fltk 1.3.x current and getting no errors when compiling the
        code I pasted; just re-verified this to make sure.


        I know you have a solution, but I'd like to look into this.
        I'm puzzled why the compiler would not automatically use
        the Fl_Valuator version of value() automatically.

        Can you include your build log here that shows the compile
        line flags and errors with the code I posted? I'd like to
        see the error and build flags.

        Also, which precise version of FLTK and VS are you using
        for your build?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to