Why canā€™t I close windows directly from the Alt+Tab interface in Windows Vista?

Raymond Chen

Raymond

On an internal mailing list, somebody asked why the thumbnail-based Alt+Tab interface in Windows Vista doesnā€™t show a little āœ–ļøŽ so you can close the window directly from the Alt+Tab list:

I tend to end up with a gazillion email messages all over my screen, so I need to do garbage collection from time to time. Maybe itā€™s my own fault for letting them pile up in the first place. The taskbar does such a good job of hiding the clutter that the moment I realize that I have too many windows open is usually when I hit Alt+Tab. I find that while Iā€™m searching for the window I want, I wander through a lot of random windows I want to close. I donā€™t want to have to leave Alt+Tab to close those windows, since Iā€™d have to return to Alt+Tab and start my search over. Why isnā€™t there a red Ɨ in the corner of each thumbnail so I can close them without having to break my concentration?

One of the developers replied with this answer:

When we originally added the new Alt+Tab to Windows Vista, we also included the ability to close, minimize, and maximize windows without leaving Alt+Tab. We had to abandon the feature, however, in large part because the new Alt+Tab runs inside Explorer (which is not normally elevated), and bad things were happening when we tried to manipulate elevated windows. There were other problems, too, such as trying to close a window that displays a ā€œDo you want to save?ā€ dialog.

Fortunately, these problems got worked through and resolved in later versions of Windows, so you can now close directly from the Alt+Tab. But this explains why it took a while.

If youā€™re still running Windows Vista (and really, huh?), and you want to close a large number of windows and closing entire taskbar groups doesnā€™t give you the granularity you need, you can hover over the taskbar button and click the the āœ–ļøŽ for each thumbnail you want to close.

You can also hit Ctrl+Shift+Esc to launch the Windows Vista Task Manager, go to the Applications page, multi-select all the windows you want to close, and click End Task. If you do it from the Applications page, then Task Manager will do the friendly thing and post a WM_CLOSE message to the window.

Donā€™t try this on Windows 8 or later, though. Ending a task from the Applications page will terminate it immediately!

Pre-emptive snarky comment: ā€œThe idiots in charge of the Windows 8 Task Manager didnā€™t include this feature in their redesign.ā€

Raymond Chen
Raymond Chen

Follow Raymond