<?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 Re: Using file dialog to select a folder in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Using-file-dialog-to-select-a-folder/m-p/282340#M2633</link>
    <description>&lt;BLOCKQUOTE&gt;Akos wrote:&lt;BR /&gt;
Hi,&lt;BR /&gt;
&lt;BR /&gt;
You have to implement a FileDialogObserver for that dialog, and return false from the IncludeFile callback:&lt;BR /&gt;

&lt;PRE&gt;void	OpenNotesObserver::IncludeFile (const DG::FileDialogIncludeFileEvent&amp;amp; /*ev*/, bool* enable)
{
	*enable = false;
}
&lt;/PRE&gt;

&lt;BR /&gt;
Best, Akos
&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
Hi.&lt;BR /&gt;
I implement a FileDialogObserver as above. But the method is invalid. &lt;BR /&gt;
Is there any other method? Thanks.</description>
    <pubDate>Sat, 14 Mar 2020 08:14:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-03-14T08:14:08Z</dc:date>
    <item>
      <title>Using file dialog to select a folder</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Using-file-dialog-to-select-a-folder/m-p/282337#M2630</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi, &lt;BR /&gt;I would like to use file dialog to get a folder path for saving purposes. I don’t want to use the folder dialog because than I can’t paste a path, and it’s generally less comfortable.&lt;BR /&gt;I would like to filter the “files of type” to only folders, not seeing any other types of files.&lt;BR /&gt;Adding a picture of the code.&lt;BR /&gt;Thanks!&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Sep 2022 07:51:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Using-file-dialog-to-select-a-folder/m-p/282337#M2630</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-29T07:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using file dialog to select a folder</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Using-file-dialog-to-select-a-folder/m-p/282338#M2631</link>
      <description>+1 for this question</description>
      <pubDate>Mon, 06 Jan 2020 16:05:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Using-file-dialog-to-select-a-folder/m-p/282338#M2631</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-06T16:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using file dialog to select a folder</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Using-file-dialog-to-select-a-folder/m-p/282339#M2632</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
You have to implement a FileDialogObserver for that dialog, and return false from the IncludeFile callback:&lt;BR /&gt;

&lt;PRE&gt;void	OpenNotesObserver::IncludeFile (const DG::FileDialogIncludeFileEvent&amp;amp; /*ev*/, bool* enable)
{
	*enable = false;
}
&lt;/PRE&gt;

Best, Akos</description>
      <pubDate>Fri, 07 Feb 2020 15:27:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Using-file-dialog-to-select-a-folder/m-p/282339#M2632</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2020-02-07T15:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using file dialog to select a folder</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Using-file-dialog-to-select-a-folder/m-p/282340#M2633</link>
      <description>&lt;BLOCKQUOTE&gt;Akos wrote:&lt;BR /&gt;
Hi,&lt;BR /&gt;
&lt;BR /&gt;
You have to implement a FileDialogObserver for that dialog, and return false from the IncludeFile callback:&lt;BR /&gt;

&lt;PRE&gt;void	OpenNotesObserver::IncludeFile (const DG::FileDialogIncludeFileEvent&amp;amp; /*ev*/, bool* enable)
{
	*enable = false;
}
&lt;/PRE&gt;

&lt;BR /&gt;
Best, Akos
&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
Hi.&lt;BR /&gt;
I implement a FileDialogObserver as above. But the method is invalid. &lt;BR /&gt;
Is there any other method? Thanks.</description>
      <pubDate>Sat, 14 Mar 2020 08:14:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Using-file-dialog-to-select-a-folder/m-p/282340#M2633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-14T08:14:08Z</dc:date>
    </item>
  </channel>
</rss>

