
CDC::SetTextAlign & CDC::TextOut
Hi all,
i want to draw text that is aligned with the vertical center of a bounding
rectangle. I found a constant for horizontal centering:
CDC::SetTextAlign(TA_CENTER) ... but does anyone know how to achieve
vertical centering ??
my code is somewhat like that now:
pDC->SetTextAlign(...);
pDC->TextOut(pt.x, pt.y, ...);
Thanks for your help
Stefan