Hi,

I drawn an image(384W x 384 H) by pixel value using setpixel method in Onpaint().

It drawn an image but i want to draw continuously. so i used InvalidateRect(0);

After using this method, the image was drawn but my other controls (Button, Tab) are hidden in the window.

1. is Setpixel method correct to draw an image continuously using Onpaint() and InvalidateRect(0) method ?

2. With out using InvalidateRect(0) method, how to draw an image continuously by pixel value ?

3. Which method is best to draw an image using pixel value ?

Regards,

SaraswathiSrinath.