Greg Ercolano wrote:
> Try printing the events for your C window to make sure
> all events that involve leaving the C window put the
> cursor back to what it was on entry. (eg. LEAVE, UNFOCUS, etc)
BTW, try #including FL/names.h, so that you can easily
print the event names in 'human readable' form (instead of as numbers), eg:
int handle(int e) {
printf("EVENT=%s(%d)\n", fl_eventnames[e], e);
[..]
..this way you'll see all the events as the mouse moves around,
and you can maybe determine which events you're not handling
when the mouse moves out of the window/off of the widget in question.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk