> I think the clean approach would be to forget using a button, > and make the image area a class derived from Fl_Box with its > own event handle()er that detects mouse clicks on the image > (FL_PUSH and FL_RELEASE) and invoke the callback.
This is the approach that I have been considering. I'm just not familiar enough with fltk to tackle subclassing just yet. lol Also the code I am working on now is for a demo so I'm a little crunched for time. We will have much more time in the future to create custom classes, so I'm looking forward to that. > Should be easy to do. > I can post some code that would show how to do this if needed. I would love to see any example code you might have. :) thanks, Mike McCune Navigation Solutions 248 282 5407 _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

