Re: [python-win32] transparency on window

2008-01-21 Thread Rickey, Kyle W
I'm using build 210 and I've got that method. -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts Sent: Monday, January 21, 2008 1:05 PM To: Python-Win32 List Subject: Re: [python-win32] transparency on window astralrod wr

Re: [python-win32] transparency on window

2008-01-21 Thread Tim Roberts
astralrod wrote: > > I am doing a script to make a window transparent, but when using the > function: > > Win32gui.SetLayeredWindowAttributes (918020.127, int (win32api.RGB > (255255255)), 0) This snippet is clearly wrong, because (a) win32gui is not capitalized, (b) window handles are not floa

Re: [python-win32] transparency on window

2008-01-20 Thread Henry Baxter
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, bu

[python-win32] transparency on window

2008-01-20 Thread astralrod
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