NavAskSaveChangesAction

Header: Navigation.h

enum NavAskSaveChangesAction {
    kNavSaveChangesClosingDocument = 1,
    kNavSaveChangesQuittingApplication = 2,
    kNavSaveChangesOther = 
};

Constant descriptions

kNavSaveChangesClosingDocument

Requests a Save Changes alert box that asks the user whether to save changes when closing a document.

kNavSaveChangesQuittingApplication

Requests a Save Changes alert box that asks the user whether to save changes when quitting your application.

kNavSaveChangesOther

Requests a Save Changes alert box that asks the user whether to save changes at some time other than closing or quitting. This is useful when your application prompts the user to save documents at timed intervals, for example.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)