Report control update |
Post Reply |
Author | |
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Posted: 04 January 2005 at 6:01pm |
Hi haiku,
I believe it is not possible to redraw a small piece of the control in the current version. However, during redraw it updates only visible part of the picture and uses picture caching in memory. Really, it seems to provide well enough performance. Any objections? -- Regards, Serge |
|
haiku
Newbie Joined: 30 November 2004 Location: Poland Status: Offline Points: 7 |
Post Options
Thanks(0)
|
Dear mhamsa, Are you completely sure this is the answer to my question ? Best regards, Haiku. |
|
mhamsa
Newbie Joined: 15 December 2004 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Use the Populate method on the report control.
|
|
ICBM
Groupie Joined: 15 January 2004 Location: New Zealand Status: Offline Points: 57 |
Post Options
Thanks(0)
|
I am interested in this also. Oleg, are you around ?
|
|
haiku
Newbie Joined: 30 November 2004 Location: Poland Status: Offline Points: 7 |
Post Options
Thanks(0)
|
Hello Developers, I want to know how to update control efficiently. If only one row/record has to be updated, than entire control is being redrawn (BeginUpdate/EndUpdate). Calling InvalidateRect(...) with correct rectangle is useless. I collected the needed rectangle from CXTPReportRow::GetRect() method. It's useless 'cos CXTPReportControl::OnPaint message handler will paint the control only when IsChanged method returns TRUE. Why didn't you use CXTMemDC in OnPaint handler ? You don't use GetClipBox function while drawing the control. Why ? Please correct me if I miss something or don't understand correctly. All I want is to update few records efficiently. Best regards, Haiku. |
|
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 |