Re: [python-win32] Extract icon from exe files

2009-05-13 Thread Nicolas EISEN
Tim Roberts a écrit : Nicolas EISEN wrote: I have a last little detail : the icon have the tranparence but the bmp take this in black. In win32ui, there are not attribute to set the background in white before write the bmp in DC ... an idea ? Did you do any investigation

Re: [python-win32] Extract icon from exe files

2009-04-30 Thread Nicolas EISEN
Tim Roberts a écrit : EISEN Nicolas wrote: I'm lucky, I found ... My Source : /from win32gui import * import win32con from pywintypes import HANDLE import win32ui listHicon = ExtractIconEx(c:\OpenOffice.exe,0) tupleIcon = GetIconInfo (HANDLE ( listHicon[0][0] ) )