| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Transparent background |
From: John Beckett 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™.