graphics w/transparent background? 
Author Message
 graphics w/transparent background?

Does anyone know how i can put a transparent background
on bitmaps that i am using in a VB 4.0 project? I have a "D"
in an animation that rotates and i want the form background
to show thru the middle of the "D" as it rotates. It seems like
no matter what I try i always get a "D" with white around and
inside the "D". Any suggestions?
Thank you,
Melissa Faith Sener



Sun, 25 Jul 1999 03:00:00 GMT  
 graphics w/transparent background?

Quote:

> Does anyone know how i can put a transparent background
> on bitmaps that i am using in a VB 4.0 project? I have a "D"
> in an animation that rotates and i want the form background
> to show thru the middle of the "D" as it rotates. It seems like
> no matter what I try i always get a "D" with white around and
> inside the "D". Any suggestions?
> Thank you,
> Melissa Faith Sener

What you need is a sprite and a mask used in conjunction with the BitBlt
API call.  I have some example source if you're interested.

Chris



Sun, 25 Jul 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How to create a graphic with transparent background?

2. Layering graphics w/ transparent background?

3. graphic w/transparent background?

4. Graphic on menu (Code + API Only, No OCX etc) with transparent background

5. Putting Graphics On Backgrounds without killing backgrounds.

6. Transparent background in buttons

7. Transparent background in bottons

8. Frame background transparent in a userform

9. Listbox Background - Can it be transparent?

10. Transparent Background Colour - Label

11. Transparent Background for controls?

12. VB.NET: Form slowly redraws background image behind transparent controls

 

 
Powered by phpBB® Forum Software