|
-
November 29th, 2011, 01:48 AM
#1
Draw an image continously using pixel value in vc++
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|