> Yuri D'Elia wrote: > Depending on the OS on what constitutes "event data", this could be tricky. > For PostMessage, would that be "wParam" or "lParam" or both combined?
Your answer brought me an idea I didn't even thought before. I pass the data pointer to the dll then I retrieve it through the lParam parameter of the PostMessage function: fl_msg.lParam It works and this way I don't need a global pointer anymore but it's a little bit tricky to do. Of course a void *data argument would be much easier and safe but for now I do it this way. Thanks. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

