all i found was ConvertToGroupCanceled or UngroupCanceled which are not what i needed.
i want to do some actions whenever i group shapes. anyone knows how?
thanks
David
QueryCancelGroup.
Could also probably check ShapeAdded, but that would be more work.
i didn't find that event.
i found only QueryCancelUngroup.
the event ShapeAdded really worked. but how can i distinguish between the event of moving a shape from the stencil to the frame and the event of grouping shapes? they're both included in ShapeAdded.
There is a QueryCancelGroup (visEvtCodeQueryCancelSelGroup) with value &H038D and
QueryCancelConvertToGroup (visEvtCodeQueryCancelConvertToGroup) with value &H038B
http://msdn.microsoft.com/en-us/library/aa342177.aspx
but i searched it in Object Browser in visio and didn't find it.
i checked in google and it's said there that QueryCancelGroup belongs to visio 2007. i have visio 2003 maybe that is why i can't find it?
That will be the reason!
so how can i do it in visio 2003?
i don't understand why there's no such event (QueryCancelGroup) in visio 2003.
i really need that event and i can't use Document_ShapeAdded because its parameter is of type Shape and i need to work on Selection (QueryCancelGroup's parameter) and not Shape.
all i need is to do some actions whever i create a group. there must be a way in visio 2003.
anyone has any suggestion what to do? (except for converting to visio 2007 - this is not an option).