Naughter Software Logo

DDXFolder & CChooseDirDlg v1.36 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:

DDXFolder screen capture 1

 

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:

DDXFolder screen capture 2

 

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 6 project file 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)