Disable grouping/ungrouping

M

Matt

Hi all

I want to disable grouping/ungrouping in visio page.

I could disable and remove the menuitems, Ctrl+G (shortcut key for grouping
still works)
I tried
myEvents.Add(m_evtList.AddAdvise(
(short)Visio.VisEventCodes.visEvtCodeQueryCancelConvertToGroup , m_evtSink,
"", ""));

But it is never reaching
case (short)Visio.VisEventCodes.visEvtCodeQueryCancelConvertToGroup:

please help

Regards

Matt
 
M

Matt

Yes , i treid that

myEvents.Add(m_evtList.AddAdvise(
(short)Visio.VisEventCodes.visEvtCodeQueryCancelConvertToGroup ,
m_evtSink, "", ""));

But it is never reaching
case (short)Visio.VisEventCodes.visEvtCodeQueryCancelConvertToGroup: in
VisEventProc Method
 
M

Markus Breugst

Hi Matt,

"convert to group" is not equal to "group". You can find both items in the
Visio "Shapes" menu. This is just to explain why your approach does not
work. Unfortunately, I don't know how to solve the problem. There does not
seem to be any event indicating the grouping of shapes.

Best regards,
Markus
 

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