I wrote a similar utility a while back. It's available
at http://utilities.prest.ca/. The basics are similar.
No drag & drop, but you can reorder buttons quickly using
the keyboard (using Ctrl+Arrows).
At first, I was using the show/hide method to reorder the
buttons (as was mentioned in this article). But I
discovered a better way, using COM and the ITaskbarList
interface. Here's a code snippet:
As you can see, I basically just delete all the buttons on
the taskbar, and then re-add them in the desired order.
The end result is the same as the show/hide method, but
it's somewhat faster because it doesn't result in any
applications redrawing themselves.
Get idea! I always wanted this - the task bar should have the drag/reorder built in but its not...
Couldn't you loop over the windows and get the origional tab order (zorder) to initialize it to the correct current order??
Like Chris says this is very usefull utility when explorer crushes. Sometimes I dreamed for such as utility that will give me possibilities to place most important application at left side. Another example of use is Java application that are started with console. If you start quickly two GUI Java apps you can have 2 console, 2 GUI on taskbar. It's very comfortable to have console, GUI, console and GUI on taskbar to differentiate easy coressponding console of any GUI.
It'll be good to put one button for refresh or to make refresh per minute or less.