home *** CD-ROM | disk | FTP | other *** search
- Demo3
- Leong INI Controls Demo 3
- Form15
- LeongProfileString
- demo3.ini
- CMDialog1
- CommonDialog
- INI Files|*.ini|All Files|*.*%x
- Text1
- Picture1
- wwwwwwwwwwwx
- wwwwDwDwwwwx
- wwwwDwDwwwwx
- tGtGwwwtGtGx
- tGtGwwwtGtGx
- tGtGwwwtGtGx
- tGtGwwwtGtGx
- wwwwwwwwwwwx
- wwwwwwwx
- wqwwwwwx
- wwwwwx
- qwwwwwwx
- wwwwwwx
- wwwwwwwx
- wwwwwx
- qwwwwwwx
- wwwwwx
- wwwwwx
- qwwwwwx
- qqqwwwwwx
- wwwwwqwwwwwx
- wwwwwx
- wwwwwwwwwwwx
- Line1
- Label1
- 5This program remembers the most recently opened files
- Arial
- FileMenu
- FileOpen
- &Open...
- FileSep1
- FileRecent
- FileSep2
- FileExit
- E&xit
- FileExit_Click
- FileOpen_Click
- CMDialog1
- Filename
- Action
- Text1;
- UpdateFileList
- nFiles2
- maxFilesn
- FileSep2
- Visible
- FileRecent
- Caption
- FileRecent_Click
- Index
- LoadFile
- Form_Load
- InitDir
- empty
- there
- entry
- Flags@
- maximum number of files to keep on menu
- FileExit_Click
- FileOpen_Click
- Prompt for a filename
- Show the File Open Dialog Box
- FileRecent_Click
- Form_Load
- create new INI file control
- Try to add the filename to the menu. (it will be an
- empty string if there is no entry in the INI file)I
- LoadFile
- You just opened
- UpdateFileList
- number of files presently on menu
- Check if the new item is already in the list
- If so, we're ready to move down just the entries above it in the list
- If not, we want to move all the entries or create
- another if we haven't filled all the slots yeta
- ensure the files are visibly distinct on the menu
- create a new menu itemn
- just shuffle them all downh
- Move the necessary entries down the list
- add the new file at the top
- Update the menu items to match the INI file
-