Urgent: Connections and Glues in .NET

A

Amir

Hi everyone
I'm making a managed Add-In using VB.NET for Visio 2003.

I want to make a connection between 2 2-D shapes. Let's call their masters,
A and B and call their instances, AShape and BShape.
I add an unnamed row to the "connection points" section of the "AShape"
using "AddRow" method and a named one to the "BShape" using "AddNamedRow"
method.
(I need the named row somewhere else)
Then use "GlueTo" method between 2 cells (X cell) of those 2 generated rows.

When I connect first instance of A to B, everything is alright.
When I connect the second instance of A to B, in "AddNamedRow" method it
raises the "CellChanged" event in real-time manner and the "GlueTo" method
will be losen.

I mean, in the first try, CellChanged will not be raisen in real-time
manner. Why?

Shapes of type A do have "Connection Points" section in thier ShapeSheet
sections.

How can I stop the real-time reaction.
what can I do?
Please help... it's urgent
 

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