<?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 revert APIIo_IsProcessCanceledID? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/revert-APIIo-IsProcessCanceledID/m-p/211896#M5348</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;is there a way to negate APIIo_IsProcessCanceledID? I am currently using this inside a for-loop:&lt;BR /&gt;
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;if (ACAPI_Interface(APIIo_IsProcessCanceledID))
{
  reply = DGAlert(DG_WARNING,
    "WARNING!!!",
    "Do you really want to stop this operation?",
    "",
    "Yes",	// DG_OKAY
    "No");	// DG_CANCEL
  if (reply == DG_OK)
  {
    ACAPI_Interface(APIIo_CloseProcessWindowID);
    completed = DSE_Cancel;
    break;
  }
}
&lt;/PRE&gt;
I am planning to put that on the else part but haven't found it in the documentation.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;EDIT (2014-Sep-30)&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;BTW: Currently, when the user clicks the "No" button, the &lt;FONT color="#808080"&gt;DGAlert()&lt;/FONT&gt; will always pop-up since &lt;FONT color="#808080"&gt;ACAPI_Interface(APIIo_IsProcessCanceledID)&lt;/FONT&gt; is now &lt;STRONG&gt;true&lt;/STRONG&gt;.&lt;/DIV&gt;</description>
    <pubDate>Tue, 01 Aug 2023 12:09:42 GMT</pubDate>
    <dc:creator>ReignBough</dc:creator>
    <dc:date>2023-08-01T12:09:42Z</dc:date>
    <item>
      <title>revert APIIo_IsProcessCanceledID?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/revert-APIIo-IsProcessCanceledID/m-p/211896#M5348</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;is there a way to negate APIIo_IsProcessCanceledID? I am currently using this inside a for-loop:&lt;BR /&gt;
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;if (ACAPI_Interface(APIIo_IsProcessCanceledID))
{
  reply = DGAlert(DG_WARNING,
    "WARNING!!!",
    "Do you really want to stop this operation?",
    "",
    "Yes",	// DG_OKAY
    "No");	// DG_CANCEL
  if (reply == DG_OK)
  {
    ACAPI_Interface(APIIo_CloseProcessWindowID);
    completed = DSE_Cancel;
    break;
  }
}
&lt;/PRE&gt;
I am planning to put that on the else part but haven't found it in the documentation.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;EDIT (2014-Sep-30)&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;BTW: Currently, when the user clicks the "No" button, the &lt;FONT color="#808080"&gt;DGAlert()&lt;/FONT&gt; will always pop-up since &lt;FONT color="#808080"&gt;ACAPI_Interface(APIIo_IsProcessCanceledID)&lt;/FONT&gt; is now &lt;STRONG&gt;true&lt;/STRONG&gt;.&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Aug 2023 12:09:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/revert-APIIo-IsProcessCanceledID/m-p/211896#M5348</guid>
      <dc:creator>ReignBough</dc:creator>
      <dc:date>2023-08-01T12:09:42Z</dc:date>
    </item>
  </channel>
</rss>

