Solved

CFileDialog's combobox

Posted on 1997-09-28
1
336 Views
Last Modified: 2013-11-19
I need to implement a combobox that acts as the one in the CFileDialog "Look in", so that when the user drops down the list, a full drive and folder tree appears. Is the any shortcut or encapsulation for this?
0
Comment
Question by:winmeister
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 10

Accepted Solution

by:
RONSLOW earned 50 total points
ID: 1307076
If you have new COMCTL32 there is a new ComboBoxEx control which supports a tree control in a drop down.  This would need some encapsulation in a MFC-like class and then be derived from to do what you want.

The alternative is to do it yourself with a regular (owner drawn) combo box.  I have a C++ sample app that shows how to fill an (owner drawn) combo box with a drive and folder info.

I can send you this sample if you want - pelase send me your address

mailto:Roger_Onslow@compsys.com.au

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question