On 9 Nov 2007, at 16:31, mkajdas.mkprod wrote:

> I was trying to avoid creating all windows at once and reuse them  
> like FLTK expects you to do (?).
> This would cause too much strain on my memory resources and I only  
> need one popup window at a time.
> Does it make sense and how can I acomplish this without a leak?


I think the only thing to try is Stan's suggestion - create just one  
pop-up window at startup (but hidden) and then re-use it for all your  
different pop-up windows throughout the life of your app. There's a  
small overhead in doing that, but it should be fixed and not growing  
over time. Other than that...?







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

Reply via email to