Just in case someone is interested in doing something like this. My goal was to try to eliminate any duplication of window processing logic in the overlay application. The overlay is an exact copy of the fltk appl.
My final solution was to create some special events in the dll that get sent on mouse movement and mouse presses. The callback for the main window catches the events since the dll uses SendMessage to dispatch them to the callback handler. The handler grabs the last known mouse coordinates then uses send(PUSH), send(MOVE), send(RELEASE) to the child widgets of the window along with ->set() and ->clear() to force button action. Unfortunately, PUSH events are blocked so it has to be forced. I never found the right combo of focus, inactive, and other flags that would allow just sending of events. Anyway, its not perfected but it does the basics without having to do a bunch of window mgmt. Cheers _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

