<?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: How to get this type of window to select folder in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-this-type-of-window-to-select-folder/m-p/7542280#M11686</link>
    <description>&lt;P&gt;Yes, it is default limitations. Alternatively, you can write your own (not very complicated).&lt;BR /&gt;&lt;BR /&gt;Some other options:&lt;BR /&gt;&lt;BR /&gt;Use Microsoft.Office.Core.FileDialog //Inconvenient way&lt;BR /&gt;&lt;BR /&gt;Use SaveFileDialog with some trick. C# example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;// Prepare a dummy string
string zeroFileName = "Here";
var sfd = new SaveFileDialog();
sfd.FileName = zeroFileName;
if(sfd.ShowDialog() == DialogResult.OK)
{
    // Here's your save directory
    string savePath = Path.GetDirectoryName(sfd.FileName);
    // Do whatever
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Use WindowsAPICodePack. C# example:&lt;/P&gt;&lt;PRE&gt;var dlg = new Microsoft.WindowsAPICodePack.Dialogs.CommonOpenFileDialog();
dlg.IsFolderPicker = true;&lt;/PRE&gt;&lt;P&gt;Another example:&amp;nbsp;&lt;A href="https://www.medo64.com/2011/12/openfolderdialog/" target="_blank"&gt;https://www.medo64.com/2011/12/openfolderdialog/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also example: &lt;A href="https://www.codeproject.com/Articles/15059/C-File-Browser" target="_blank"&gt;https://www.codeproject.com/Articles/15059/C-File-Browser&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;etc, etc, etc...&lt;/P&gt;</description>
    <pubDate>Tue, 14 Nov 2017 11:29:41 GMT</pubDate>
    <dc:creator>Siger_</dc:creator>
    <dc:date>2017-11-14T11:29:41Z</dc:date>
    <item>
      <title>How to get this type of window to select folder</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-this-type-of-window-to-select-folder/m-p/7538907#M11680</link>
      <description>&lt;P&gt;you can get a window to select folder location via &lt;FONT color="#0000FF"&gt;getSavePath&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I want to know&amp;nbsp;how can we get the window which looks similar to what is in the screenshot?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 11:35:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-this-type-of-window-to-select-folder/m-p/7538907#M11680</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-13T11:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to get this type of window to select folder</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-this-type-of-window-to-select-folder/m-p/7539075#M11681</link>
      <description>&lt;PRE&gt;(dotNetObject "System.Windows.Forms.OpenFileDialog").ShowDialog()&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Nov 2017 12:51:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-this-type-of-window-to-select-folder/m-p/7539075#M11681</guid>
      <dc:creator>Swordslayer</dc:creator>
      <dc:date>2017-11-13T12:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get this type of window to select folder</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-this-type-of-window-to-select-folder/m-p/7540379#M11682</link>
      <description>&lt;PRE&gt;(
	local openFileRoll = dotNetObject "System.Windows.Forms.OpenFileDialog"		
	
	openFileRoll.title = "Select Files"
	openFileRoll.Multiselect = true
	openFileRoll.Filter = "MAX (*.max)|*.max"
	openFileRoll.FilterIndex = 1
	openFileRoll.RestoreDirectory = true
	
	result = openFileRoll.showDialog()
	result.ToString() 
	if (result.Equals result.OK) do 
	(
		print openFileRoll.fileNames
	)
)&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Nov 2017 19:41:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-this-type-of-window-to-select-folder/m-p/7540379#M11682</guid>
      <dc:creator>miauuuu</dc:creator>
      <dc:date>2017-11-13T19:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to get this type of window to select folder</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-this-type-of-window-to-select-folder/m-p/7541350#M11683</link>
      <description>&lt;P&gt;Thank you guys for the prompt response. Really appreciate it! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 04:43:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-this-type-of-window-to-select-folder/m-p/7541350#M11683</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-14T04:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get this type of window to select folder</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-this-type-of-window-to-select-folder/m-p/7542152#M11684</link>
      <description>&lt;P&gt;I think your image show FolderBrowserDialog &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The method of use is very similar to that described above. Only will return the result not filenames, but the path to the directory.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 10:38:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-this-type-of-window-to-select-folder/m-p/7542152#M11684</guid>
      <dc:creator>Siger_</dc:creator>
      <dc:date>2017-11-14T10:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to get this type of window to select folder</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-this-type-of-window-to-select-folder/m-p/7542187#M11685</link>
      <description>&lt;P&gt;You're right. I did try FolderBrowserDialog but it displayed folder selection in tree view &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 10:50:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-this-type-of-window-to-select-folder/m-p/7542187#M11685</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-14T10:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to get this type of window to select folder</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-this-type-of-window-to-select-folder/m-p/7542280#M11686</link>
      <description>&lt;P&gt;Yes, it is default limitations. Alternatively, you can write your own (not very complicated).&lt;BR /&gt;&lt;BR /&gt;Some other options:&lt;BR /&gt;&lt;BR /&gt;Use Microsoft.Office.Core.FileDialog //Inconvenient way&lt;BR /&gt;&lt;BR /&gt;Use SaveFileDialog with some trick. C# example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;// Prepare a dummy string
string zeroFileName = "Here";
var sfd = new SaveFileDialog();
sfd.FileName = zeroFileName;
if(sfd.ShowDialog() == DialogResult.OK)
{
    // Here's your save directory
    string savePath = Path.GetDirectoryName(sfd.FileName);
    // Do whatever
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Use WindowsAPICodePack. C# example:&lt;/P&gt;&lt;PRE&gt;var dlg = new Microsoft.WindowsAPICodePack.Dialogs.CommonOpenFileDialog();
dlg.IsFolderPicker = true;&lt;/PRE&gt;&lt;P&gt;Another example:&amp;nbsp;&lt;A href="https://www.medo64.com/2011/12/openfolderdialog/" target="_blank"&gt;https://www.medo64.com/2011/12/openfolderdialog/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also example: &lt;A href="https://www.codeproject.com/Articles/15059/C-File-Browser" target="_blank"&gt;https://www.codeproject.com/Articles/15059/C-File-Browser&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;etc, etc, etc...&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 11:29:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-this-type-of-window-to-select-folder/m-p/7542280#M11686</guid>
      <dc:creator>Siger_</dc:creator>
      <dc:date>2017-11-14T11:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get this type of window to select folder</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-this-type-of-window-to-select-folder/m-p/7542339#M11687</link>
      <description>&lt;P&gt;thank you!!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 11:54:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-this-type-of-window-to-select-folder/m-p/7542339#M11687</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-14T11:54:30Z</dc:date>
    </item>
  </channel>
</rss>

