Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - OnReportItemClick in virtual mode
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

OnReportItemClick in virtual mode

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


Joined: 30 August 2012
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote frank65 Quote  Post ReplyReply Direct Link To This Post Topic: OnReportItemClick in virtual mode
    Posted: 30 August 2012 at 3:33am

Hi

 
How do I get the data of the different CXTPReportRecordItemText if I select a row in virtual mode?

So far I use:void CDlgSearch::OnReportItemClick(NMHDR * pNotifyStruct, LRESULT * /*result*/)
{
 XTP_NM_REPORTRECORDITEM* pItemNotify = (XTP_NM_REPORTRECORDITEM*) pNotifyStruct;

 if (!pItemNotify->pRow || !pItemNotify->pColumn)
  return;

with pItemNotify->pRow->GetIndex() to retrieve the data again from the data source. Is it possible to get the data directly from the report control?
 
Thanks
Frank
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.107 seconds.