![]() |
AlertStdAlertParamRec |
Header: Dialogs.h |
struct AlertStdAlertParamRec { Boolean movable; Boolean helpButton; ModalFilterUPP filterProc; ConstStringPtr defaultText; ConstStringPtr cancelText; ConstStringPtr otherText; SInt16 defaultButton; SInt16 cancelButton; UInt16 position; }; typedef AlertStdAlertParamRec AlertStdAlertParamPtr;
A Boolean value indicating whether or not the alert box is movable.
A Boolean value indicating whether or not the alert includes a Help button.
If the value in the movable field is true (alert is movable), then specify in this parameter a universal procedure pointer to an application-defined filter function that responds to events not handled by ModalDialog. If you do, all events will get routed to your application-defined event filter function for handling, even when your alert box window is in the background. If you set this parameter to null, the Dialog Manager uses the standard event filter function.
Text for button in OK position; see
Text for button in Cancel position; see
Text for button in leftmost position; see
Specifies which button acts as the default button; see
Specifies which button acts as the Cancel button (can be 0); see
The alert box position, as defined by a window positioning constant. In this structure, the constant kWindowDefaultPosition is equivalent to the constant kWindowAlertPositionParentWindowScreen.
A standard alert structure of type AlertStdAlertParamRec can be used when you call the function StandardAlert to customize the alert box. The AlertStdAlertParamRec type is available with Appearance Manager 1.0 and later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)