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

3450
2
Jump to solution
05-24-2013 07:42 AM
PrestonMcCormick
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.
0 Kudos
1 Solution

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

View solution in original post

0 Kudos
2 Replies
KenBuja
MVP Esteemed Contributor
This is an old thread, but it shows one way of getting that.
0 Kudos
NathanWarmerdam
New Contributor III

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

0 Kudos