Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - how to get the row height of  CXTPReportCtrl
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to get the row height of CXTPReportCtrl

 Post Reply Post Reply
Author
Message
yangyanhui View Drop Down
Senior Member
Senior Member


Joined: 20 August 2020
Status: Offline
Points: 131
Post Options Post Options   Thanks (0) Thanks(0)   Quote yangyanhui Quote  Post ReplyReply Direct Link To This Post Topic: how to get the row height of CXTPReportCtrl
    Posted: 04 December 2020 at 12:24am
Hi,how to get the row height of  CXTPReportCtrl?I need to get the row height of a reportctrl to calculate the total height of it.How can I realize it?I cannot set a fixed value as the row height is different under different resolution.
thanks
Back to Top
BobC View Drop Down
Groupie
Groupie


Joined: 28 April 2017
Location: Longmont, CO
Status: Offline
Points: 55
Post Options Post Options   Thanks (0) Thanks(0)   Quote BobC Quote  Post ReplyReply Direct Link To This Post Posted: 08 December 2020 at 11:01am
Some things like that are in Paint Manager classes, so take a look at CXTPReportPaintManager::GetRowHeightEx(). You get the paint manager control pointer by calling CXTPReportControl::GetPaintManager().
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.