Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - HOWTO: Set tooltip in row number item?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HOWTO: Set tooltip in row number item?

 Post Reply Post Reply
Author
Message
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 991
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: HOWTO: Set tooltip in row number item?
    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 15.3.1, new Projects v 17.2
Platform: Windows 8.1 (64bit)
Language: VC++ 2015 Upd3
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.078 seconds.