manolo gouy wrote:

> Alternatively, could you, please, replace
> pd.hwndOwner = GetForegroundWindow();
> by
> pd.hwndOwner = fl_xid(Fl::first_window());

Yes, that looks good. I'd also thought of something like this.

...

> and tell us if the zombie disappears.

Another useful test would be to add

   fl_alert("after Fl::run()";

at the end of the program (as it says, after the Fl::run()
statement) to see if Fl::run() is terminated and the program
hangs somewhere in the destructors or other Windows runtime
code.

This code at the end of test/device.cxx works as expected
here on Windows 7:

--- end of test/device.cxx ---

         Fl::run();
         fl_alert("after Fl::run()");
         return 0;
};


Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to