Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Add Method to CXTPReportSelectedRows
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Add Method to CXTPReportSelectedRows

 Post Reply Post Reply
Author
Message
Italo View Drop Down
Groupie
Groupie


Joined: 10 December 2003
Location: United States
Status: Offline
Points: 83
Post Options Post Options   Thanks (0) Thanks(0)   Quote Italo Quote  Post ReplyReply Direct Link To This Post Topic: Add Method to CXTPReportSelectedRows
    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; }

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
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.033 seconds.