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: 20 April 2024 at 9:34am
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 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



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