Solved

transparent background?

Posted on 1997-04-17
1
201 Views
Last Modified: 2010-04-04
i need to know how to place a bitmap over another bitmap, then making the background of the upper bitmap transparent so that i can see the lower bitmap...
0
Comment
Question by:Nicholas
1 Comment
 
LVL 1

Accepted Solution

by:
Heapster earned 100 total points
ID: 1335436
There are several approaches you might try taking;
1) I Presume you've tried brushcopy with the brush colour being your transparent color.
2) You could try using a Timage list which has a Transparent property, ( I found the TImage list does not have certain properties available at run-time).
3) Surf the Net until you hit one of the multitude of tranparent bitmap components, i.e. the delphi super page.

All of these approaches have worked for me, except in the case below:
Problem:If you are trying to stretchdraw the image then i wouldn't mind knowing how (if you ever) you achieve this.

Good Luck.    The Heapster.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

830 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