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