Introduction - If you have any usage issues, please Google them yourself
a project preparation process, the need to resort to an initial list can specify the directory to choose dialog, I initially found http://www.vckbase.com/bbs/prime/viewprime.asp id = 94 article, it is found that "bi . pidlRoot "format, it should not be difficult to achieve such a function and later in a Japanese website found an article with sample code and related (not a web site now, sorry, after finding a plus), using a callback function to solve this problem, I shall now examples of procedures done, the relevant Puzzle colleagues for reference. Note : 1. important functions and macros "global.h", the function call "SHFolderDlg.cpp" the "void CSHFolderDlg : : OnClick_SHBrowseForFolder ()", it was important to part of what I would say and write bad
Packet : 263879shfoldering.rar filelist
SHFolder
SHFolder\global.h
SHFolder\ReadMe.txt
SHFolder\res
SHFolder\res\SHFolder.ico
SHFolder\res\SHFolder.rc2
SHFolder\resource.h
SHFolder\SHFolder.clw
SHFolder\SHFolder.cpp
SHFolder\SHFolder.dsp
SHFolder\SHFolder.dsw
SHFolder\SHFolder.h
SHFolder\SHFolder.opt
SHFolder\SHFolder.plg
SHFolder\SHFolder.rc
SHFolder\SHFolderDlg.cpp
SHFolder\SHFolderDlg.h
SHFolder\StdAfx.cpp
SHFolder\StdAfx.h