On 04/11/12 10:46, Rajesh Kumar wrote:
>    Thanks for the reply. Can u post pseudo code for this??

   I think Albrecht means something like this in your derived class:

    int handle(int e) {
        int ret = Fl_Input::handle(e);
        switch (e) {
            case   FL_FOCUS: color(YOUR_FOCUS_COLOR);   redraw(); return(1);
            case FL_UNFOCUS: color(YOUR_UNFOCUS_COLOR); redraw(); return(1);
        }
        return(ret);
    }
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to