Tooltip problem with tree control

I have create a derivation of CTreeCtrl and I don't want to use the builtin

tooltip handling. So I have overridden OnToolHitTest and created a notify for TTN_NEEDTEXTA/W. Sometimes immediately after the frame and view and control hanve been created, if I move the mouse onto the caption, pause then move over the text of the first item, tooltip popup does not appear. If I move off the text then back the tooltip appears. OnToolHitTest is working as it should, I can't figure out why the TTN_NEEDTEXT is not working...Any thoughts anyone?

I have based the code on the tooltips for item images by Zafir at

http://www.dev-archive.com/treeview/tooltip.shtml

Salik.
[707 byte] By [Salik Rafiq] at [2007-11-15 22:06:28]