![]() |
Setting tooltip for CXTPReportGroupRow |
Post Reply
|
| Author | |
Fredrik
Senior Member
Joined: 22 June 2005 Status: Offline Points: 235 |
Post Options
Thanks(0)
Quote Reply
Topic: Setting tooltip for CXTPReportGroupRowPosted: 09 May 2017 at 9:10am |
|
Hi,
I need to set the tooltip for a CXTPReportGroupRow to something else but its caption (which is sort of useless). It would be good if I could catch XTP_NM_REPORTTOOLTIPINFO or overloading CXTPReportControl::OnGetToolTipInfo for group rows. Right now it seems I have to overload CXTPReportControl::CreateRow where I return a new instance of class MyCustomReportGroupRow_Batch : public CXTPBatchAllocObjT<MyCustomReportGroupRow, CXTPReportGroupRow_BatchData> { }; and finally implement MyCustomReportGroupRow::GetTooltip()... sure there should be an easier way?
|
|
|
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
|
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(2)
Quote Reply
Posted: 10 May 2017 at 4:40am |
|
Hi;
This is the only solution for rel 17.0, but you can use CXTPReportGroupRow as the base class. And don't forget to implement your own CreateGroupRow() function. |
|
|
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 |