Solved

Common Dialog Boxes

Posted on 2001-08-06
9
421 Views
Last Modified: 2013-12-03
How do i open this common dialog box:
http://www.geocities.com/aviran_a/image1.jpg

no MFC
VC++
0
Comment
Question by:dafoki
9 Comments
 
LVL 6

Expert Comment

by:MichaelS
ID: 6358442
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
 

Author Comment

by:dafoki
ID: 6358465
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
 
LVL 6

Expert Comment

by:MichaelS
ID: 6358491
>(geocities sucks!)
yes :(

>i think it's SHBrowseForFolder
yes :)

do you need some more information about that function?
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:dafoki
ID: 6358764
should i include some headers?
i get some error when i try to compile:
BROWSEINFO : undeclared identifier
SHBrowseForFolder : undeclared identifier
0
 
LVL 6

Expert Comment

by:MichaelS
ID: 6358799
yep, sure

include Shlobj.h and link with Shell32.lib
0
 

Author Comment

by:dafoki
ID: 6359218
how do i customize the dialog box?
i need to add some buttons to it
0
 

Author Comment

by:dafoki
ID: 6359455
one more thing, the dialog returns only the directory name
how do i get the full path to that directory?
0
 
LVL 86

Accepted Solution

by:
jkr earned 200 total points
ID: 6359652
0
 
LVL 5

Expert Comment

by:Netminder
ID: 6891510
Force-accepted by
Netminder
CS Moderator
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

837 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