[python-win32] Overlay Icon Question...

Tim Golden mail at timgolden.me.uk
Tue Apr 15 16:31:51 CEST 2008


Tim Golden wrote:
> Andrea Gavana wrote:
>>     def GetOverlayInfo(self):
>>         return (r'icons/KSVROverlay.ico', 0, shellcon.ISIOI_ICONFILE)

By the way, I'm not how the callback mechanism will cope with relative
paths like this. Not very well, I guess. Bear in mind also that the shell
functions are usually unfriendly towards the otherwise acceptable
forward-slash path separators. In other words, you might be better
off by wrapping the path above in os.path.abspath (which will also
normalise the slashes for you).

TJG


More information about the python-win32 mailing list