Solved

Common Dialog Boxes

Posted on 2001-08-06
9
419 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
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…

808 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