Flickering when drawing GDI+...

lidds

Well-known member
Joined
Nov 9, 2004
Messages
210
I have managed to create an application that allows drawing of items on a screen capture, however some flicker appears when drawing items. The first item when drawn does not flicker but then after that any item when being drawn flickers, I have been trying to solve this for some time now with no luck. Would someone be able to help me with this?

I have attached the whole project so you can see exacually what I am doing.

Download from this link http://www.ticodi.com/temp/orig.zip

Thanks in advance

Simon
 
The strange things is that when an item is placed if I go to modify the size of it or move the item it does not flicker, I dont know if that is any help

Regards

Simon
 
You may want to do all of your drawing to a Bitmap object, and then in your forms OnPaint method draw that bitmap to the form... its what I do and has generally worked well for me.
 
Back
Top