TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Matt
NA
2
0
Transparent Control fun
Feb 26 2006 7:15 PM
I'm using the technique in the article http://www.c-sharpcorner.com/Code/2003/May/TransparentControls.asp to make a user control transparent. The transparency part works perfectly, just as I need. However, a problem arises when I redraw the user control. I'm trying to simulate a protractor as a user control, and I want the user to be able to change its size. When the size of the protractor becomes smaller, the entire control is not redrawn, so there are remnants of the old protractor image still on the control. When I clear the background by force, the transparent effect is ruined. I can RecreateHandle() when the size changes, but I don't think this is very effecient. Any help or ideas?
Reply
Answers (
0
)
Guidance
palindrome