Displaying a tooltip for all shapes/connectors using visio SDK

A

ahmadka

Hello again..I have another question regarding Visio SDK....I want to display
tooltips for all connectors/shapes I add to my drawing using Visio SDK in
C#...

Since I am making a small network simulator, I could want the following
effects...

When the mouse comes over a connector, a small tooltip could display the
bandwidth/delay of the link, etc..

when the mouse comes over a shape (such as a router), the tooltip could
display the router number, its current usage, etc...

this is similar to the effect you get when you hover the mouse over a shape
in Visio itself...the tooltip there will tell you the shape type, such as
'Router', 'Gateway', etc...try it and see what I mean...
 
M

Michel LAPLANE

Have you try to use the insert tooltip visio option menu "Insert=>tooltip".
By this way you can insert a text that popup when your mouse is over a
shape. As a connector is a shape it must work.
In C# you can put you tooltip text in the comment cell of the miscelleanous
shapesheet section. Visio fill this cell when you use the insert tooltip
command.

You can also use the tip cell of a control point (the small yellow rectangle
you can see on some visio shape). Just insert a control section on you
connector and fill the tip cell.

Hope it can help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top