Window Creation Question/Issue
I have an application where I wish to have some secondary utility windows. For various reasons, I wanted to create these windows during the application initialization, but not "use" them immediately. To do so, I created a function to create each window and store it in a variable for later use. Because I don't want to display these windows, I simply didn't call activate() on them during creation. The goal is to keep the subwindows hidden until needed. If I activate them, they appear. If I activate them and set visible to false, they appear and disappear. I'd like to not have the windows flash on-screen.
At a later point, if the user requests, I open the appropriate subwindow by calling activate(). This is where the problem arose.
It seems that if all the windows don't get activated, when the user clicks the SystemChrome exit button (X), the NativeWindow.nativeApplication's EXITING and CLOSING events don't fire.
What I'm seeing may be a feature and not a bug, but is it possible to create a subwindow without activating it and not disrupt the exiting/closing of the main application.
Thanks!
P.S. - I recognize that one approach is to create these windows as needed. I was just trying to be a little efficient by creating them ahead of time.
