Fog Creek Software
Discussion Board

Windows Shell Programming

I have been doing some windows shell programming of late. I find it rather confusing. Any good book(s)? Links & examples? I am trying to emulate the context menu on a shell item in windows explorer in my application. I find that a pidl (ITEMIDLIST) is required for the item (folder/file) that I would display in my list view control.

SHGetPathFromIDList() gets the path from a pidl. Is there any way I can get a pidl given a path to a folder/file/network shared resource?

Tuesday, March 11, 2003


Joel Spolsky
Wednesday, March 12, 2003

This is a good start :-)


Philippe Back
Wednesday, March 12, 2003

Joel, Philippe - Thanks a  lot. I was able to get exactly what I wanted!

Wednesday, March 12, 2003

The quest for this exact API call (shuffling through the IShell interfaces) which was concluded successfully but brought my frustration to a boil and made me ditch C++ and switch to Java... Oh the memories.

...Happily living without the Win32 API for 803 days :)

Tal Rotbart
Wednesday, March 12, 2003

I still think Windows Programming is cool. Well, there is some excitement!

Thursday, March 13, 2003

*  Recent Topics

*  Fog Creek Home