[wxpython-users] [OT]: Manipulating Icons

Jürgen Kareta python at kareta.de
Fri Apr 11 15:36:01 PDT 2008


Andrea Gavana schrieb:
> 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?
>
> Thank you for your suggestions.
>
> Andrea.
>
> "Imagination Is The Only Weapon In The War Against Reality."
> http://xoomer.alice.it/infinity77/
> _______________________________________________
> wxpython-users mailing list
> wxpython-users at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wxpython-user
>   

Hi Andrea,

one solution had been discussed on the pywin32 Ml recently. Look at 
http://www.mail-archive.com/python-win32@python.org/msg03932.html
unfortunal it doesn't work see:
http://www.mail-archive.com/python-win32@python.org/msg03935.html
Mark Hammond has announced a new release of pywin32 soon after his two 
weeks vacation and since he knows about the problem chances are really 
good that the new release solves the remaining problem.

Jürgen



More information about the wxpython-users mailing list