Capture Drawing Modification

A

Asif

Hi All,

I am using Visio 2003 Drawing Control in my application.

I want to get notification when there is any change is made on open
drawing so that a message should appear before closing the form to
prevent the changes.

Can anyone help me about how to capture any change in open drawing
(move, delete, add etc)?

Thanks

Asif
 
C

Chris [Visio MVP]

You can capture a ton of specific events. PageAdded, cell_changed,
shape_added, and so on. But to see if the drawing has been messed with in
any old way, check the Document.Saved property. There are more notes in the
Visio Developer Help on Saved. But this is a nice, quick way to check if a
drawing is 'dirty' or not.
 
D

David Parker

...and, of course, the Event Viewer from the Visio SDK will help you spot
relevant events...
 
Top