EnhancedWindowList is an add-in that unobtrusively replaces standard "Windows" dialog and provides
extended functionality. Full source codes and ready to use DLL
are available here.
Its features include (see picture above):
- Windows list may be sorted by document name, path, type and status.
- Windows may be filtered by document type. For example, you can select to include into list only
windows with *.C;*.CPP;*.CXX or *.TLI document.
- Document path is always shown.
- Size of the dialog window may be changed.
- Current settings (types of windows to be included into list, sorting criteria,
width of columns, sizes and position of the window) are saved and restored while
- This dialog is actual replacement for standard dialog. You need not assign special
key or toolbar button to invoke it. It will be always shown instead of standard
dialog in spite of way it is invoked.
- Download source codes and build the EnhancedWindowList.dsp project.
- Or unzip downloaded EnhancedWindowList_demo.zip.
- Copy EnhancedWindowList.dll into Program Files\microsoft visual studio\common\msdev98\addins
- Open Tools | Customize | Add-ins and Macro Files and tick "Inpek 7th world EnhancedWindowList".
- Window | Windows... You should have replaced dialog.
This add-in most likely would not work in non-english versions of DevStudio. It is due to way it is trying
to determine that standard "Windows" dialog is initializing. See section "How it works" for more details.
Context help is not implemented.
We have only been able to test the add-in in VC6.0. It should work in 5.0, but
if it doesn't you are welcome to fix it and we will incorporate any changes into
On loading, the add-in registers a thread wide window procedure hook, which
it uses to wait for
WM_INITDIALOG on the "Windows" dialog. This technique have been
first used by Simon Capewell in his excellent
We use the existence of a couple of buttons to verify the identity of the dialog. These buttons are
Tile Horizontally and Tile Vertically. We check their IDs and texts to be sure that
we are trying to intercept proper dialog box. The original dialog box is hidden, and the Enhanced
Windows List dialog is created.