Common Dialog Boxes

How do i open this common dialog box:
http://www.geocities.com/aviran_a/image1.jpg

no MFC
VC++
dafokiAsked:
Who is Participating?
 
jkrConnect With a Mentor Commented:
0
 
MichaelSCommented:
Which dialog box? Can't get nothing on that link. Can put some functions here, just guessing.

SHBrowseForFolder
GetOpenFileName
...

Can you make yourself more clear?
0
 
dafokiAuthor Commented:
err, copy to address box in your browser www.geocities.com/aviran_a/image1.jpg (with out the http://) and you'll be able to see the image (geocities sucks!)

i think it's SHBrowseForFolder
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
MichaelSCommented:
>(geocities sucks!)
yes :(

>i think it's SHBrowseForFolder
yes :)

do you need some more information about that function?
0
 
dafokiAuthor Commented:
should i include some headers?
i get some error when i try to compile:
BROWSEINFO : undeclared identifier
SHBrowseForFolder : undeclared identifier
0
 
MichaelSCommented:
yep, sure

include Shlobj.h and link with Shell32.lib
0
 
dafokiAuthor Commented:
how do i customize the dialog box?
i need to add some buttons to it
0
 
dafokiAuthor Commented:
one more thing, the dialog returns only the directory name
how do i get the full path to that directory?
0
 
NetminderCommented:
Force-accepted by
Netminder
CS Moderator
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.