[solved] hit test in TreeMode of ReportControl |
Post Reply |
Author | |
cluster
Groupie Joined: 22 January 2015 Status: Offline Points: 91 |
Post Options
Thanks(1)
Posted: 17 March 2018 at 8:50am |
Hi,
there is a strange behavior on the expanding of a reportrecord. It depends on which theme you have selected. On the default theme it works well but on the theme which is based on CXTPReportThemeOffice2013 it will expand if you click anywhere on the item. I have figured out the reason, the rcBitmap will be limit by the DrawCollapsedBitmap function on default theme but not in the other theme. ... CSize CXTPReportPaintManager::DrawCollapsedBitmap(CDC* pDC, const CXTPReportRow* pRow, CRect& rcBitmap) { // Draw Standard image from resource. rcBitmap.left += XTP_DPI_X(2); CSize sizeGlyph = DrawGlyph(pDC, rcBitmap, pRow->IsExpanded() ? 0 : 1); if (sizeGlyph.cx != 0 && pDC != NULL) rcBitmap.right = rcBitmap.left + sizeGlyph.cx;
|
|
Windows 7
Visual Studio 2013 CodeJock 18.6 |
|
cluster
Groupie Joined: 22 January 2015 Status: Offline Points: 91 |
Post Options
Thanks(0)
|
Hi support team,
could you confirm this issue? |
|
Windows 7
Visual Studio 2013 CodeJock 18.6 |
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hello Cluster,
Thank you for bringing this to our attention. I have fixed this with code below
Here also fixed non-centered by vertical expand/collapse glyph. Regards, Oleksandr Lebed |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |