Re: Using Python to add thumbnails to Explorer
- From: jjl@xxxxxxxxx (John J. Lee)
- Date: 30 Oct 2005 22:18:49 +0000
"Roger Upole" <rupole@xxxxxxxxxxx> writes:
> "c d saunter" <christopher.saunter@xxxxxxxxxxxx> wrote in message news:djoqn3$s0d$1@xxxxxxxxxxxxxxxxxxxxxx
[...]
> > Turns out I need to use a .dll shell extension as per
> > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/
> > shellcc/platform/shell/programmersguide/shell_int/shell_int_extending/
> > extensionhandlers/shell_ext.asp
> >
> > Not so simple, and not (directly) a job for Python.
>
> Sorry, I didn't realize you meant per-file.
> However, Pythoncom supports both the interfaces
> (IExtractIcon and IPersistFile) specified on the page
> you referenced, so you ought to be able to implement
> an icon handler with the Pywin32 extensions.
Or, if not, then you can do it with module ctypes.
http://starship.python.net/crew/theller/ctypes/
There's an O'Reilly book called something like "win32 shell
programming" that covers this stuff.
John
.
- Prev by Date: Problem: Windows Command line Pipe to stdin
- Next by Date: Re: Scanning a file
- Previous by thread: Problem: Windows Command line Pipe to stdin
- Next by thread: Re: Using graphviz to visualize trace.py output, anybody?
- Index(es):
Relevant Pages
|