Code Comments
Programming Forum and web based access to our favorite programming groups.JohnL wrote: > I am using Microsoft Visual C++ 6.0 to develop a dialog-based Win32 > application. > > I would like to show all the files and subdirectories of C drive with a Tr ee > Control (CTreeCtrl), just like the windows file explorer does. I use > FindFirstFile to seach the files and subdirectories, and then insert them to > the tree control. However, I found the process is very time-consuming: it > takes me more than 30 seconds to finish the whole process. Could anybody > help me to speed it? Explorer uses IShellBrowser interface, then IShellFolder, IShellView and IEnumIDList to enumerate items, only when needed (not all items recursively !)
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.