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 of this at

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

2009-05-05 Thread Nicolas EISEN
Tim Roberts a écrit : I think you're making this a lot harder than it needs to be. import win32ui import win32gui import win32con import win32api ico_x = win32api.GetSystemMetrics(win32con.SM_CXICON) ico_y = win32api.GetSystemMetrics(win32con.SM_CYICON) large, smal

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] ) )