Win32 Shell API question
Posted on 1999-07-20
this is an absolutely tough question. Please answer only if you really know what
the Shell API is about. In fact, I will only give to grades on answers: A and F.
Now about the problem: It has to do with the Shell Name Space introduced with
Windows 95. Imagine I wanted to re-write the File-Open common dialog. I will
have to deal with ITEMIDLIST and IShellFolder and related stuff. But how?
Documentation is scarce.
For example, when I use IShellFolder::EnumObjects to query for subfolders of the
Desktop, I do not only get "My Computer", "Network Neighborhood" and "My Briefcase",
but also "Internet Explorer" and "Recycle Bin". Of course, in the File-Open common
dialog, the latter two don't appear. But how does Windows achieve this? I really
have a hard time finding out about all this. If I'd query for subfolders of
"My Computer", I'd probably get "Control Panel", "Printers", and so on. There are
quite a lot of different folder types in Win32. But I have absolutely no clue how
to distinguish between them.
Can you point out a good source of information on this? Or any other advise how
to achive what I outlined above?