Hinder
Feb 3rd, 2003, 02:58 PM
I am having problems keeping images that I draw to a picturebox to stay put.
It appears that a Forms Paint() method erases a picturebox's contents whenever it fires.
Now I know that I can overcome this by painting to a buffer then flipping the buffer onto the Picturebox's "Image" property but I don't want to do this for performance reasons.
Is there a way to have the method that paints a Picturebox fire AFTER the main forms paint event?
It appears that a Forms Paint() method erases a picturebox's contents whenever it fires.
Now I know that I can overcome this by painting to a buffer then flipping the buffer onto the Picturebox's "Image" property but I don't want to do this for performance reasons.
Is there a way to have the method that paints a Picturebox fire AFTER the main forms paint event?