LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

custom file dialog box

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

 

 bad.PNG

 

 

 

 

 

What I would like

 

 good.PNG

 Thanks

Taylor

 

 

 

 

 

0 Kudos
Message 1 of 3
(3,885 Views)

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...

 

Andy Chang
National Instruments
Message 2 of 3
(3,856 Views)

The third link down is broken.  Ill let you know how it goes. 

 

Thanks for the help.  

 

Taylor

0 Kudos
Message 3 of 3
(3,840 Views)