CXTPToolTipContext fails to update tips |
Post Reply |
Author | |
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 886 |
Post Options
Thanks(0)
Posted: 10 July 2009 at 11:14am |
For some reason CXTPToolTipContext::FilterToolTipMessageHelper is caching the control id and the window handle and refuses to tip if neither of these values change when OnToolHitTest is called. So even though I have tips that depend on the location of the mouse when over a window, CJ refuses to tip. This is not what MFC does and I wonder why CJ even bothers to do cache data. We keep having to code around this issue and I really see no good reason why CJ just doesn't let us tip when we want to tip.
This causes us problems for list controls, tree controls and just about any window that displays multiple sets of data for which I want to provide tips.
Heck, even if I call FillInToolInfo and the actual tip string changes, CJ still refuses to display the new tip. The result is either no tip appears, or once one appears, it never changes (or moves) as the user is moving about in our window. We need to change the tip based on the location of the mouse in the window. So the window handle and control ID are constant BUT THE TIP IS NOT.
So what call can I make when OnToolHitTest is called so that CJ tip context effectively "resets" so our tips work like they used to?
|
|
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 |