Alpha transparency compatibility - please test

Everything else that doesn't fall into one of the other PB categories.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Alpha transparency compatibility - please test

Post 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!
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post 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 !
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

my test:
same as flype
--Kale

Image
josku_x
Addict
Addict
Posts: 997
Joined: Sat Sep 24, 2005 2:08 pm

Post 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
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post 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.
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

Alpha Belnding is only available on WinXP and 2K ...
mskuma
Enthusiast
Enthusiast
Posts: 573
Joined: Sat Dec 03, 2005 1:31 am
Location: Australia

Post by mskuma »

same test/result: same as Flype. Looks good :)
mskuma
Enthusiast
Enthusiast
Posts: 573
Joined: Sat Dec 03, 2005 1:31 am
Location: Australia

Post 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
User avatar
Michael Vogel
Addict
Addict
Posts: 2820
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Post 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?
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post 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.
Post Reply