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 which are top-level (ie have no owner), and do not
explicitly prevent themselves 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
can then re-order the windows. When the user clicks the Sort button, each window is hidden
ShowWindow(SW_HIDE) and then re-shown (
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.
Unfortunately there doesn't appear to be any way of interrogating 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!
Originally from an electronics background, I moved into software in 1996, partly as a result of being made redundant, and partly because I was very much enjoying the small amount of coding (in-at-the-deep-end-C) that I had been doing!
I swiftly moved from C to C++, and learned MFC, and then went on to real-time C on Unix. After this I moved to the company for which I currently work, which specialises in Configuration Management software, and currently program mainly in C/C++, for Windows. I have been gradually moving their legacy C code over to use C++ (with STL, MFC, ATL, and WTL). I have pulled in other technologies (Java, C#, VB, COM, SOAP) where appropriate, especially when integrating with third-party products.
For developing, I mainly use Visual Studio 2010, along with an in-house-designed editor based on Andrei Stcherbatchenko's syntax parsing classes
, and various (mostly freeware) tools. For website design, I use Dreaweaver CS3.
When not developing software, I enjoy listening to and playing music, playing electric and acoustic guitars and mandolin.