[python-win32] transparency on window

Henry Baxter henry.baxter at gmail.com
Mon Jan 21 02:03:54 CET 2008


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 <astralrod at gmail.com> 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 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
>


-- 
Henry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20080120/bc430ec6/attachment.htm 


More information about the python-win32 mailing list