Naughter Software Logo

DDXFile v1.34 A freeware control for selecting a filename

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

DDXFile Sample 1

 

The button beside the edit control sports a tooltip when the button is over it and when the button is hit a modified version of the common file open dialog is displayed to allow the user to select a filename as:

DDXFile Sample 2

 

Both the caption and file extension filter can be customized. 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 file. Other methods allow the developer to customize whether overwrites are notified to the user and only existing files allowed. The routine is most useful when you want to specify a filename from somewhere in the user interface but don't necessarily want to "Open" or "Save" a file. Note that the default button has the text "OK" as opposed to "Save" or "Open" which is what you normally would get with the standard common file dialogs.

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

 

Copyright

 

Updates

v1.34 (1 April 2022)

v1.33 (3 May 2020)

v1.32 (14 March 2020)

v1.31 (21 December 2019)

v1.30 (18 May 2019)

v1.29 (9 July 2018)

v1.28 (24 September 2017)

v1.27 (11 November 2015)

v1.26 (23 December 2014)

v1.25 (1 March 2014)

v1.24 (10 September 2011)

v1.23 (21 December 2008)

v1.22 (19 November 2007)

v1.21 (20 August 2006)

v1.20 (11 August 2006)

v1.19 (29 July 2006)

v1.18 (19 July 2006)

10 January 2003

v1.17 (9 January 2003)

v1.16 (27 December 2001)

v1.15 (24 May 2001)

v1.14 (18 July 2000)

v1.13 (17 May 2000)

v1.12 (14 May 2000)

v1.11 (11 December 1999)

v1.1 (17 September 1998)