Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6324197
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:39:32+00:00 2026-05-24T16:39:32+00:00

How can I catch a double click event on a Visio shape? I would

  • 0

How can I catch a double click event on a Visio shape? I would like to display some properties when the user double-click on the shape but to do so I first need to catch this event.

Any suggestion is very welcome.
Thanks a lot.

P.S. I use C# + Visio 2007 SDK.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T16:39:33+00:00Added an answer on May 24, 2026 at 4:39 pm

    I’m not sure there is a double click event available in the Visio API. I’ve never seen one. You can, however, set up a shape to report a double click to some code procedure, through the shapesheet window. To get there, select a shape, and go to Window->Show Shapesheet, and you’ll see a spreadsheet-looking window that describes pretty much everything about the shape.

    There should be an Events section (if not right click in the gray area and select “insert section” and pick it), where you can specify a shapesheet function in the EventDblClick cell to get called on double clicking that shape. You’d use something like CALLTHIS or RUNADDON to get to the code you want to execute.

    Unfortunately, doing it this way requires you to set up the shape(s) you want to watch before you try to watch them. You can set the EventDblClick cell formula programmatically, so you could do that on opening your addin. Or you could set that up manually and provide the shapes you want to watch through a stencil.

    You could also watch for the MouseUp event on the active Visio.Window object, and if there are two mouseups in some amount of time, count that as a double click…

    There may be other ways, but I don’t know of them.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to catch the click event on a row For some reason this
My app needs to check whether user double clicks or not. But I can't
When we can catch an exception like: Violation of UNIQUE KEY constraint 'IX_Product'. Cannot
Is there some way I can catch when a method generates a write to
How can I catch key combinations like ALT + K or CTRL + ALT
Is there any event which fires on double-click event on WPF Window border? How
We know that we can catch any unexpected exception at application level by using
I have been hearing that with unit testing we can catch most of the
how can I catch all strings from a native windows .exe file and replace
Does anyone know how can I catch a mail error (error is displayed while

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.