Hi, I want to implement a few Glass forms that have transparent backgrounds. But how to I implement this hazey shadow that appears behind text in glassed windows? It enables you to see the text whatever the colour in the background is.
I use Microsoft Visual Basic 2008 Express Edition.
If my post has been helpful, please rate it, unless you don't believe in Karma... which actually I don't!
There could really only be two ways that that could be done. It could be a GDI+ thing, in which case you'd investigate the Graphics class and some online GDI+ tutorials. I've seen at least one that teaches how to add a halo effect to text, although I'm not sure whether that would support transparency. Alternatively it might be a WPF thing, which would require you to read up about WPF and also to create a WPF application in the first place.
Dom, you may have this all sorted, but I just wanted to include I remembered reading an MSDN magazine article about this type of stuff, may have some additional information for you.
You know why they have the "text haze"? Its because when you draw without it the alpha layer doesnt come out as well so the text haze was drawn behind it to help hide the alpha blending smoothing problem. No just kidding but it does provide that ability if they dont want to go the extra mile and draw the text correctly
Last edited by RobDog888; Jun 4th, 2008 at 01:00 PM.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.