Cursor control on Drawing Control

  • Thread starter Ralph Spaulding
  • Start date
R

Ralph Spaulding

Hi:

I'm building a Windows Forms application that includes a Visio ActiveX
Drawing Control to display Visio drawings. I want this to be a view-only
display. The control has an annoying feature where it changes the shape of
the cursor when the mouse passes over a shape in the drawing. I'd like to
disable that feature, or perhaps take control of this event myself. Ideally,
I could override this behavior and get notified when the mouse passes over a
shape, turning off the cursor change.

Any ideas how that would be done?
Thanks
 
M

Michel LAPLANE

You can manage the new Visio2003 MouseMove event and search for shapes under
the cursor using visPage.get_SpatialSearch.
 

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