M
Matt
Hello all,
We have to customize context menu depending on the object selected.
We add the code
m_evtList.AddAdvise((short)Visio.VisEventCodes.visEvtCodeMouseDown,
m_evtSink, "", "");
And in VisEventProc, we add the following code case
(short)VisEventCodes.visEvtCodeMouseDown :
{
//Handle the MouseDown event.
myView.OnMouseDown(source, subject);
break;
}
We have to customize context menu depending on the object selected.
We add the code
m_evtList.AddAdvise((short)Visio.VisEventCodes.visEvtCodeMouseDown,
m_evtSink, "", "");
And in VisEventProc, we add the following code case
(short)VisEventCodes.visEvtCodeMouseDown :
{
//Handle the MouseDown event.
myView.OnMouseDown(source, subject);
break;
}