Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Report Control Height
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Report Control Height

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


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 657
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Topic: Report Control Height
    Posted: 30 June 2008 at 1:59am
How do I calculate the total height of a report control. I would like to resize the control so that no vertical scrollbar is displayed.
Lets say that I have a header and 10 rows, how is the total height calculated?
 
-cpede
Back to Top
malla00 View Drop Down
Newbie
Newbie
Avatar

Joined: 06 March 2008
Location: United Kingdom
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote malla00 Quote  Post ReplyReply Direct Link To This Post Posted: 09 October 2008 at 4:17am
Im looking to do the same.  Any ideas?
Product
------------------------
Xtreme SuitePro (ActiveX)version 12.0.0

Platform:
------------------------
Windows XP (32bit) - SP 3

Language:
------------------------
Visual Basic 6.0
Back to Top
yycinter View Drop Down
Groupie
Groupie


Joined: 06 October 2008
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote yycinter Quote  Post ReplyReply Direct Link To This Post Posted: 11 October 2008 at 11:00am
I guess you can use GetRowsHeight and calculate with item number you insterted
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.188 seconds.