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

Report Control Grouping

 Post Reply Post Reply
Author
Message
Prassi View Drop Down
Newbie
Newbie
Avatar

Joined: 15 January 2007
Location: United States
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Prassi Quote  Post ReplyReply Direct Link To This Post Topic: Report Control Grouping
    Posted: 30 March 2007 at 4:42pm
Can anyone please suggest how to get rid of the lines that are pointed in the following Report Control. These lines come up as separators between group and thier child rows. Basically, I am trying to achieve a close look and feel of a tree control using Report Control. It will help a lot if I can even change the style and color of these lines as I will need to show collapsed child rows initially when the data is shown in this view.
 
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 02 April 2007 at 6:38pm
Hi;
I believe that you have to create your own CXTPReportPaintManager derived class and overwrite DrawGroupRow() or as a simple workaround set the protected m_nGroupGridLineHeight member to 0. Inside DrawGroupRow the Line is drawn by calling FillSolidRect with nGroupGridLineHeight as the height. I think when you set this to 0 the 'line' disappears.
 
But I suggest looking at the ReportSample - there you find a simple way to create treeview like reports.
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
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.266 seconds.