C Board  

Go Back   C Board > General Programming Boards > C# Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 09-06-2009, 10:09 AM   #1
Registered User
 
Join Date: Oct 2006
Location: UK/Norway
Posts: 464
Stop PictureBox from redrawing?

Hey,

I have a picturebox that I draw a few lines on top of. But right now it does not look very nice as sometimes the the lines are not rendered(the background picture is) and the lines flicker a lot. I think the flickering problem comes from the fact that the picturebox is first drawed, they I draw it again using my custom OnPaint handler, and then I draw the lines on the top of that again.

Is there any nice ways around this? If I could disable the inbuilt paint call and pause the updating until I was done with my rendering I think it would look better, or atleast good enough.

Any ideas?
h3ro is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating picture in PictureBox with a WinForms application? falcon05 C++ Programming 0 07-13-2009 02:32 PM
Visual Studio - Access PictureBox outside Form1 class? andreasleon C# Programming 1 06-08-2009 01:55 PM
Error stop Http Listener George2 C# Programming 1 06-04-2008 02:14 AM
when a while loop will stop ? blue_gene C Programming 13 04-20-2004 03:45 PM
Telling other applications to stop nickname_changed Windows Programming 11 09-25-2003 12:47 AM


All times are GMT -6. The time now is 04:34 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22