Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 27th, 2007, 02:15 PM
Registered User
 
Join Date: Nov 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Transparency Key issues...

Hi,
I am trying to make custom shaped forms. I kept the form background colour as "Fuchsia" and added a transparent PNG image of some shape to it. I set the transparency key to fuchsia and it works fine with me on Vista. The form is of the shape of that image only on Vista systems.On Xp machine, the colour "fuchsia" is shown instead of transparent region.Is this a bug already known? Or is it something else?

Xc0d.

 
Old November 27th, 2007, 02:17 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Do you have the XP box set up to handle alpha transparencies?

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor :.
Wrox Books 24 x 7
================================================== =========
 
Old November 27th, 2007, 02:47 PM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Works fine with me when the PNG file has fuscia elements in it. How are you creating the PNG?

/- Sam Judson : Wrox Technical Editor -/
 
Old November 27th, 2007, 04:13 PM
Registered User
 
Join Date: Nov 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I made the PNG in photoshop, with a transparent background.Then imported it to te app resource.Form background to fuchsia(tried other colours too).Transparency key to the form background colour. I read somewhere about 16 or 24 bit monitor resolutions...that this wont work on them.Is it true?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Bitmap Transparency tahcue C++ Programming 0 December 19th, 2007 07:45 PM
ImageList/transparency problem jacob C# 0 February 27th, 2006 08:37 AM
Transparency and repainting Volt9000 C# 0 December 18th, 2004 01:00 AM
PNG Transparency in IE richard.york Javascript 4 January 19th, 2004 08:26 PM
Transparency Problem blah VB.NET 2002/2003 Basics 0 October 30th, 2003 02:40 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.