Hi, One of my app uses a dll wich sending messages to it's host prog trought the PostMessage Windows function. So I use the fl_xid method to get a valid Windows HWND (from an FLTK window) and the add_handler method to define a function of my own that will parse the unknown messages sended to my FLTK window.
The function is prototyped as follow: static int my_parse_func(int event); The pb is that function can't do nothing else but parse unknown messages. I mean that it can't communicated with the rest of the program even if it's a static member function. Unless using a global pointer (not very advisable in a C++ prog) I don't see any other way to do something with that kind of function. Any idea ? Thanks _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

