473,480 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How do I use png files that have a transparent bg in a wx.bitmapbutton control?

Hello,
I asked a simular question a few days ago but it wasnt worded very well.

Im wondering how I can use PNG files that have transparent backgrounds in a wx.bitmapbutton control. More specifically how to get them to load into the control and keep their transparent background.

I have been able to load them into a wx.bitmapbutton, but they appear to have a background. Im not sure if this is part of the background from the wx.bitmapbutton itself or if it cannot load the alpha channel from the png.

I checked my PNG's in a pygame tutorial and they work as alpha layer images in pygame. So I ruled out the png files as being the source of the problem. Which leads me back to the wx.bitmapbutton contol itself or is it something in boa constructor, the program that im using, idk...

Any help is much appreciated I will check back regularly for updates.

Thank you for your time,
Jon
Nov 20 '10 #1
0 1203

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1269
by: Mike Starkey | last post by:
I am trying to create a new user control. Is there anyway I can make the control itself transparent but still display the oval I plan to draw on it? Please help!! Thanks, Mike
4
6605
by: Efkas | last post by:
Hi, I had some label with BackColor.Transparent and a User Control also with transparent background. When I put a label on the user control, instead to have transparent result I obtain a...
3
3711
by: melanieab | last post by:
Hi again, Just wondering if this was possible. I tried setting it in the Properties menu but got this response: This control does not support transparent background colors. Thanks again, Melanie
1
3930
by: Stefan Weisenbach | last post by:
Hi there, I am currently working on a project to display powerpoint presentations inside a .NET application. As I understand there is no such thing as a ole control which can embed powerpoint...
4
2863
by: Adam Clauss | last post by:
I have a completely user-drawn user control in which I enabled transparency (follownig suggestions at...
2
6559
by: Niu Kun | last post by:
Dear all, I'm trying to draw many overlapped PNG files with transparent background in imagebox control. But the transparent background in this control is rendered as the main control's...
2
1014
by: jaivish | last post by:
how can i make tranparent user control,when i overlap a user control upon the another user control that time user control background should be tranparent,
1
2664
by: DKn | last post by:
Hi, How to get the Files from Remote system by using OpenFileDialog control in C#.Net windows application? Actually i am trying to do Software upgradation for a remote system by using...
2
6544
by: \(O\)enone | last post by:
I'm trying to create a usercontrol that is transparent, both visibly and to mouse clicks. I can make the usercontrol visibly transparent by setting the SupportsTransparentBackColor style and...
1
3658
mahboobeh
by: mahboobeh | last post by:
hi I want to transparent a wpf control in a winapp. I know that i can transparent the normal form and set its opacuty=0.if i transparent wpf control The background of the parent WPF control...
0
7055
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
7059
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
7103
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7010
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5362
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3011
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3003
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
572
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
203
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.