Is there a way to bring up the standard Windows "Open" control (where you double-click on an icon to open a file, or run something, etc) so that a hash table can be loaded?
I'm not so good at explaining these things
Basically, when the user clicks "Load" from the menu (id 4), I'd like a window to open displaying all files that end in .chr (an extension chosen by me), and when they double-click the icon, it simply loads the hash table up.
The code below works, but the user has to type in the filename manually to save and load. I guess what I need to know is how to access the standard windows Save / Open box.
on *:dialog:build1:menu:3:{
hsave -s CharSheet $$?.chr
}
on *:dialog:build1:menu:4:{
hfree -sw CharSheet
hmake -s CharSheet
hload -s CharSheet $$?.chr
}
Sorry for being convoluted - I know what I want, but I'm not sure of the best way to phrase it!