?
Solved

CFileDialog's combobox

Posted on 1997-09-28
1
Medium Priority
?
344 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 200 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

Industry Leaders: 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…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Suggested Courses

752 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