Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - [CLOSED] wrong index return by XTPReportControl
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic Closed[CLOSED] wrong index return by XTPReportControl

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


Joined: 25 November 2010
Status: Offline
Points: 6
Direct Link To This Post Topic: [CLOSED] wrong index return by XTPReportControl
    Posted: 25 November 2010 at 12:07pm
Hello,

I am using Xtrme toolkit pro 9.70 version from codejack. I am adding the hyperlink to the report control. It seems the index return by report control is not consistent and we can see lot of issues of getting wrong data displayed to the user. Specially, if there are large number of data then the index returns incorrectly.
Is there any known issues for this?

Thanks,
Rajib

Following are the code snippets :-
   
void CResultView::OnReportHyperlinkClick(NMHDR * pNotifyStruct, LRESULT * )
{
   XTP_NM_REPORTRECORDITEM* pItemNotify = (XTP_NM_REPORTRECORDITEM*) pNotifyStruct;
     if (pItemNotify==NULL)
     {
            return;
     }
     if (pItemNotify->nHyperlink < 0)
     {
            return;
     }
     int rowNumber = pItemNotify->pRow->GetIndex();
     int columnNumber = pItemNotify->pColumn->GetItemIndex();
     if ((rowNumber<0) || (columnNumber<0))
          return;
}
   
     
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.141 seconds.