<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Is there any way to tell if a map document is dirty? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/is-there-any-way-to-tell-if-a-map-document-is/m-p/166690#M4321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can set or clear the dirty flag on a document through the &lt;/SPAN&gt;&lt;STRONG&gt;IDocumentDirty &lt;/STRONG&gt;&lt;SPAN&gt;interface.&amp;nbsp; But where can I read the dirty flag?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 May 2013 14:42:52 GMT</pubDate>
    <dc:creator>PrestonMcCormick</dc:creator>
    <dc:date>2013-05-24T14:42:52Z</dc:date>
    <item>
      <title>Is there any way to tell if a map document is dirty?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/is-there-any-way-to-tell-if-a-map-document-is/m-p/166690#M4321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can set or clear the dirty flag on a document through the &lt;/SPAN&gt;&lt;STRONG&gt;IDocumentDirty &lt;/STRONG&gt;&lt;SPAN&gt;interface.&amp;nbsp; But where can I read the dirty flag?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 14:42:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/is-there-any-way-to-tell-if-a-map-document-is/m-p/166690#M4321</guid>
      <dc:creator>PrestonMcCormick</dc:creator>
      <dc:date>2013-05-24T14:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to tell if a map document is dirty?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/is-there-any-way-to-tell-if-a-map-document-is/m-p/166691#M4322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is an old &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=993&amp;amp;t=89194" rel="nofollow" target="_blank"&gt;thread&lt;/A&gt;&lt;SPAN&gt;, but it shows one way of getting that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 14:53:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/is-there-any-way-to-tell-if-a-map-document-is/m-p/166691#M4322</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2013-05-24T14:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to tell if a map document is dirty?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/is-there-any-way-to-tell-if-a-map-document-is/m-p/166692#M4323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately that link is non-functional... do you remember what the thread said?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 21:13:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/is-there-any-way-to-tell-if-a-map-document-is/m-p/166692#M4323</guid>
      <dc:creator>NathanWarmerdam</dc:creator>
      <dc:date>2016-05-13T21:13:51Z</dc:date>
    </item>
  </channel>
</rss>

