Page 1 of 1

Alpha transparency compatibility - please test

Posted: Thu May 11, 2006 5:40 pm
by Trond
I'm making a translucent clock so I want to get some people to test if the clock in it's current version works properly. Actually it's not really a clock yet, it's only a disc. Currently GDI+ is used to load the png images, since when I load them with PB they get sort of white. :shock: ( http://www.purebasic.fr/english/viewtopic.php?t=21739 ) Try without gdiplus.dll first, in case you already have it.

Exe file
Required png file
GDI+

Please test:
Your OS
Did you need to download GDI+?
Was there a taskbar button? (Shouldn't be)
Did it ever go in front of other programs? (It should always stick to the desktop)
Does the translucency work correctly?
Even after you click anywhere on the desktop and press F5?
Can you drag the window around?
Does nothing bad happen when you press Alt+Tab?
Did you see any flickering?

Thank you!

Posted: Thu May 11, 2006 7:18 pm
by Flype
my test:
Your OS : WinXP SP2 / AMD 1.33Ghz / ATI Radeon 7000
Did you need to download GDI+? : No
Was there a taskbar button? (Shouldn't be) : No
Did it ever go in front of other programs? (It should always stick to the desktop)
Does the translucency work correctly? : Yes even in 16Bit : Perfect !
Even after you click anywhere on the desktop and press F5? : Yes
Can you drag the window around? : Yes
Does nothing bad happen when you press Alt+Tab? : No icon, so no trouble
Did you see any flickering? : Totally smooth and fast :-)


by the way, it's really good looking !

Posted: Thu May 11, 2006 7:22 pm
by Kale
my test:
same as flype

Posted: Thu May 11, 2006 7:27 pm
by josku_x
my test:
Windows Me
it needed the gdiplus.dll file, bu then it gave an error that user32.dll doesn't have the export function UpdateLayeredWindow

Posted: Thu May 11, 2006 8:52 pm
by Trond
Thank you all for the test. I think the transparency is not supported on Windows 9.x/Me.

Edit: More people can test if they want but it's not strictly necessary. I was worried about F5 on Windows 98, but as the transparency won't work anyways I don't think it's a problem.

Posted: Thu May 11, 2006 9:00 pm
by Num3
Alpha Belnding is only available on WinXP and 2K ...

Posted: Thu May 11, 2006 11:27 pm
by mskuma
same test/result: same as Flype. Looks good :)

Posted: Fri May 12, 2006 12:02 am
by mskuma
I had a chance to try it on a different machine.

Your OS : Win2000 SP4
Did you need to download GDI+? : Yes
Was there a taskbar button? (Shouldn't be) : No
Did it ever go in front of other programs? No
Does the translucency work correctly? : Yes in 32 & 16bit mode
Even after you click anywhere on the desktop and press F5? : Yes
Can you drag the window around? : Yes
Does nothing bad happen when you press Alt+Tab? : No

Posted: Sat May 13, 2006 8:12 am
by Michael Vogel
Maybe I missed something, but in the given thread there is the source code only, but no PNG file - shouldn't we all use the same PNG files also to get good test results?

Posted: Sat May 13, 2006 10:45 am
by Trond
Why didn't you post in that thread?

You can use the png file from this thread. Or one of the two posted later in the thread.