![]() |
Alert Default Text Constants |
Header: Dialogs.h |
enum { kAlertDefaultOKText = -1, kAlertDefaultCancelText = -1, kAlertDefaultOtherText = -1 };
The default text for the default (right) button is OK on an English system. The text will vary depending upon the localization of the users system. Use this constant in the defaultText field of the standard alert structure.
The default text for the Cancel (middle) button is Cancel on an English system. The text will vary depending upon the localization of your system. Use this constant in the cancelText field of the standard alert structure.
The default text for the third (leftmost) button is Dont Save for an English system. The text will vary depending upon the localization of the users system. Use this constant in the otherText field of the standard alert structure.
You can use these constants in the defaultText, cancelText, and otherText fields of the standard alert structure to specify the default text for the OK, Cancel, and Dont Save buttons. Alert default text constants are available with Appearance Manager 1.0 and later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)