home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14180 < prev    next >
Encoding:
Text File  |  1992-08-18  |  1.2 KB  |  27 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!cs.utexas.edu!asuvax!system
  3. From: system@asuvax.eas.asu.edu (Marc Lesure)
  4. Subject: SFPPutFile question
  5. Message-ID: <1992Aug18.225650.15434@asuvax.eas.asu.edu>
  6. Organization: Arizona State University
  7. Date: Tue, 18 Aug 1992 22:56:50 GMT
  8. Lines: 17
  9.  
  10. I have a problem using the SFPPutFile routine.  I want to give the user the
  11. option of appending to an existing file so I've added an 'append'
  12. button in addition to the 'save' and 'cancel'.  The problem I have is 
  13. what my dlgHook routine should return as its status value.  If it 
  14. returns the 'putSave' status, then SFPPutFile put up the 'Already exists'
  15. dialog and if it returns 'putCancel', then the SFReply vRefNum field is not
  16. filled in correctly.  Is there a way to disable the 'Already exists' dialog or a
  17. better return value?
  18.  
  19. -----------------------------------------------------------------------
  20. Marc Lesure / Arizona State University / Tempe, AZ
  21. "Between the world of men and make-believe, I can be found..."
  22. "False faces and meaningless chases, I travel alone..."
  23. "And where do you go when you come to the end of your dream?"
  24.  
  25. UUCP:       ...!ncar!noao!asuvax!lesure  
  26. Internet:   lesure@asuvax.eas.asu.edu
  27.