Print Page | Close Window

Extra-height row printing

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=22142
Printed Date: 15 November 2024 at 6:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Extra-height row printing
Posted By: aceproof
Subject: Extra-height row printing
Date Posted: 25 December 2013 at 2:01am

The row is never printed if its height more then its print area.


ToolkitPro v16.2.6:

int CXTPReportControl::DrawRows(CDC *pDC, CRect &rcClient, int y, CXTPReportRows *pRows, int nTopRow, int nColumnFrom, int nColumnTo, int *pnHeight)

{

        ...

        nRowHeight = pRow->GetHeight(pDC, nRowWidth);
        // Test if row is outside of client rectangle
        if (bIsPrinting)
        {
               // Clipped rows are printed on the next page
                if (y + nRowHeight > rcClient.bottom)
                {
                        break;
                }
        }
        else
        {
                // Clipped rows are drawn
                if (y > rcClient.bottom)
                {
                        break;
                }
          }

        ...

}




Replies:
Posted By: Michl
Date Posted: 14 May 2014 at 4:37am
Hi

I have the same problem. But the bug is not your specified source snipset.
It's more an implementation problem of whole print preview.

See additional information follow my post:
http://forum.codejock.com/forum_posts.asp?TID=22298&MF=Y&PID=72488" rel="nofollow - http://forum.codejock.com/forum_posts.asp?TID=22298&MF=Y&PID=72488



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net