10-21-2009 01:32 PM
I would like to change the default settings of the file dialog box so that everything is set and orginized in a useful way and follows the way the rest of the dialog boxes in windows are orginized . So the "View Menu" is set to something spesific and the I can set the catergories of how the files are orginized. I am using the standard FileDialog.vi in LV 8.6.1.
Default
What I would like
Thanks
Taylor
10-22-2009 08:45 AM
Hello tsksesa,
The dialog box is limited by the Windows operating system, LabVIEW calls into the system dialog to keep consistency between all of our dialogs since it's possible developers working on different parts of LabVIEW might have created dialogs that looked different between them if we didn't use the system dialog.
There are 3rd party software that created a custom dialog box for Windows that allows you to set default views when using the CommonDialog class. I have included the link to this software. It has an explanation of why the dialog was created because there is no direct way to change the default view. I have also linked one website that describes how to get a handle to and change the view of the dialog, but this would have to run each time you open the browse button, so that would require extra coding and event handling to get that to work.
- Customizing OpenFileDialog in .NET
http://www.codeguru.com/csharp/csharp/cs_controls/custom/article.php/c12801
- File Dialog Window Handle
http://www.velocityreviews.com/forums/t19698-re-filedialog-window-handle.html
- Dialog Box Default View
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.internetexplo...
10-22-2009 01:14 PM
The third link down is broken. Ill let you know how it goes.
Thanks for the help.
Taylor