HOWTO: Resort tree like report control |
Post Reply |
Author | |
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
Posted: 17 November 2009 at 11:33am |
Hi;
In a tree like report control I sometimes change the item(s) display text by setting pItemMetrics->strText=... This sometimes results in a no longer sorted tree. So I implemented a sort command for the end user, but when I call CXTPReportControl.ReSort(), nothing happens, because the compare is done with the return value(s) og CXTPReportRecordItem::GetCaption(). This lead to my question: how to implement a sort function in this case, when the 'caption' changes in CXTPReportRecord::GetItemMetrics()? |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |