Print Page | Close Window

Adding additional items to CFileDialog places bar?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Visual C++ MFC Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=8325
Printed Date: 27 April 2024 at 7:25pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Adding additional items to CFileDialog places bar?
Posted By: mgampi
Subject: Adding additional items to CFileDialog places bar?
Date Posted: 06 October 2007 at 8:10am
Hi;
Does anyone know how to add additional items to the CFileDialog (open files) and how to handle the button pressed message?
 
Any help is very welcome.


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



Replies:
Posted By: jimmy
Date Posted: 06 October 2007 at 7:01pm
Hello,

i've use this control
http://www.codeproject.com/useritems/CFileDialogX.asp
and add instead of the static a own Button List Control or
you can add a toolbar or other control.

  Jimmy



Posted By: mgampi
Date Posted: 07 October 2007 at 6:10pm
Hi Jimmy,
thanks for your suggestions, but I found a simpler solution after reading the API documentation for common controls very carefully. Now I handle the registry keys available for selecting custom places in conjunction with temporary registry keys. This needed only about 20 lines of source code and is very easy to handle.


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net