Home > Web Site Updates > CFileTreeCtrl v1.51

CFileTreeCtrl v1.51

May 2, 2008

Just to let everyone know that v1.51 of CFileTreeCtrl has been released. Updates for this version include:

  • Updated copyright details.
  • Updated the sample app to show how to implement a Vista style explorer tree view if it is running on Vista. This functionality is implemented at the client app level instead of the control code itself, so you can use this code from the sample app if you want your client app’s file tree control to look like Vista’s explorer.
  • Removed VC 6 style appwizard comments from the code.
  • General review and cleanup of all the code
  • The code has now been updated to support VC 2005 or later only.
  • Optimized CFileTreeCtrlItemInfo copy constructor code
  • Removed CFileTreeCtrl::SetFlags method as it did not add any functionality to the class.
  • DRIVE_ATTRIBUTE_* defines are now enums in the CFileTreeCtrl class.
  • Fixed bug in DisplayPath where if the desktop does not contain any files or folders, you would not get a plus button for the desktop. Thanks to Steven Tomer for reporting this bug.
  • Prev and Next item stacks now store HTREEITEM’s directly in their arrays.
  • The control now supports showing the current users folder instead of (or in addition to) the "My Documents" folder, similar to how the tree control behaves in Windows Explorer on Vista. Note that the control does not show the "Public" folder which Vista’s Windows Explorer shows, because this is implemented as a shell extension whereas this control is a ground up implementation of a file tree control which does not use the Shell API’s for enumerating the Shell Namespace.
  • All the classes have been renamed from CTreeFileCtrl… to CFileTreeCtrl…
Categories: Web Site Updates
%d bloggers like this: