S
Scott Metzger
Hi,
Whenever I add a User Section on my OnConnect mapped function to the
connecting shape my .exe locks up. My .exe apears to be in some kind of
message wait state (it behaves as if it has a modal dialog up). Same
code works fine when I try to add a Custom Property.
fromShape.AddNamedRow(visSectionUser, VBstr(_T("EditNumConnections")),
1, &row_num);
The above returns S_OK and the rest of my code in my function executes
without problems. Also, when I look at my Visio diagram the
User.EditNumConnections has been added to the ShapeSheet. I even tried
calling AddSection first but that didn't make a difference.
My program is a C++ .exe that is uing the visiwrap classes (Visio 2002).
Am I doing something wrong? Is there another way to programatically add
a User Cell?
Thanks,
Scott Metzger
Whenever I add a User Section on my OnConnect mapped function to the
connecting shape my .exe locks up. My .exe apears to be in some kind of
message wait state (it behaves as if it has a modal dialog up). Same
code works fine when I try to add a Custom Property.
fromShape.AddNamedRow(visSectionUser, VBstr(_T("EditNumConnections")),
1, &row_num);
The above returns S_OK and the rest of my code in my function executes
without problems. Also, when I look at my Visio diagram the
User.EditNumConnections has been added to the ShapeSheet. I even tried
calling AddSection first but that didn't make a difference.
My program is a C++ .exe that is uing the visiwrap classes (Visio 2002).
Am I doing something wrong? Is there another way to programatically add
a User Cell?
Thanks,
Scott Metzger