Trapping events at the shape

W

WPfeffer

I am currently trapping different events at the application level using the
'EventSink' method. One of them is the 'MarkerEvent'.
[markerEvent =
applicationEventList.AddAdvise((short)VisEventCodes.MarkerEvent,
applicationEventSink, "", "");]

The problem that I seem to be having is that I have set up a right-click
action on a shape, and when the menu option is chosen, the 'Action' is
supposed to fire QUEUEMARKEREVENT("Some Info about why the event fired"),
what's actually happening is something completely different.

I right click on the shape, choose the appropriate menu option and nothing
happens. Is there a reason for this? Am I suppose to be trapping the
MarkerEvent at the shape level as well as the Application level?

I have Action menu items at the drawing page, and these seem to work just
fine, but the one at the shape level doesn't appear to be firing at all.

Thanks for any help you can give.
 
M

Mark Nelson [MS]

No, you don't need anything at the shape level. Have you used the Event
Monitor tool in the Visio SDK to find out exactly what events Visio is
firing?

--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 

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