Print Page | Close Window

Tooltip fails to call TVN_GETINFOTIP

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=13325
Printed Date: 04 December 2024 at 9:21pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Tooltip fails to call TVN_GETINFOTIP
Posted By: rdhd
Subject: Tooltip fails to call TVN_GETINFOTIP
Date Posted: 03 February 2009 at 10:58am
When we moved to CodeJock, we seemed to have lost the capability to provide custom tooltips for items in a tree control. With MFC/Windows I can see that our property page's OnNotify function is called when the tooltip timer trips. The call stack is pretty deep but the result is that the MFC/Windows tooltip system detects the mouse is over the tree control and notifies our property page that contains the tree control using the

TVN_GETINFOTIP

notification message. We return the text at that time. With CJ, the notification is not made. We do get a

TTN_NEEDTEXT

notification on the page as we move over the tree control but the call has no data indicating which item text is being requested for. We ignore the need text call (return zero) and the tip that is retrieved is the text for the item and not the info tip we serve up when we were not using codejock.
 
What do I need to set so that the CJ tooltip will send the TVN_GETINFOTIP message to get the tip text we want to show?
 
Or
 
Where is the handle to the item that text is being request for stored when the TTN_NEEDTEXT notification is made?



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