Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

animation : make a color transparent

Posted on 1998-01-10
2
Medium Priority
?
233 Views
Last Modified: 2012-08-14
I have to do an animation with a bitmap on a bitmapped-background. I want do make a color of the bitmap of the animation transparent (like some gif in internet) so i can draw a ball that IS a ball (without that white rectangle around).
0
Comment
Question by:urquan
2 Comments
 
LVL 8

Accepted Solution

by:
MikeP090797 earned 150 total points
ID: 1450245
You'll need to images for that: One is the Mask - the black mask of your image on a white background. The second is the actual image on the white background. Then, using PaintPicture with VBScrCopy as the OpCode, put the mask on the form. Then using PaintPicture with VbSRCAnd as OpCode
0
 

Author Comment

by:urquan
ID: 1450246
Mike, remember to send my that file (win31wh.hlp) to urquan@tin.it, please...
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month11 days, 22 hours left to enroll

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question