[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re-opening files



Harry B. wondered how I do the re-open files routine. It's
fairly complicated, since I wanted to record the path, filename,
and view mode of files that are opened or created via the menus
or the command line. All automatically and invisibly. This
involved modifying some of the dialog box routines, creating some
reinterpretations of XyWrite commands in a U2 file, creating a
couple of new routines and a dialog box so I can list the saved
filespecs, including a routine that saves filespecs to both a
save/get and a stand-alone file (based on my login name so my
wife has her own set based on her name), and loading the stored
file info into the save/get in the Startup file. Whew! Some
more sophisticated programmer could probably do it in half the
code, but it works for me. It's way too complicated to post --
all bits and pieces of the DLG file, U2 file, MNU file, and
startup file. Harry,
Carl, Robert -- can you think of a simpler scheme?