Ivano_Morrone wrote: > I would like to eliminate the focus from all the widgets I have. > I'm using " ->handle (FL_UNFOCUS)" but the cursor prompt always appears.
That certainly doesn't do what you want. FLTK calls this when the widget loses the focus (to let you do things that are appropriate when the focus is lost). It doesn't _change_ the focus. You probably want widget->visible_focus(0) on a widget basis [1], or if you really want it for all widgets, maybe Fl::visible_focus(0) [2]. If this doesn't solve your problem, please tell us what you want to achieve exactly. > I'm using 1.6 v. on winXP SP3 . There's no 1.6, you probably mean 1.1.6. Current is 1.1.10 - you should consider upgrading to this stable (and final) 1.1 release. Albrecht [1] http://www.fltk.org/doc-1.1/Fl_Widget.html#Fl_Widget.visible_focus [2] http://www.fltk.org/doc-1.1/Fl.html#Fl.visible_focus _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

