Hi everyone,
I am having problems with getting coordinates for
my picture control rectangle.
This is the code I have.....

CRect myPictureArea;
picture.GetClientRect(&myPictureArea);//picture is variable I assign top picture control
POINT p;
p=myPictureArea.TopLeft();
int x=p.x;
int y=p.y;

But both x and y are returning 0

Anyone has any suggestions on this please.

Thanks