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
alfaone78
NA
1
0
Draw a line in a button of a toolbar
Aug 29 2004 10:14 AM
Hi, sorry, but i'm not english...i'm italian. I have a problem Whith the follow code i draw a line in a butto of a toolbar Graphics g = toolBar1.CreateGraphics(); colore=colorDialog1.Color; Pen myPen = new Pen(colore); myPen.Width = 4; g.DrawLine(myPen, 204,17,219,17) (variable colore are declared as System.drawing.color) this code are OK but if i enter mouse pointer in the button area they are redraw and the line disappear. How i can avoid the line area redraw??? tank and...excuse for my english!!!!! AlfaOne
Reply
Answers (
1
)
Graphics: using Alpha Color - Mouse Rectangle rendered
Reading a RGB from a DirectDraw Surface