E
Eric
I have an event sink handler for many Visio events. I now have a need to
capture the paste event.
I've tried this:
resultEvent = eventListDoc.AddAdvise(
***( ((short) Visio.VisEventCodes.visEvtCodeEnterScope) + (short)
Visio.VisEventCodes.visEvtShape)***
(Visio.IVisEventProc) eventSinkHandler, "", "" );
and
***( ((short) Visio.VisEventCodes.visEvtCodeEnterScope) +
(short)Visio.VisUICmds.visCmdUFEditPaste ),***
AddAdvise raises a COM exception.
What is the correct way to capture the event?
Regards,
Eric
capture the paste event.
I've tried this:
resultEvent = eventListDoc.AddAdvise(
***( ((short) Visio.VisEventCodes.visEvtCodeEnterScope) + (short)
Visio.VisEventCodes.visEvtShape)***
(Visio.IVisEventProc) eventSinkHandler, "", "" );
and
***( ((short) Visio.VisEventCodes.visEvtCodeEnterScope) +
(short)Visio.VisUICmds.visCmdUFEditPaste ),***
AddAdvise raises a COM exception.
What is the correct way to capture the event?
Regards,
Eric