Cursor control on Drawing Control

Cursor control on Drawing Control

Post by UmFscGggU3 » Sat, 06 May 2006 08:17:01


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
 
 
 

Cursor control on Drawing Control

Post by Michel LAP » Fri, 09 Jun 2006 15:01:36

You can manage the new Visio2003 MouseMove event and search for shapes under
the cursor using visPage.get_SpatialSearch.
"Ralph Spaulding" < XXXX@XXXXX.COM > a rit dans le