I have a picturebox in a project and I have to plot some pixels on it. This picturebox has a scale. Instead of using picture.pset I would like to use the SetPixel API, could anyone explain me how to use it?
I tried this but it does not work

lnrRet = SetPixel(picture.hdc, x, y, 200)

Thanks,
Nicolas

Things must be easy, but not easier than they are.