Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - BeginUpdate() and refreshing the row indices
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

BeginUpdate() and refreshing the row indices

 Post Reply Post Reply
Author
Message
jnpt View Drop Down
Newbie
Newbie


Joined: 05 November 2007
Location: Germany
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote jnpt Quote  Post ReplyReply Direct Link To This Post Topic: BeginUpdate() and refreshing the row indices
    Posted: 05 November 2007 at 7:12am
Hello,

in CXTPReportControl::BeginUpdate() the statement
    m_bRefreshIndexes = FALSE;
should be removed.
If this method is called in a situation where m_nLockUpdateCount > 0 and  m_bRefreshIndexes = TRUE the resetting of m_bRefreshIndexes has the result that the necessary call to _RefreshIndexes() never happens.

Regards
jnpt

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.125 seconds.