Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-03-13

Build Requirements: N/A

Runtime Requirements: Carbon System 7.0

View Source Code:

Download Sample (“CustomPutSuffix.zip”, 17.9K)
Download Sample (“CustomPutSuffix.dmg”, 77.9K)



Description

This demonstrates a CustomPutDialog with an Save button that checks to see if several files (with the name filename+suffix) already exist. a dialog hook procedure is responsible for presenting separate "Replace?" dialogs. When the Save button is hit and, if the user allows the save, the Save action is map to a Cancel action but the reply is marked as good. Requirements: System 7.0 Keywords: Standard File, replace hook

Document Revision History

Date Notes
2003-03-13First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.