How could be draw an rectangle around a row? |
Post Reply |
Author | |
FSauer
Groupie Joined: 10 May 2006 Location: Germany Status: Offline Points: 96 |
Post Options
Thanks(0)
Posted: 18 October 2011 at 8:49am |
CXTPReportRow::Draw & FillRow <> earlier vers (2) ******************************************* By changing my code only at the following line: CRect rc = pRow->GetRect(); (instead rcItem) the rectangle is draw, but not for the previewItem area. Also, FillRow is called for every item. (please have a look to CXTPReportRow::Draw) rc.right -=2; rc.top +=1; rc.left +=2; rc.bottom -=2; if(...) { pDC->SelectObject(CreatePen(PS_INSIDEFRAME, 2, RGB(255,0,0))); pDC->Rectangle(rc); } |
|
FSauer
Groupie Joined: 10 May 2006 Location: Germany Status: Offline Points: 96 |
Post Options
Thanks(0)
|
Hi Andre,
is there no solution? |
|
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
|
Hi,
I'll add a row border property. Andre |
|
Codejock support
|
|
FSauer
Groupie Joined: 10 May 2006 Location: Germany Status: Offline Points: 96 |
Post Options
Thanks(0)
|
Hi Andre,
did you add the border property? Could you provide me this update? Or what is the best way to draw a rectangle with my version around a row?
|
|
FSauer
Groupie Joined: 10 May 2006 Location: Germany Status: Offline Points: 96 |
Post Options
Thanks(0)
|
Hi Andre,
did you add the border property?
|
|
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 |