|
-
May 6th, 2001, 01:27 PM
#1
Thread Starter
Frenzied Member
DriveListBox in C++
Ok guys, long time no see here i am with a question,
is there a way (via api or in a dialog) to display a control similar to the 'DriveListBox' in the Common Dialog (Open & Save As...)
you know? with those cool icons next to them 
Sure I can enumerate the Drives, but I can't make it with the icons...
maybe there's some pre-made API thing??
Thanks,
Jop
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
May 11th, 2001, 04:38 PM
#2
were you looking for the Common Dialog boxes or just that specific control?
-
May 13th, 2001, 04:47 PM
#3
Hyperactive Member
i think he means the combo box at the top of the common dialog, the one that displays all your drives and your desktop folders in it.
Well..you can fill a combo box with drives by sending the CB_DIR message to it, look in MSDN for details.
But I dunno about the icons; look in the Shell bit of MSDN for that - it tends to contain the "cool" controls like listview, and probably that.
buzzwords are the language of fools
-
May 20th, 2001, 07:13 AM
#4
Thread Starter
Frenzied Member
Yep I was talking about the thing on top of the Save As... dialog 
I guess there isn't a seperate control for that so I'll have to make an owner-drawn ComboBox, that'll work...
thanx for the attention though!
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
May 20th, 2001, 08:28 AM
#5
Monday Morning Lunatic
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
May 23rd, 2001, 11:23 AM
#6
Thread Starter
Frenzied Member
Yeah I tried, but well ehrm when I added one, my Dialog didn't show up until I removed it from my dialog again
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
May 24th, 2001, 04:09 PM
#7
Monday Morning Lunatic
Before you use CreateDialog or DialogBox, you need to use InitCommonControlsEx -- look in the PSDK for details coz I can't remember
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|