Taskbar Sorter Utility
Environment: Win96/98/Me, NT4/Win2K, XP
Introduction
This utility allows you to change the order of items on your taskbar, by dragging them into position in a list.
The list shows all of your visible top-level windows. To move a window, you simply drag the window's title into the order you wish the windows to appear, and click the Sort button.
To exit the utility, click on the Close button.
How It Works
The application enumerates windows that are top-level (have no owner), and do not explicitly prevent themselves from appearing in the taskbar. It adds each of the windows' titles to a drag list box (CDragListBox), along with the icon for the app. The user then can re-order the windows. When the user clicks the Sort button, each window is hidden, by using ShowWindow(SW_HIDE), and then re-shown (ShowWindow(SW_SHOW)) in the order of the list -- top to bottom. This has the effect of the window being removed from the taskbar and then being re-added at the right-hand side.
Known Limitations
Unfortunately, there doesn't appear to be any way to interrogate the taskbar to determine, firstly which windows appear there, and secondly in what order they currently appear. This means that each time the utility is run the user needs to re-order each window from scratch.
That's all there is to it -- have fun!
Downloads
Download exe - 100 Kb
Download source (includes exe) - 114 Kb

Comments
try XNeat @ www.xneat.com ( sort using mouse drag & drop )
Posted by mr_sekoskeo on 10/20/2005 06:25ami use this software XNEAT to sort my taskbar items ... you can find it at http://www.xneat.com/
ReplyGreat!! Nice for us anal folks!
Posted by Legacy on 02/04/2003 12:00amOriginally posted by: Mike
Great!! Nice for us anal folks!
Reply
Very Cool!
Posted by Legacy on 08/07/2002 12:00amOriginally posted by: Paul
Very Cool!
Thanks.
Reply
Better way to reorder taskbar buttons!
Posted by Legacy on 07/11/2002 12:00amOriginally posted by: Ian Prest
ReplyGet default sort
Posted by Legacy on 06/25/2002 12:00amOriginally posted by: Brad Pirtle
Get idea! I always wanted this - the task bar should have the drag/reorder built in but its not...
ReplyCouldn't you loop over the windows and get the origional tab order (zorder) to initialize it to the correct current order??
Very cool. Refresh is missed.
Posted by Legacy on 06/22/2002 12:00amOriginally posted by: Alexi Jordanov
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.
Regards, Alex
ReplyNice Utility
Posted by Legacy on 06/21/2002 12:00amOriginally posted by: Chris Richardson
Very useful for those times when you accidentally happen to crash Explorer and you want your task bar back in the order it was in before.
Chris Richardson
Reply