[wxpython-users] [OT]: Manipulating Icons
Jürgen Kareta
python at kareta.de
Sun Apr 13 05:41:53 PDT 2008
Andrea Gavana schrieb:
> Hi All,
>
> On Fri, Apr 11, 2008 at 11:36 PM, Jürgen Kareta wrote:
>
>> 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.
>>
>
> Thanks to everybody for your suggestions. I am going to try Mike-s
> suggestiosn although it looks like it might not work, as Jurgen
> said... otherwise I will wait for a fix in win32all :-(
>
> Thank you very much.
>
> 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-users
>
>
>
Hi Andrea,
I'm to busy to investigate further, but I would go for two directions:
1) I would look at the mercurial site to figure out, if they had found a
workaround for the problem
2) I would try to switch from win32api to comtypes
Jürgen
More information about the wxpython-users
mailing list