Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Drawing bug when adding records on the fly
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Drawing bug when adding records on the fly

 Post Reply Post Reply
Author
Message
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: Drawing bug when adding records on the fly
    Posted: 25 July 2022 at 8:38am
Hi;

I use this code within a CXTPReportControl derived control to add a new record to a grouped report control with four group layers:
        auto Record=new CMainReportRecord(...);
        AddRecordEx(Record);
        AdjustScrollBars();

After executing the code, a false line on top of the row is drawn from left edge of the control to the right edge resulting in a visible line within the shaded group area left of the row (see screenshot):



For other records/rows added using AddRecord() and Populate() the output is correct.
I tested the code with toolkit v 19.1 up to 20.3, but all show the same result.

Any idea how to fix this?
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 25 July 2022 at 9:04am
More details, see screenshot:
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
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.