Solved

animation : make a color transparent

Posted on 1998-01-10
2
225 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 50 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

786 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