Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 461
  • Last Modified:

Common Dialog Boxes

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

no MFC
VC++
0
dafoki
Asked:
dafoki
1 Solution
 
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
 
MichaelSCommented:
>(geocities sucks!)
yes :(

>i think it's SHBrowseForFolder
yes :)

do you need some more information about that function?
0
Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

 
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
 
jkrCommented:
0
 
NetminderCommented:
Force-accepted by
Netminder
CS Moderator
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now