LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

MENU BAR last files viewed

Is there an easy way to display and retrieve the last 4 to 8 files used on the menu bar. An example would be cvi it displays the last 4 projects and the last 4 files.
0 Kudos
Message 1 of 4
(3,127 Views)
Hi Blake,
Normally the way this is done is to maintain a list in the registry of the last x number of files opened...
I've attached a quick (and dirty) example of this... Hope this helps
Message 2 of 4
(3,127 Views)
This example looks like it will work but, when I run it
it gives me a link error for _RegReadString@24 and _RegWriteString@16 what could I be doing wrong.
0 Kudos
Message 3 of 4
(3,127 Views)
You need to load the programmer's toolbox library (toolbox.fp) as the functions to access the registry are from there...
0 Kudos
Message 4 of 4
(3,127 Views)