[python-win32] Extract icon from exe files

Nicolas EISEN neisen at linbox.com
Wed May 13 16:18:34 CEST 2009


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 all?  Did you do "dir(hdc)" to
> find out what functions are available in a DC?
>
>     hdc.FillSolidRect( (0,0, ico_x, ico_y), 0xffffff )
>
>   
   
I focus on the idea to found setup constant of the background. And I 
know now I can draw many time in the same Screen.

Thanks for your helping.


More information about the python-win32 mailing list