[Win32] Retrieve icon for file type?

Mark Hammond mhammond at skippinet.com.au
Wed Apr 26 20:38:12 EDT 2000


"Mike Fletcher" <mfletch at tpresence.com> wrote in message
news:CC59868A0A76D311B1F50090277B321C1F32B6 at VRTMAIL...

> Incidentally, the IShellFolder/IShellIcon stuff looks like the "right"
way
> to do this, I just don't see any way to touch it from Python (apparently
you
> need the functions "SHGetDesktopFolder" etceteras in shell32.dll to get
> anywhere with it.

These are in win32com.shell.shell.

Note that ExtractIcon/DestroyIcon will be in the next version of
win32gui...

Mark.






More information about the Python-list mailing list