473,395 Members | 1,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Transparent

vbt
I have a bitmap drawing that I would like to load into

Picture Box and have its background transparent.

How can this be done?

Thanks

tm
Oct 19 '06 #1
7 1206
You have to set the alpha? Gif is the best for this. Try a transparent gif.

--
Thiele Enterprises - The Power Is In Your Hands Now!
Oct 19 '06 #2
vbt
I converted the icon file to the gif file format

but no change, the back ground is visible.
Oct 19 '06 #3
I used an icon file (in VS2005). It worked. If I changed the forms color,
the transparent parts of the image also changed.
Do you want the image to float? Is it on a form? I might need more info on
what your are trying.

--
Thiele Enterprises - The Power Is In Your Hands Now!
Oct 19 '06 #4
vbt
The icon is to be on a pictureBox.
I am not sure what you mean about floating?
I am also working with vs2005.
Oct 19 '06 #5
Floating means a form that is transparent. As if the image was floating on
your desktop.

I'n not sure, I'm getting transparency with a picturebox. I even used a
background image on the form, and the background image showed through the
alpha of the icon.

--
Thiele Enterprises - The Power Is In Your Hands Now!
Oct 19 '06 #6
Ok, Do you have your backcolor of your picturebox on transparent? It is
under the webtab when you choose the color.
--
Thiele Enterprises - The Power Is In Your Hands Now!
Oct 19 '06 #7
vbt
Yes, the transparent background is set.
Oct 19 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Efkas | last post by:
My application have some level : 1. MyButton class with Label inheritance 2. MyComponent as User Control loading and positionning some of MyButtons 3. MyApp loading and positionning MyComponent ...
3
by: Steve Koon | last post by:
Any thoughts on getting this project to work or suggesting another method would be appreciated. Steve ========================================== Project: A Windows Form which acts as a...
7
by: Peter Oliphant | last post by:
Using MakeTransparent one can supposedly turn a color used in a Bitmap to transparent. But, it looks to me like all it does it set these pixels to the color BackColor of the Control it's attached...
4
by: ray well | last post by:
in my app i need to make a RichTextbox control transparent. i need it to be a like a pane of glass lying on a sheet of paper, where u can see everything on the sheet of paper not covered by text...
2
by: neovantage | last post by:
Hey all, I have created transparent PNG images from text dynamically. But it edges are pixel-ate or we can say edges are distorted. Here is my LINK which shows my generated transparent PNG image....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.