active window for substacks
Posted: Sun May 04, 2008 3:03 pm
I have an application I am working on with several substacks.
The application starts with the main stack, then links to various instances of substacks.
Of course I could and probably should have handled this differently, however my main goal is to actually finish an application, good bad or ugly.
As part of the testing, I came across the following issue.
When the main stack calls a substack for the first time, the substack opens on top.
or above the main stack, which is what is needed, however once the user minimizes the substack upon a second call to that same substack the window opens in the background, not on top as I would like.
This issue is further complicated by other substacks that may also be open but minimized by the user.
I ran this test a number of times, and each time the same behavior is apparent.
once the substack is open and minimized upon a call from script to that substack the substack opens in the background.
I had a few thoughts about how to handle this however, my approach failed and did not address the issue of which substack should be set as active.
Interestingly, when the user clicks on the minimized substack it opens on top of other stacks and substacks, I wonder why that is?
anyway any thoughts suggestions, a treatise, or any other sublimations are always welcomed.
Have a Great Day.
Tim
The application starts with the main stack, then links to various instances of substacks.
Of course I could and probably should have handled this differently, however my main goal is to actually finish an application, good bad or ugly.
As part of the testing, I came across the following issue.
When the main stack calls a substack for the first time, the substack opens on top.
or above the main stack, which is what is needed, however once the user minimizes the substack upon a second call to that same substack the window opens in the background, not on top as I would like.
This issue is further complicated by other substacks that may also be open but minimized by the user.
I ran this test a number of times, and each time the same behavior is apparent.
once the substack is open and minimized upon a call from script to that substack the substack opens in the background.
I had a few thoughts about how to handle this however, my approach failed and did not address the issue of which substack should be set as active.
Interestingly, when the user clicks on the minimized substack it opens on top of other stacks and substacks, I wonder why that is?
anyway any thoughts suggestions, a treatise, or any other sublimations are always welcomed.
Have a Great Day.
Tim