Solved

CFileDialog's combobox

Posted on 1997-09-28
1
327 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
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
only14 challenge 19 76
MaxSpan challenge 9 96
mapAB Challlenge 35 145
Work with App store 7 52
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 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