Hello, I have an window that contains a button. The button has a callback handler and when the button is pushed the callback (among other things) calls labelcolor() to change the color of the label. This is working fine. However, in another part of the application I programmatically call the callback function directly (without the button being pushed) and while labelcolor() is still being called, the button's label does *NOT* change color. To get the color to change I have to do something like minimize and restore the window to get the button to be "re-painted". I suspect that the event of pushing the button triggers a "repaint" so that's why the color changes when I push the button. How can I force a repaint of the button so that the label color changes when I call labelcolor() programmatically?
Thanks. Al Koch _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

