Hello.
If i start "imgburn" from my program using command line (i try to burn iso image), it shows "title"(where we choose actions type) window foreground, then you destroy this window, and start "working"(with progresses, device combo box, e.t.c.) window. But initially main window of my programm is foregroung (and maximized),
and when you create "working" window it turns out "under" my window = i do not see you working window.
Maybe, the reason is that after you destroy your tittle window, Windows looking for (and find main window of my program) any other window and set focus to it.
When you create your "working" window , Windows does not set it foreground (it lies under my main window).
I think, for proper work, you can change call sequence: first you must create "working" window, after - destroy "tittle window".
Thank you.
Good luck.