On 23 Jun 2007, at 10:12, Kai-Uwe Behrmann wrote: > On Linux a small rectangle is drawn on a button after the button was > pressed by a mouse. > > My question is, can the drawing of this rectangle be altered > automatically. I tried the calls > button->activate() and > button->set_visible_focus() without success. > > I hope for a minimalised feedback, without the need of deriving > from the > button class.
We are talking about the dotted-line visible focus rectangle? Are you trying to force the rectangle to move to another button? If so I think widget->take_focus(); is what you want. However, if you are trying to suppress the rectangle, then widget- >clear_visible_focus(); is what you want. Possibly. -- Ian _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

