
Quote: Originally Posted by
swinchester4
.....You can prove it: open Notepad and type a few letters. Then open Internet Explorer. Now close Internet Explorer. The focus does not return to Notepad......
open Notepad
okay, I did that via the start menu
type a few letters
okay, I typed a few letters into the notepad editor
Then open Internet Explorer
okay, but to do that I clicked on the IE shortcut that is pinned to the taskbar and therein lies the problem: I have now made an entry in the
window Z order stack for the taskbar.
Now close Internet Explorer
okay, I've closed IE and the focus reverts to the last item that was in focus - the taskbar.
To prove this z-order to yourself:
open notepad
open IE
click on notepad to bring it into focus
click in IE to bring it into focus
close IE
notepad should now be in focus
I do not know if this is behavior can be changed based on the theme settings, but my quick testing indicates that the taskbar (or quick launch area) is a part of the window z-order stack for Windows 7, XP, W2k. My testing in Vista and W98 seemed to show that the taskbar never enters the window z-order stack.