79803398

Date: 2025-10-29 02:55:11
Score: 1
Natty:
Report link

For the Hdc print page layout SetLayout(pPrint.hDC, LAYOUT_RTL); that makes counting from right to left on page positions (of the print rects).

Note that you should use ExtTextOut() and in Rtl text alignment is always right, and in Ltr digits are right and text left SetTextAlign(pdPrint.hDC, TA_RIGHT | TA_TOP | TA_NOUPDATECP);.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jan Bergström