Print Page | Close Window

HOWTO: Set tooltip in row number item?

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=23361
Printed Date: 16 June 2025 at 6:55am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: HOWTO: Set tooltip in row number item?
Posted By: mgampi
Subject: HOWTO: Set tooltip in row number item?
Date Posted: 07 June 2017 at 2:35am
Hello;

I use the integrated row numbering feature, but I need a tooltip to be shown when the mouse is over this item.
How can I achieve this?

To enable row numbering I use this code sequence:
  ReportCtrl_.AssignIconViewPropNumAndIconNum(-1, -1, TRUE, 30);
  ReportCtrl_.GetPaintManager()->m_iRecOrRowStart=1;


therefore I expect item (column) -1 to contain the row number, but I always get NULL pointers when calling GetItem(-1). What do I have to call to get the corresponding item for the row number - especially while creating a new record?

TIA


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

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



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