[wxpython-users] [OT]: Manipulating Icons

niki niki at vintech.bg
Fri Apr 11 07:54:54 PDT 2008


Andrea Gavana wrote:
> Hi All,
> 
>     sorry for the OT, this is probably a Windows/Python question
> instead of a wxPython one, but I know that some of the regular posters
> are Windows gurus and I'd like to ask for some advice.
> In one of my applications, I store certain files (with the extension
> .DATA) using a database, and I would like to change the icon of these
> files in Windows Explorer (not the entire icon, I'd like just to add a
> small image over the original Windows Explorer icon to signal that
> this particular file is present in the database). The problem is,
> there are many other DATA file which are not stored in the database
> (because they are less relevant to our work) and I'd like to leave
> those files icons untouched. Something akin what
> TortoiseCVS/TortoiseSVN do: they add a small image over the original
> file icon to signal if they are up-to-date, modified, etc...
> 
> Does anyone know if this is possible and how?

Borrow shell extension code from Tortoise. It's open source IIRC.

Niki Spahiev



More information about the wxpython-users mailing list