[EMAIL PROTECTED] wrote: > But don't you think that the user function required by add_handler > has a little conception pb ? > > void Fl::add_handler(int (*f)(int)) > > since that function will inevitably be static, I think > a void userdata pointer would be very appreciable.
Depending on the OS on what constitutes "event data", this could be tricky. For PostMessage, would that be "wParam" or "lParam" or both combined? add_handler also receives events of different nature (shortcuts). But I agree, all kind of handlers should have an user-defined data pointer, if possible. Please file an STR for this. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

