Michael Heiser wrote: > Could it be that the is, that my picUpdate() function is in another class > then my callback which calls picUpdate()?
No, I don't think so. If it is called *correctly*, the class doesn't matter. > I have created the forms with fluid. A Mainwindow that inherits a group with > 6 buttons and the picbox. > Then I created a Dialog class where all my callbacks are. The callbacks call > functions form a PicHandle_Class where I do the picUpdate for Example. The > Dialog Class is derived from the class generated from fluid and also the > PicHandleClass. I will post my .h files to show you what I mean. Unfortunately your .h files are not very helpful. Did you try my example with your FLTK version? Did it work? > Any hints? Only one: look for local/automatic variables in your functions (callbacks) that might go out of scope at the end of the function. That might be a problem somewhere. However, in your posted code fragments, you allocated the image with new and used [your box]->image(jpg) or similar, and that would be okay. Sorry, no more ideas other than that ... Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

