Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

Default directory in FileSelectPopup

$
0
0

The default directory in FileSelectPopup is defined as:

int FileSelectPopup (char defaultDirectory[], …)

defaultDirectory[] : If you enter "", the function uses the current working directory for the initial directory. If the user selects a directory, and the popup is displayed again in the application, the default directory is the user-selected directory.

 

This behavior creates a problem for my application. I need the default directory to always be the one that I specify in the defaultDirectory[], not the one that user selected previously. Is there a way to override the user selected directory and always start the browsing in the specified directory?


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>