S
Sorin-Emanuel
After looking at the sample OfficePlan in Visio 2003 SDK
I can't translate from C# to VB the following statements:
newEvent = documentEvents.AddAdvise(
unchecked((short)VisEventCodes.visEvtAdd) +
(short)VisEventCodes.visEvtShape),
(IVisEventProc)this, sink, targetArgs);
and the corresponding ones:
case (short)VisEventCodes.visEvtShape +
unchecked((short)VisEventCodes.visEvtAdd):
where:
VisEventCodes.visEvtShape = 64
but
VisEventCodes.visEvtAdd = 32768
Thanks,
Sorin-Emanuel
I can't translate from C# to VB the following statements:
newEvent = documentEvents.AddAdvise(
unchecked((short)VisEventCodes.visEvtAdd) +
(short)VisEventCodes.visEvtShape),
(IVisEventProc)this, sink, targetArgs);
and the corresponding ones:
case (short)VisEventCodes.visEvtShape +
unchecked((short)VisEventCodes.visEvtAdd):
where:
VisEventCodes.visEvtShape = 64
but
VisEventCodes.visEvtAdd = 32768
Thanks,
Sorin-Emanuel