Shell Fish : For Fishing in your Windows Shell

12 Jan 2004 11:55

Provides a quick way to find out where Windows is putting your “Favorites”, “Application Data” etc. folders.

The source code is here.

Note that this also demonstrates:

  • Using SHGetFileInformation to get hold of the system image list for using in a ListView control. Note that if you do this, you should make sure that your list control has the LVS_SHAREIMAGELISTS style. If you don’t, you’ll get odd behaviour in Windows 98 when you exit the application.
  • How to use CStatusBar to make a resizable dialog. You’ll still need to reposition the controls yourself, but the grabber is drawn for you.