Is there any way to tell if a map document is dirty?

3100
2
Jump to solution
05-24-2013 07:42 AM
Highlighted
New Contributor II
I can set or clear the dirty flag on a document through the IDocumentDirty interface.  But where can I read the dirty flag?

I want to show a custom dialog prompting the user to save their map (before opening another one programmatically), but I only want to show it if the document has unsaved changes.
Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
MVP Honored Contributor
This is an old thread, but it shows one way of getting that.

View solution in original post

Reply
0 Kudos
2 Replies
Highlighted
MVP Honored Contributor
This is an old thread, but it shows one way of getting that.

View solution in original post

Reply
0 Kudos
Highlighted
New Contributor III

Unfortunately that link is non-functional... do you remember what the thread said?

Reply
0 Kudos