hey thanks for replying to my post. so i wanna draw a vertical line for example:
pDC->MoveTo(x,y);
pDC->LineTo(x,y);

the values of x need to be in referrence with image[i] and y would be in referrence to i? or is it vice versa?