Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 27th, 2007, 02:15 PM
Registered User
 
Join Date: Nov 2007
Location: , , .
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.

  #2 (permalink)  
Old November 27th, 2007, 02:17 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
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
================================================== =========
  #3 (permalink)  
Old November 27th, 2007, 02:47 PM
samjudson's Avatar
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
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 -/
  #4 (permalink)  
Old November 27th, 2007, 04:13 PM
Registered User
 
Join Date: Nov 2007
Location: , , .
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?

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 06:37 AM.


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