Re: [perl-win32-gui-users] [win32-gui] SetLayeredWindowAttributes ?

2006-11-21 Thread Steve Loughran
OK, that will teach me to post code before I run into head-scratching problems :) You can set the color-key area to be totally transparent, or you can set the window to be a variable level of translucent, or both... but it appears you cannot set a color-key area to be partially transparent, it

Re: [perl-win32-gui-users] [win32-gui] SetLayeredWindowAttributes ?

2006-11-21 Thread Jason Plum
They will fail < 2000, it wasn't available until 2000 Steve Loughran wrote: oh, these only work on windows 2000 and above. I havent tested them on anything before that (my VMWare install is on the box i`m rebuilding), but I`m guessing the WIN32::API import call will fail on < win2000 Steve S

Re: [perl-win32-gui-users] [win32-gui] SetLayeredWindowAttributes ?

2006-11-21 Thread Steve Loughran
oh, these only work on windows 2000 and above. I havent tested them on anything before that (my VMWare install is on the box i`m rebuilding), but I`m guessing the WIN32::API import call will fail on < win2000 Steve Steve Loughran wrote: here we go, a very rough idea of how I managed to get it

Re: [perl-win32-gui-users] [win32-gui] SetLayeredWindowAttributes ?

2006-11-21 Thread Steve Loughran
here we go, a very rough idea of how I managed to get it to work. (Am doing a reinstall at the moment on the other machine, so things are a bit of a mess here right now) You will need to cut-n-paste the relevant pieces into your code, but I hope its clear enough. I haven't managed to get trans

Re: [perl-win32-gui-users] [win32-gui] SetLayeredWindowAttributes ?

2006-11-21 Thread jez_white
Yeah I would be - perhaps we could add SetLayeredWindowAttributes to the core? Cheers, Jez. -Original Message- From: "Steve Loughran" <[EMAIL PROTECTED]> To: "perl-win32-gui-users@lists.sourceforge.net" Sent: 21/11/06 09:41 Subject: Re: [perl-win32-gui-users] [win32-gui] SetLayeredWind

Re: [perl-win32-gui-users] [win32-gui] SetLayeredWindowAttributes ?

2006-11-21 Thread Steve Loughran
I managed to get window translucency and transparency working pretty quickly. If anyone is interested, I can post some info about it. Steve Robert May wrote: Steve Loughran wrote: Just a quickie... I can find references in Win32::GUI to SetWindowLong() but no mention of SetLayeredWindowAttri