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.

On Jan 20, 2008 2:42 AM, astralrod <[EMAIL PROTECTED]> wrote:

>
> 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.
>
> _______________________________________________
> python-win32 mailing list
> python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
>


-- 
Henry
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to