Naughter Software Logo

DDXFolder & CChooseDirDlg v1.41 A freeware control for selecting a Directory/Folder

For developers who use MFC this is a control which subclasses an edit control to allow you to easily specify a folder. When the edit control is correctly setup it will look like:

 

The button beside the edit control sports a tooltip when the button is over it and when the button is hit, the following dialog is displayed:

 

In addition the control integrates with the AutoCompletion functionality of Windows, so that a drop down list appears underneath the edit control which allows the user to quickly select a specific folder. The code is most useful when you want to specify a folder from somewhere in the user interface such as specifying a directory where a bunch of output files will be placed.

The enclosed zip file contains source for the routine and also includes a VC 2005 solution to build a small dialog based app to demonstrate the routine.

 

Copyright

 

Updates

v1.1 (26 November 1997)

v1.2 (16 September 1998)

v1.21 (17 September 1998)

v1.22 (30 September 1998)

7 February 1999

v1.23 (3rd April 1999)

v1.24 (11 December 1999)

v1.25 (14 May 2000)

v1.26 (17 May 2000)

v1.27 (18 July 2000)

v1.28 (24 May 2001)

v1.29 (9 January 2003)

v1.30 (19 July 2006)

v1.31 (29 July 2006)

v1.32 (11 August 2006)

v1.33 (19 August 2006)

v1.34 (25 August 2006)

v1.35 (19 November 2007)

v1.36 (21 November 2007)

v1.37 (18 December 2008)

21 December 2008

v1.38 (10 September 2011)

v1.39 (1 March 2014)

v1.40 (23 December 2014)

v1.41 (12 November 2015)