FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Overlapping PictureBoxes

 
Post new topic   Reply to topic     Forum Index -> DFL
View previous topic :: View next topic  
Author Message
Matthias



Joined: 18 Sep 2007
Posts: 6

PostPosted: Tue Sep 18, 2007 6:35 am    Post subject: Overlapping PictureBoxes Reply with quote

So like, two transparent PictureBoxes displaying transparent gifs that overlap or occupy the same space.
The form's color shows through but the PictureBox's image underneath is covered up by transparency.
Covered up by transparency!
Oxymoron MAX!
Or something...

Can I not do this?
Back to top
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Tue Sep 18, 2007 11:00 am    Post subject: Re: Overlapping PictureBoxes Reply with quote

This is because controls have their own backgrounds. You can either paint the images in the form's paint event, or you can use this SimplePictureBox I just added to DFL's online ExampleCode.
Back to top
View user's profile Send private message
Matthias



Joined: 18 Sep 2007
Posts: 6

PostPosted: Tue Sep 18, 2007 6:12 pm    Post subject: Reply with quote

ok thankee
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DFL All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group