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