I have a book about programming under Windows, and the author uses a function called LPtoDP (MSDN).
But I can't see the difference between code that uses this function and code that doesn't.
I use this function in this way, which seems to me to be a proper way.
POINT po;
po.x = -50;
po.y = 100;
pDC->LPtoDP(&po);
pDC->LineTo(po);
PS: First question on SO.