Posted 18 years ago
by Thierry Bouchard
Hi,
I am trying to figure out while the whole application isnt showing up when I click on my app in the task bar, but instead only the last tool window that had focus is showing. I remember having such a problem with MFC and non-modal dialogs and setting the parent of the non-modal dialog to something valid would always ensure that the parent window would show behind the non-modal dialog in the Z-Order. Unfortunately, it doesnt seem to be as simple here.
Basically, the problem occurs when I switch between my application and another fullscreen application AND there is a toolwindow opened in my application. When I switch back to my application, sometimes, only the toolwindow is shown over the other app and the main form of my application is not bringed back to top , and sometimes, my form is shown correctly with the toolwindow above it.
Is there a way to always have the proper behavior, i.e. my Form showing under the tool window? Is there something wrong with Actipro or is it something that is more related to a Windows bug? Am I missing a flag somewhere, I dunno? Any help is very appreciated.
Thx
I am trying to figure out while the whole application isnt showing up when I click on my app in the task bar, but instead only the last tool window that had focus is showing. I remember having such a problem with MFC and non-modal dialogs and setting the parent of the non-modal dialog to something valid would always ensure that the parent window would show behind the non-modal dialog in the Z-Order. Unfortunately, it doesnt seem to be as simple here.
Basically, the problem occurs when I switch between my application and another fullscreen application AND there is a toolwindow opened in my application. When I switch back to my application, sometimes, only the toolwindow is shown over the other app and the main form of my application is not bringed back to top , and sometimes, my form is shown correctly with the toolwindow above it.
Is there a way to always have the proper behavior, i.e. my Form showing under the tool window? Is there something wrong with Actipro or is it something that is more related to a Windows bug? Am I missing a flag somewhere, I dunno? Any help is very appreciated.
Thx