TIP: Click on subject to list as thread! ANSI
echo: nthelp
to: All
from: Antti Kurenniemi
date: 2007-04-25 07:32:30
subject: Re: Transparent background

From: "Antti Kurenniemi" 

Windows has supported alphablending & transparency since W2k. Also, you
can set any windowed control's shape & size to just about anything you
want, including holes in it. Not very surprisingly, these are not used
often. I've played with the sometimes, but there's just no way to ever come
up with anything useful with them...

I can't remember if the transparent color is supported in XP, but it is in
Vista anyways so it might also be in XP...


Antti Kurenniemi

"John Beckett"  wrote in message
news:gkat23dc9nqiiri8the4po1pql87sv4iqn{at}4ax.com...
>I recently saw a managed XP computer where a group policy change had put a
> stupid background wallpaper on the desktop ... and prevented the user from
> entering the relevant parts of Display Properties to change it.
>
> What astonished me is that a VB6 program I wrote some years ago shows the
> stupid wallpaper in its background.
>
> The program window has a big Richtextbox with:
> rtb.BackColor = &H8000000F& (Button Face)
>
> This BackColor is somehow transparent to the wallpaper (moving my window
> around shows the fixed desktop wallpaper underneath - it doesn't move).
>
> I'm pretty ignorant about these matters. The wanted background color was
> grey, so I must have chosen "Button Face" without realising the
> consequences.
>
> It doesn't matter, but I'm curious. Would any standard button show the
> wallpaper bleeding through (I didn't notice it in my quick look at the
> computer).
>
> I suppose I should have chosen a fixed RGB color if I wanted grey.
> However, the standard offerings from VB6 are pretty ugly, and the button
> face was just right.
>
> John
>

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 5030/786
@PATH: 379/45 1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.