![]() |
Office2007 style tooltip in CXTTreeCtrl |
Post Reply
|
| Author | |
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Topic: Office2007 style tooltip in CXTTreeCtrlPosted: 23 May 2007 at 5:56pm |
|
Hi;
The last few hours I tried in vain to create Office2007 style tooltips in a CXTTreeCtrl derived class to show detailed infos about tree items. I searched the forum and I also looked at the samples provided with the 11.1.0 release of the toolkit but with no success.
What am I doing:
1. Insert a member of type CXTPTooltipContext into CXTTreeCtrl class
2. Overwrite OnWndMsg and call tipContext.FilterTooltipMessage()
3. Overwrite OnToolHitTest() and fill in the TOOLINFO as seen in different forum posts:
4. ?? (I tried to catch TTN_NEEDTEXTA/TTN_NEEDTEXTW in a ON_NOTIFY_REFLECT message handler. But this never gets called!
So where's my fault? Any ideas?
Many thanks in advance...
|
|
|
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 |