| re: Mouse Over ToolTip in a tree view
Let me give you more background..
There is a configuration file which consists of list of servers on which web
services are exposed and the application reads through that configuration
file and pings all the servers and reads through the wsdl file and identifies
all the web services and web methods. Once this is accomplished it bind all
the information into the tree view as a hierarchical view.
I use GetChildAtPoint to continually retreive which node the mouse is over,
and change the tooltip text immediately. It displays the Tooltip text as per
the requirement but for some reasons it constantly flickers and as i move
over the mouse (either up or down) to the next node in the tree the previous
node gets disapeared. It appears back again when i move the mouse out of the
tree view node list.
One more important behaviour which i have observed, the same code works fine
in Visual Studio 2003 but when i migrate that to Visual Studio 2005 it has
this flickering problem. I guess it might be some bug (??) in VS 2005.
"Steven Nagy" wrote:
[color=blue]
> I don't understand why you are worrying about mousedown and up and
> click events.
> Do you want the tooltip shown as per the normal mouse over for a couple
> seconds, or you want it to be shown when the user actually clicks on
> the node?
>
> You could use GetChildAtPoint to continually retreive which node the
> mouse is over, and change the tooltip text immediately. Then if the
> user holds the mouse still and the tooltip shows, it has already been
> updated with the correct text for this node.
>
>[/color] |