Sign in to follow this  
segt

MFC Combo Box with Tree Control

Recommended Posts

segt    122
Visual Studio doesn't seem to have what I would think would be a very common control, the combo box with a drop down tree for folder browsing. Is this a built in control or am I going to have to make my own? And if I did make my own, how would I go about getting the correct folder icons to display as the user could have their own custom icons.

Share this post


Link to post
Share on other sites
Shannon Barber    1681
There's a standard open file dialog you can use, Win32 API GetOpenFileName. I think there's a standard pick directory as well, but it's not as nice. It'll be along the same lines, I think it's part of the IShell stuff though.

Share this post


Link to post
Share on other sites
segt    122
The setup in the open file dialog is exactly what I want, but on my dialog instead. I havn't touched IShell before, and a search for "microsoft ishell" always brings up results of "microsoft is hell".

Looking through some of the controls when I edit my toolbox I see things like DriveListBox and others. These seem to be what I want but I when I add them to the toolbox I cannot add them to the dialog even with ActiveX support on the project. I googled DriveComboBox and came up with some stuff but its for VB, and I'm using C++.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this