title: Visio VBA: How to register to mouse double click event on a shape in VB code
body: <p>I have two questions:</p>
  
  <ol>
  <li><p>Is there a way to change the shape's ShapeSheet (spreadsheet) parameters via a VBA code? More precisely, I need to change the EventDblClick parameter value in the shape's ShapeSheet.</p></li>
  <li><p>Is there another way to register a mouse double click event handler to a Visio shape? I want that a subroutine I provide will be called every time the shape is double clicked and to get the shape object as parameter.</p></li>
  </ol>
  
  <p>What I know to do so far is to register to add shape event like this:</p>
  
  <p>Private Sub Document_ShapeAdded(ByVal vsoShape As Visio.IVShape)</p>
  
  <pre><code> 'Do something with the shape object.
  </code></pre>
  
  <p>End Sub</p>
  
  <p>This subroutine is called every time a new shape is added to the Visio page.</p>