Print Page | Close Window

XTP_NM_REPORT_SELCHANGED

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=9919
Printed Date: 21 November 2024 at 2:20pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XTP_NM_REPORT_SELCHANGED
Posted By: seaworm
Subject: XTP_NM_REPORT_SELCHANGED
Date Posted: 18 March 2008 at 7:15am

In XTP_NM_REPORT_SELCHANGED Message,

How can I Get the information of the selected row.
 
 
In NM_CLICK Message,
I can get the information.
see below
 
For example
-----------------------------------------------------------------------------------------
void CListview::OnReportItemClick(NMHDR *pNMHDR, LRESULT *pResult)
{
   XTP_NM_REPORTRECORDITEM* pItemNotify =(XTP_NM_REPORTRECORDITEM*)pNMHDR;
 
}
-----------------------------------------------------------------------------------------
 
But I can't get information with same way in  XTP_NM_REPORT_SELCHANGED Message.
 



Replies:
Posted By: mgampi
Date Posted: 18 March 2008 at 4:29pm
Hi;
 
what about calling CXTPReportControl::GetSelectedRows() and/or CXTPReportControl::GetFocusedRow()?


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022


Posted By: seaworm
Date Posted: 19 March 2008 at 7:29am
Thank you very much.
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net