willemschwarte Posted November 6, 2003 Posted November 6, 2003 Damn! I want to make a splashscreen, and want part of picture to be transparent, BUT the background of the Picturebox does not get transparent! How do I do this??? Here's an example of what I mean!test.zip Quote
Administrators PlausiblyDamp Posted November 6, 2003 Administrators Posted November 6, 2003 Which part of the picture? Do you mean the grey bit of the form surrounding the picture? Also what OS are you running on? Transparency is only supported on Win2k and higher (not sure about win98 though) Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
willemschwarte Posted November 6, 2003 Author Posted November 6, 2003 Yes, that grey part, which isn''t the form, but the picturebox... the form is transparent... windowsxpPRO Quote
Florian Posted November 6, 2003 Posted November 6, 2003 Transparency of PictureBox I have the same problem. I found in the msdn help the following method SetStyle(ControlStyles.SupportsTransparentBackColor, True) But I do not know where to put it or how to use it in the construktor. Please help me. Thanks! Quote
Administrators PlausiblyDamp Posted November 6, 2003 Administrators Posted November 6, 2003 Putting the above SetStyle command in the Form's load event may work. Also transparency can be dependant on the Video card / drivers installed - have you tried upgrading to the latest drivers? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.