Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - Tooltip fails to call TVN_GETINFOTIP
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Tooltip fails to call TVN_GETINFOTIP

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

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 886
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Topic: Tooltip fails to call TVN_GETINFOTIP
    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?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.