?
Solved

CFileDialog's combobox

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

649 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