09-04-2012 11:44 AM
Hello NI,
I miss a little bit of documentation...
The help says that Windows XP and Server 2003 do not support this style dialog box, and if you use this function on Windows XP or Server 2003, LabWindows/CVI replaces it with the FileSelectPopup function at run time.
However, FileSelectPopup has two parameters more than FileSelectPopupEx, so what parameter values will be used in those cases?
Also, a comment or suggestion: Right now, FileSelectPopupEx is not supported on Linux, while not make CVI use FileSelectPopup instead?
Thanks,
Wolfgang
Solved! Go to Solution.
09-04-2012 02:16 PM
Hi Wolfgang,
You are correct that the documentation does not tell you what the two missing parameters are set to. I will file a bug report for this.
Both the Allow Make Directory and Allow Cancel parameters are set to "yes" or 1 when it runs the FileSelectPopup on XP and Server 2003. The reason is because this is the behavior of the Vista style popup which is not configurable.
The FileSelectPopupEx function is currently not supported on Linux because CVI 2010 is the latest version for the Linux module and this function is new to CVI 2012. However, we described it as not supported because we did not intend to export it for Linux in the next version of the Linux Module since it is not relevant. I can see that it would be useful for the purposes of having a single source for both Windows and Linux. We will consider adding it for this purpose in the next version of Linux Module.