home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilsd / evntshell / Docs / Messages < prev    next >
Encoding:
Text File  |  1994-10-30  |  2.5 KB  |  105 lines

  1. --------------------------------------------------------
  2. PROCshell_BroadcastMessage()
  3. Params =>
  4.          int reason code         
  5.          str message text
  6.  
  7. This routine is used by the EvntShell
  8. library for communication between apps
  9. using the library and !ShellDBug, although
  10. it could be used for other purposes.
  11.  
  12. --------------------------------------------------------
  13.  
  14. PROCshell_MessageSendDataLoad()
  15. Params =>
  16.          int file type
  17.          str full path name of file
  18.  
  19. This call is useful for forcing a file to be
  20. loaded by another application, as if if had
  21. been double clicked in a Filer window. In
  22. effect this is the same as the RISC OS 3
  23. Filer_Run command, but this call will work
  24. on RISC OS 2 as well.
  25.  
  26. --------------------------------------------------------
  27.  
  28. PROCshell_HandleUnknownMessage()
  29. Params =>
  30.          int address of message block
  31.  
  32. Called every time an unknown message is received.
  33.  
  34. --------------------------------------------------------
  35.  
  36. PROCshell_MessageSendPrintSave()
  37. Params =>
  38.          int file type
  39.          int number of copies to print
  40.  
  41. --------------------------------------------------------
  42.  
  43. FNshell_MessageNoArgs()
  44. Params =>
  45.          str message tag
  46.  
  47.        <=
  48.          str message associated with given
  49.              tag
  50.  
  51. --------------------------------------------------------
  52.  
  53. FNshell_MessageOneArg()
  54. Params =>
  55.          str message tag
  56.          str parameter to insert in returned
  57.              string
  58.              
  59.        <=
  60.          str message associated with given
  61.              tag
  62.  
  63. --------------------------------------------------------
  64.  
  65. FNshell_MessageTwoArgs()
  66. Params =>
  67.          str message tag
  68.          str parameter to insert in returned
  69.              string
  70.          str parameter to insert in returned
  71.              string    
  72.        <=
  73.          str message associated with given
  74.              tag
  75.  
  76. --------------------------------------------------------
  77.  
  78. FNshell_MessageExpand()
  79. Params =>
  80.          str message tag
  81.  
  82.        <=
  83.          str message associated with given
  84.              tag
  85.  
  86. This call scans the returned message and
  87. substitutes certain character sequences with
  88. another. For example "\W" is returned as "This
  89. window is" saving space in the message file.
  90.  
  91. A full list is:
  92.  
  93. "\A" = "Click ADJUST to"
  94. "\a" = "ADJUST"
  95. "\D" = "Drag with SELECT to"
  96. "\d" = "Drag with ADJUST to"
  97. "\G" = "This option is greyed out because"
  98. "\R" = "Move the pointer right"
  99. "\S" = "Click SELECT to"
  100. "\s" = "SELECT"
  101. "\T" = "This is the"
  102. "\W" = "This window is"
  103. "\w" = "window"
  104.  
  105. --------------------------------------------------------