Okay, I'm using the SetPixel API to draw some pixels
onto Picture1.hDC. But whenever the window Refreshes
or Redraws or whatever, the pixels disappear. How do I
keep them there??
Printable View
Okay, I'm using the SetPixel API to draw some pixels
onto Picture1.hDC. But whenever the window Refreshes
or Redraws or whatever, the pixels disappear. How do I
keep them there??
HEheh, Not really the same thing. If you're drawing within your own app: You can always set the autoredraw property to true, and use the refresh keyword if needed. Or set the picture property to image property.
When i set the autoredraw to true or when I refresh it,
the pixels disappear.
What did you mean by setting the picture property to image propery?
I mean that if you use any drawing methods, they would be drawn the image, and the picture will update it(unless you have autoredraw) That's weird, autoredraw should work
Is it suppose to be on or off? I tried it when it was on and nothing happened...
It's false by default. Could you post your form or something?