| View previous topic :: View next topic |
| Author |
Message |
DW Contributor

Joined: 21 Mar 2003 Posts: 175 Location: UK
|
Posted: Thu Apr 28, 2005 9:16 am Post subject: Transparent BITMAP's. (How do you do it?) |
|
|
Hi,
I have read the VDS help which says that the colour at position 0x0 is used when transparency is set.
I chose to use magenta as the colour for my transparency, but to no avail.
What am I doing wrong?
I have tried to use photo shop to make the background transparent, which doe not work.
How on earth do I make thing like bitbtn's have transparent faces?
Thank you |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Thu Apr 28, 2005 10:11 am Post subject: |
|
|
See the bitmaps used in the Textpad example. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Apr 28, 2005 8:30 pm Post subject: |
|
|
There is no such thing as a 'transparent bitmap', however a program can
make transparency with bitmaps possible by not displaying pixels with a
certain color. For example, if the desired transparent color was white,
you would want to (usually) set the pixel at coordinate 0,0 to white,
and the program would make that color transparent.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
DW Contributor

Joined: 21 Mar 2003 Posts: 175 Location: UK
|
Posted: Fri Apr 29, 2005 8:20 am Post subject: |
|
|
Hmmm, as a test i created a bmp with a white dot in the middle and a black background. I placed the image on a dialog bitbtn, which did show transparent. but when used as a bitmap it was not.
How do I make bitmaps with transparent backgrounds? It that possible?
Can I use any colour for the background and still have it transparent? Can I also use as many colour as I like? At any size? |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Fri Apr 29, 2005 10:52 am Post subject: |
|
|
You can't do this in VDS 5. Only icons can have a transparent background. The invisibility effect in bitmaps is only implemented as part of the functionality of BITBTNs.
You will be able to have transparent bitmaps in VDS 6, though... _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
DW Contributor

Joined: 21 Mar 2003 Posts: 175 Location: UK
|
Posted: Sat Apr 30, 2005 1:03 pm Post subject: |
|
|
VDS 6? Hmmm, do we have a date for its birth?
Any details on it yet, price tag, functions, etc?
Sorry for the off topic.
Thanks for you other help though. |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sat Apr 30, 2005 2:09 pm Post subject: |
|
|
My guess, though not based on any information whatsoever, is that it will
come out within the next 6 months, the pricing will be about the same.
But again, that's only my guess.
You can find some additional details on VDS 6 if you log in to the registered
user area on the official site.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|