Hi, I'm writing a program that has an opengl window, and some Fl_Text_Displays. The opengl window is setup to pan left and right when you press the arrow keys on the keyboard. But when I add more than one Fl_Text_Display with text buffers, the arrow keys no longer pan the opengl window. More specifically, I can create one Fl_Text_Display and add a text buffer with ->buffer(...) without any problem. I can add a second Fl_Text_Display without any problem. But as soon as I try to add text to the second Fl_Text_Display with ->buffer(...), the arrow keys no longer work to pan the opengl window. I am new to GUI programming, but I assume this has something to do with handles or callbacks (the Fl_Text_Display is taking control of the arrow keys?). What I don't understand is why I only have the problem when I have 2 Fl_Text_Displays with buffers. Any ideas on how to fix this? Thank you
_______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

