Are you sure you are working with a layered window? I'm pretty certain that for these functions to work you need to have a window with the WS_EX_LAYERED style bit set.<br><br><div class="gmail_quote">On Jan 20, 2008 2:42 AM, astralrod <
<a href="mailto:astralrod@gmail.com">astralrod@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><span class="gmail_quote">
<br></span>Hello!<br><br>I am doing a script to make a window transparent, but when using the function: <br><br>Win32gui.SetLayeredWindowAttributes (918020.127, int (win32api.RGB (255255255)), 0)
<br><br>It always generates an error, so, I tried to see the attributes of the window with <br><br>Win32gui.GetLayeredWindowAttributes (918020), but indicates that the paramete is not correct <br><br>The handle what I found with the function
win32.FindWindow (None, "*Python Shell*") <br><br>Where my mistake and as I correct? <br><br>Thanks!<br><font color="#888888"><span><br>--<br>Thanks to google translator too.<br></span>
</font><br>_______________________________________________<br>python-win32 mailing list<br><a href="mailto:python-win32@python.org">python-win32@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/python-win32" target="_blank">
http://mail.python.org/mailman/listinfo/python-win32</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Henry