On 15.03.2012 09:56, Albrecht Schlosser wrote: > If you use FL_WHEN_CHANGED already you could increment the window's > counter like that: > > my_input->window()->had_events++;
Correction, you'd need to cast the window() pointer: ((idle_win *)my_input->window())->had_events++; ... or something like that. Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

