Tooltip fails to call TVN_GETINFOTIP |
Post Reply |
Author | |
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 886 |
Post Options
Thanks(0)
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 aTTN_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?
|
|
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 |