On Mar 24, 2007, at 6:49 PM, Milan wrote: > When I type the first character in input box, child window with > browser in it, > which added that character, pops up but focus is not on input > anymore, so I > have to click on input and continue typing after which focus stays > on input.
Hmm, I have not tried this yet, but shooting from the hip, Id suggest you make your browser either a regular window and call set_non_modal () on it, or make it an Fl_Menu_Window(). That way, it will stay on top of your window. Next, I'd call take_focus(). If that is not enough, you could try calling myInput->window()->show() before calling take_focus(), so your window becomes the first n the window list. Please let me know if this worked for you. If not, I'll see if I find a better way. BTW: which OS are you using? ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

