home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / l / libstore / !LibStore / Index / WimpLib / Messages < prev    next >
Encoding:
Text File  |  1993-03-13  |  1.6 KB  |  46 lines

  1. Index file for "Messages" Library
  2.  
  3. Procedures provided:
  4.  
  5. DEFPROCstandard_messages - calls procedures when messages are recieved.
  6.  
  7. DEFPROCmessages_load - for internal use only.
  8.  
  9. DEFFNfilename(file$) - returns just the filename out of the pathname
  10. file$.
  11.  
  12. DEFPROCdragbox(whandle%,ihandle%) - creates a drag box around an icon,
  13. or in RISC OS 3, drags the icon solidly (using DragASprite)
  14.  
  15. DEFPROCmessages_savefailed - presently unused - is called when an error
  16. occurs during saving.
  17.  
  18. DEFPROCmessages_enddrag - for internal use only.
  19.  
  20. DEFPROCmessages_save - for internal use only.
  21.  
  22. DEFPROCclick_on_ok(whandle%,ihandle%) - is called when OK is click with the
  23. window and icon handle of the icon containing the file name.
  24.  
  25. DEFPROCother_messages - this procedure has been added to cover interactive.
  26. help.
  27.  
  28. DEFPROCsendhelp(message$) - this sends the help message to the !Help
  29. program.
  30.  
  31. DEFPROCdragAsprite(block%,sprite$,shadow%) - this will use the 'DragASprite'
  32. module in RISC OS 3 to allow solid dragging of a sprite (in the WIMP sprite
  33. pool). It takes the memory block which would be used with 'Wimp_DragBox', 
  34. the name of the sprite to be dragged and whether or not it should have
  35. a shadow (TRUE/FALSE).
  36.  
  37. Procedures needed:
  38.  
  39. DEFPROCdoload(filename$,filetype%) - To load in a file.
  40. DEFFNlen - returns the length (estimate) of the file to be saved.
  41. DEFFNtype - returns the file type of the file to be saved.
  42. DEFFNname - returns the name of the file to be saved.
  43. DEFPROCdosave(filename$) - To save a file after a drag.
  44. DEFPROCgethelp(whandle%,ihandle%) - is called when a request for help is
  45. recieved.
  46.