CustomGet unresolved alias

Last Revision:
Version 1.0, 2003-03-13
First Version
Build Requirements:
Runtime Requirements:
Carbon System 7.0

This 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