LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

FileSelectPopup - Directory history

I'd like to pre-populate the "Directory History" field of the FileSelectPopup dialog box.  How can I do this?
 
Alternatively: How can I ensure my app as a rich MRUD history like the one I see when I use File>>Open within CVI?
 
Thanks,
Ian
0 Kudos
Message 1 of 3
(3,582 Views)
Hi Ian,

There is a totally awesome implementation of your alternative in Building User Interfaces >> Menus and Toolbars >> menudemo.prj, in the Example Finder.  Have fun playing with it!

Cheers,

David Goldberg
National Instruments
Software R&D
0 Kudos
Message 2 of 3
(3,559 Views)

Doh!  There is a function in the User Interface library called AddToFilePopupDirHistory() that is just what I wanted. It is just sitting there in plain sight right with the FileSelectPopup function in the same branch of the function tree.  Amazing .... 

(Thanks for the reply, David. It was helpful, but not quite what I was after, as I wanted the list in the FileSelectPopup, rather than my menu.)

--Ian

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