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 Download Sample (CustomGet_unresolved_alias.zip, 12.1K) |
||||
DescriptionThis sample demonstrates how to let the user choose an alias file from an "open" dialog. The basic idea is to intercept the pseudo- item 'sfHookOpenAlias' in a CustomGetFile hook function and transform it into 'getOpen'. This causes the dialog to behave as if the user had clicked the open button. Also, we intercept the item number of a check box we have added to the dialog item template in order to allow the user to choose whether to resolve aliases. Finally, when CustomGetFile returns, we call Alert to let the user know what happened. Requirements: System 7.0 Keywords: Standard File, CustomGetFile, choosing aliases Document Revision History
|
|