You can use function Fl::event_dispatch() to add a custom event dispatch function
This dispatch function will be called at each FLTK event with the event type and the receiving window
as parameters. Therein you can react when the event type is FL_SHOW and the window
is that you're interested in.
But it's so much better to just subclass Fl_Double_WIndow.