[python-win32] transparency on window

astralrod astralrod at gmail.com
Sun Jan 20 11:42:59 CET 2008


Hello!

I am doing a script to make a window transparent, but when using the
function:

Win32gui.SetLayeredWindowAttributes (918020.127, int
(win32api.RGB(255255255)), 0)

It always generates an error, so, I tried to see the attributes of the
window with

Win32gui.GetLayeredWindowAttributes (918020), but indicates that the
paramete is not correct

The handle what I found with the function win32.FindWindow (None, "*Python
Shell*")

Where my mistake and as I correct?

Thanks!

--
Thanks to google translator too.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20080120/7b24f90b/attachment-0001.htm 


More information about the python-win32 mailing list