identifying subshape that received double-click

S

Scott

A simpler question than the one I asked yesterday: For a group with behavior
set to select "Members first", how can I determine in VBA the ID of the
subshape that was double-clicked?

In the Visio UI, the subshape appears to be selected as a result of the
double-click but ActiveWindow.Selection.Count equals zero. Is there a way to
identify the shape?
 
M

Mark Nelson [MS]

You need to set the IterationMode of the selection to find out about
subshapes in groups. The help topic explains it in detail. Set the value
to visSelModeSkipSuper instead of visSelModeSkipSub + visSelModeSkipSuper.

http://msdn2.microsoft.com/en-us/library/ms367808.aspx

--
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