Wrong event after moving a connection point

P

Petr Gotthard

Hello,
I catch visEvtAdd | Visio::visEvtConnect events. I want to receive a
notification when a "dynamic connection" is added.

When adding a new connection, the HandleVisioEvent function is correctly
invoked. The pSubjectObj[1]->ToCell is something like "Connections.X1".

The problem is when the connection is moved (so visEvtDel and visEvtAdd for
visEvtConnect is generated). In this case, the pSubjectObj[1]->ToCell points
to a non-existing cell, like "Connections.X2" (I have only one connection).

Do you have any hint what could be wrong?

Thanks,
Petr
 

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