Print Page | Close Window

Add Method to CXTPReportSelectedRows

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1052
Printed Date: 06 November 2025 at 9:00am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Add Method to CXTPReportSelectedRows
Posted By: Italo
Subject: Add Method to CXTPReportSelectedRows
Date Posted: 11 August 2004 at 10:45am

Can the method below be added to the CXTPReportSelectedRows class? If not can you please tell me how to enum the items in the class?

CMap<CXTPReportRow*, CXTPReportRow*, BOOL, BOOL>* GetCollection(){ return &m_mapRows; }




Replies:
Posted By: Oleg
Date Posted: 11 August 2004 at 12:46pm

sorry about it.

Please add:

AFX_INLINE POSITION CXTPReportSelectedRows::GetFirstSelectedRowPosition() const {
 return m_mapRows.GetStartPosition(); 
}
AFX_INLINE CXTPReportRow* CXTPReportSelectedRows::GetNextSelectedRow( POSITION& pos ) const {
 CXTPReportRow* pRow; BOOL b;
 m_mapRows.GetNextAssoc(pos, pRow, b);
 return pRow;
}



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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