home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilsd / evntshell / Docs / OLE < prev    next >
Encoding:
Text File  |  1995-10-22  |  1.5 KB  |  68 lines

  1. This extension library should be installed using the
  2. FNshell_InstallLib routine so that the variables
  3. and storage space can be set up.
  4.  
  5. --------------------------------------------------------
  6.  
  7. PROCshell_OLELinkFile()
  8. =>    str    full name of file to 'watch'
  9.     str    function name to call when 'watched'
  10.          file datestamp changes
  11.  
  12. An error will be generated if file to link does not
  13. exist, or memory claim fails.
  14.  
  15. User FN ( shell_OLELinkFile )
  16. =>    str    full filename of changed file
  17.  
  18.  
  19. --------------------------------------------------------
  20.  
  21. PROCshell_OLEDeLinkFile()
  22. Params =>
  23.          str name of file to delink
  24.  
  25. Removes a filename from the list of 'watched' files.
  26. No error generated if file is not in the list.
  27.  
  28. --------------------------------------------------------
  29.  
  30. FNshell_OLEFileStatus()
  31. Params =>
  32.          str name of file
  33.  
  34.        <=
  35.          int status flag
  36.  
  37. --------------------------------------------------------
  38.  
  39. FNshell_OLEGetNrOfLinkedFiles
  40. Params =>
  41.          none
  42.  
  43.        <=
  44.          int number of linked files
  45.  
  46. --------------------------------------------------------
  47.  
  48. FNshell_OLEInProgress
  49. Params =>
  50.          none
  51.  
  52.        <=
  53.          bool TRUE if files are being externally
  54.               edited FALSE otherwise
  55.  
  56. Useful for checking if OLE data is being edited
  57. before shutting down the application.
  58.  
  59. --------------------------------------------------------
  60.  
  61. PROCshell_OLEScanLinkedFiles
  62. Params =>
  63.          none
  64.  
  65. Call every 1 or 2 seconds via PollIdle to check
  66. the datestamps of 'watched' files.
  67.  
  68. --------------------------------------------------------