34 #ifndef __MACWINDOWS__
50 #ifndef __CARBONEVENTS__
67 #if PRAGMA_STRUCT_ALIGN
68 #pragma options align = mac68k
69 #elif PRAGMA_STRUCT_PACKPUSH
71 #elif PRAGMA_STRUCT_PACK
83 kStaticTextDialogItem = 8,
84 kEditTextDialogItem = 16,
86 kPictureDialogItem = 64,
112 kStdCancelItemIndex = 2,
114 cancel = kStdCancelItemIndex
124 noteIcon = kNoteIcon,
125 cautionIcon = kCautionIcon
152 typedef SInt16 StageList;
155 #if !OPAQUE_TOOLBOX_STRUCTS
196 typedef SInt16 DialogItemIndex;
197 typedef SInt16 DialogItemType;
202 DialogItemIndex *itemHit);
209 DialogItemIndex itemNo);
214 #if CALL_NOT_IN_CARBON
225 #if !OPAQUE_UPP_TYPES
228 uppSoundProcInfo = 0x00000080
231 inline SoundUPP
NewSoundUPP(SoundProcPtr userRoutine)
234 (ProcPtr)(userRoutine), uppSoundProcInfo, GetCurrentArchitecture());
237 #define NewSoundUPP(userRoutine) \
238 (SoundUPP) NewRoutineDescriptor((ProcPtr)(userRoutine), uppSoundProcInfo, \
239 GetCurrentArchitecture())
255 #if !OPAQUE_UPP_TYPES
258 uppModalFilterProcInfo = 0x00000FD0
264 (ProcPtr)(userRoutine), uppModalFilterProcInfo, GetCurrentArchitecture());
267 #define NewModalFilterUPP(userRoutine) \
269 NewRoutineDescriptor((ProcPtr)(userRoutine), uppModalFilterProcInfo, \
270 GetCurrentArchitecture())
284 #if !OPAQUE_UPP_TYPES
287 uppModalFilterYDProcInfo = 0x00003FD0
293 uppModalFilterYDProcInfo,
294 GetCurrentArchitecture());
297 #define NewModalFilterYDUPP(userRoutine) \
299 NewRoutineDescriptor((ProcPtr)(userRoutine), uppModalFilterYDProcInfo, \
300 GetCurrentArchitecture())
314 #if !OPAQUE_UPP_TYPES
317 uppUserItemProcInfo = 0x000002C0
323 (ProcPtr)(userRoutine), uppUserItemProcInfo, GetCurrentArchitecture());
326 #define NewUserItemUPP(userRoutine) \
327 (UserItemUPP) NewRoutineDescriptor( \
328 (ProcPtr)(userRoutine), uppUserItemProcInfo, GetCurrentArchitecture())
332 #if CALL_NOT_IN_CARBON
343 #if !OPAQUE_UPP_TYPES
350 #define DisposeSoundUPP(userUPP) DisposeRoutineDescriptor(userUPP)
366 #if !OPAQUE_UPP_TYPES
373 #define DisposeModalFilterUPP(userUPP) DisposeRoutineDescriptor(userUPP)
387 #if !OPAQUE_UPP_TYPES
394 #define DisposeModalFilterYDUPP(userUPP) DisposeRoutineDescriptor(userUPP)
408 #if !OPAQUE_UPP_TYPES
415 #define DisposeUserItemUPP(userUPP) DisposeRoutineDescriptor(userUPP)
419 #if CALL_NOT_IN_CARBON
430 #if !OPAQUE_UPP_TYPES
434 CALL_ONE_PARAMETER_UPP(userUPP, uppSoundProcInfo, soundNumber);
437 #define InvokeSoundUPP(soundNumber, userUPP) \
438 CALL_ONE_PARAMETER_UPP((userUPP), uppSoundProcInfo, (soundNumber))
454 DialogItemIndex *itemHit, ModalFilterUPP userUPP);
455 #if !OPAQUE_UPP_TYPES
458 DialogItemIndex *itemHit,
459 ModalFilterUPP userUPP)
461 return (
Boolean)CALL_THREE_PARAMETER_UPP(userUPP, uppModalFilterProcInfo,
465 #define InvokeModalFilterUPP(theDialog, theEvent, itemHit, userUPP) \
466 (Boolean) CALL_THREE_PARAMETER_UPP((userUPP), uppModalFilterProcInfo, \
467 (theDialog), (theEvent), (itemHit))
481 short *itemHit,
void *yourDataPtr,
482 ModalFilterYDUPP userUPP);
483 #if !OPAQUE_UPP_TYPES
488 ModalFilterYDUPP userUPP)
490 return (
Boolean)CALL_FOUR_PARAMETER_UPP(userUPP, uppModalFilterYDProcInfo,
495 #define InvokeModalFilterYDUPP(theDialog, theEvent, itemHit, yourDataPtr, \
497 (Boolean) CALL_FOUR_PARAMETER_UPP((userUPP), uppModalFilterYDProcInfo, \
498 (theDialog), (theEvent), (itemHit), \
513 UserItemUPP userUPP);
514 #if !OPAQUE_UPP_TYPES
519 CALL_TWO_PARAMETER_UPP(userUPP, uppUserItemProcInfo,
theDialog, itemNo);
522 #define InvokeUserItemUPP(theDialog, itemNo, userUPP) \
523 CALL_TWO_PARAMETER_UPP((userUPP), uppUserItemProcInfo, (theDialog), (itemNo))
527 #if CALL_NOT_IN_CARBON || OLDROUTINENAMES
529 #define NewSoundProc(userRoutine) NewSoundUPP(userRoutine)
530 #define NewModalFilterProc(userRoutine) NewModalFilterUPP(userRoutine)
531 #define NewModalFilterYDProc(userRoutine) NewModalFilterYDUPP(userRoutine)
532 #define NewUserItemProc(userRoutine) NewUserItemUPP(userRoutine)
533 #define CallSoundProc(userRoutine, soundNumber) \
534 InvokeSoundUPP(soundNumber, userRoutine)
535 #define CallModalFilterProc(userRoutine, theDialog, theEvent, itemHit) \
536 InvokeModalFilterUPP(theDialog, theEvent, itemHit, userRoutine)
537 #define CallModalFilterYDProc(userRoutine, theDialog, theEvent, itemHit, \
539 InvokeModalFilterYDUPP(theDialog, theEvent, itemHit, yourDataPtr, userRoutine)
540 #define CallUserItemProc(userRoutine, theDialog, itemNo) \
541 InvokeUserItemUPP(theDialog, itemNo, userRoutine)
549 DialogItemIndex itemHit);
550 #if CALL_NOT_IN_CARBON
561 QTModelessCallbackProcPtr callbackProc);
566 #if CALL_NOT_IN_CARBON
614 kAlertCautionAlert = 2,
618 typedef SInt16 AlertType;
621 kAlertDefaultOKText = -1,
629 kAlertStdAlertOKButton = 1,
630 kAlertStdAlertCancelButton = 2,
631 kAlertStdAlertOtherButton = 3,
632 kAlertStdAlertHelpButton = 4
639 kDialogFlagsUseControlHierarchy = (1 << 1),
640 kDialogFlagsHandleMovableModal = (1 << 2),
641 kDialogFlagsUseThemeControls = (1 << 3)
648 kAlertFlagsUseControlHierarchy = (1 << 1),
649 kAlertFlagsAlertIsMovable = (1 << 2),
650 kAlertFlagsUseThemeControls = (1 << 3)
656 kDialogFontNoFontStyle = 0,
657 kDialogFontUseFontMask = 0x0001,
658 kDialogFontUseFaceMask = 0x0002,
659 kDialogFontUseSizeMask = 0x0004,
660 kDialogFontUseForeColorMask = 0x0008,
661 kDialogFontUseBackColorMask = 0x0010,
662 kDialogFontUseModeMask = 0x0020,
663 kDialogFontUseJustMask = 0x0040,
664 kDialogFontUseAllMask = 0x00FF,
665 kDialogFontAddFontSizeMask = 0x0100,
666 kDialogFontUseFontNameMask = 0x0200,
667 kDialogFontAddToMetaFontMask = 0x0400
674 kDialogFontUseThemeFontIDMask = 0x0080
695 FOUR_CHAR_CODE(
'othr')
701 kStdCFStringAlertVersionOne =
764 #if CALL_NOT_IN_CARBON
846 * \copyright THINK Reference © 1991 - 1992 Symantec Corporation
847 * \non_carbon_cfm in InterfaceLib 7.1 and
849 * \carbon_lib not available * \mac_os_x not available *
852 ErrorSound(SoundUPP soundProc);
867 SInt32 refCon, Handle items);
891 Boolean goAwayFlag, SInt32 refCon, Handle items);
893 #if CALL_NOT_IN_CARBON
927 ModalDialog(ModalFilterUPP modalFilter, DialogItemIndex *itemHit);
986 DialogItemIndex *itemHit);
1096 Alert(SInt16 alertID, ModalFilterUPP modalFilter);
1141 DialogItemType *itemType, Handle *item,
Rect *box);
1153 DialogItemType itemType, Handle item,
const Rect *box);
1165 ConstStr255Param param2, ConstStr255Param param3);
1177 SInt16 strtSel, SInt16 endSel);
1247 #if CALL_NOT_IN_CARBON
1259 SInt32 refCon, Handle items);
1272 Boolean goAwayFlag, SInt32 refCon, Handle items);
1283 paramtext(
const char *param0,
const char *param1,
const char *param2,
1284 const char *param3);
1364 DialogItemType itemType, Handle itemHandle,
const Rect *box);
1376 DialogItemIndex amountToRemove,
Boolean disposeItemData);
1388 DialogItemIndex *itemHit);
1492 ConstStr255Param inTitle,
Boolean inIsVisible,
1494 SInt32 inRefCon, Handle inItemListHandle, UInt32 inFlags);
1522 ConstStr255Param inExplanation,
1524 SInt16 *outItemHit);
1595 AlertType alertType, CFStringRef error,
1596 CFStringRef explanation,
1627 ModalFilterUPP filterProc,
1628 DialogItemIndex *outItemHit);
1681 AlertType alertType, CFStringRef error,
1682 CFStringRef explanation,
1684 EventTargetRef notifyTarget,
DialogRef *outSheet);
1789 UInt32 inSecondsToWait);
1801 UInt32 *outSecondsToWait, UInt32 *outSecondsRemaining);
1841 #if !OPAQUE_TOOLBOX_STRUCTS && !ACCESSOR_CALLS_ARE_FUNCTIONS
1848 #define GetDialogWindow(dialog) ((WindowRef)dialog)
1862 #if !OPAQUE_TOOLBOX_STRUCTS && !ACCESSOR_CALLS_ARE_FUNCTIONS
1869 #define GetDialogTextEditHandle(dialog) (((DialogPeek)dialog)->textH)
1883 #if !OPAQUE_TOOLBOX_STRUCTS && !ACCESSOR_CALLS_ARE_FUNCTIONS
1890 #define GetDialogDefaultItem(dialog) (((DialogPeek)dialog)->aDefItem)
1904 #if !OPAQUE_TOOLBOX_STRUCTS && !ACCESSOR_CALLS_ARE_FUNCTIONS
1911 #define GetDialogCancelItem(dialog) (((DialogPeek)dialog)->editOpen)
1925 #if !OPAQUE_TOOLBOX_STRUCTS && !ACCESSOR_CALLS_ARE_FUNCTIONS
1931 : (short)(((
DialogPeek)dialog)->editField + 1);
1934 #define GetDialogKeyboardFocusItem(dialog) \
1935 (((DialogPeek)dialog)->editField < 0 \
1937 : (short)(((DialogPeek)dialog)->editField + 1))
1951 #if !OPAQUE_TOOLBOX_STRUCTS && !ACCESSOR_CALLS_ARE_FUNCTIONS
1958 #define SetPortDialogPort(dialog) (MacSetPort((GrafPtr)dialog))
1972 #if !OPAQUE_TOOLBOX_STRUCTS && !ACCESSOR_CALLS_ARE_FUNCTIONS
1979 #define GetDialogPort(dialog) ((CGrafPtr)dialog)
1993 #if !OPAQUE_TOOLBOX_STRUCTS && !ACCESSOR_CALLS_ARE_FUNCTIONS
2000 #define GetDialogFromWindow(window) ((DialogRef)window)
2004 #if CALL_NOT_IN_CARBON
2052 #define DisposDialog(theDialog) DisposeDialog(theDialog)
2053 #define UpdtDialog(theDialog, updateRgn) UpdateDialog(theDialog, updateRgn)
2054 #define GetDItem(theDialog, itemNo, itemType, item, box) \
2055 GetDialogItem(theDialog, itemNo, itemType, item, box)
2056 #define SetDItem(theDialog, itemNo, itemType, item, box) \
2057 SetDialogItem(theDialog, itemNo, itemType, item, box)
2058 #define HideDItem(theDialog, itemNo) HideDialogItem(theDialog, itemNo)
2059 #define ShowDItem(theDialog, itemNo) ShowDialogItem(theDialog, itemNo)
2060 #define SelIText(theDialog, itemNo, strtSel, endSel) \
2061 SelectDialogItemText(theDialog, itemNo, strtSel, endSel)
2062 #define GetIText(item, text) GetDialogItemText(item, text)
2063 #define SetIText(item, text) SetDialogItemText(item, text)
2064 #define FindDItem(theDialog, thePt) FindDialogItem(theDialog, thePt)
2065 #define NewCDialog(dStorage, boundsRect, title, visible, procID, behind, \
2066 goAwayFlag, refCon, items) \
2067 NewColorDialog(dStorage, boundsRect, title, visible, procID, behind, \
2068 goAwayFlag, refCon, items)
2069 #define GetAlrtStage() GetAlertStage()
2070 #define ResetAlrtStage() ResetAlertStage()
2071 #define DlgCut(theDialog) DialogCut(theDialog)
2072 #define DlgPaste(theDialog) DialogPaste(theDialog)
2073 #define DlgCopy(theDialog) DialogCopy(theDialog)
2074 #define DlgDelete(theDialog) DialogDelete(theDialog)
2075 #define SetDAFont(fontNum) SetDialogFont(fontNum)
2076 #define SetGrafPortOfDialog(dialog) SetPortDialogPort(dialog)
2078 #define newcdialog(dStorage, boundsRect, title, visible, procID, behind, \
2079 goAwayFlag, refCon, items) \
2080 newcolordialog(dStorage, boundsRect, title, visible, procID, behind, \
2081 goAwayFlag, refCon, items)
2082 #define getitext(item, text) getdialogitemtext(item, text)
2083 #define setitext(item, text) setdialogitemtext(item, text)
2084 #define findditem(theDialog, thePt) finddialogitem(theDialog, thePt)
2091 #if PRAGMA_STRUCT_ALIGN
2092 #pragma options align = reset
2093 #elif PRAGMA_STRUCT_PACKPUSH
2095 #elif PRAGMA_STRUCT_PACK
2099 #ifdef PRAGMA_IMPORT_OFF
2102 #pragma import reset
2113 #if PRAGMA_STRUCT_ALIGN
2114 #pragma options align = reset
2115 #elif PRAGMA_STRUCT_PACKPUSH
2117 #elif PRAGMA_STRUCT_PACK
2121 #ifdef PRAGMA_IMPORT_OFF
2124 #pragma import reset
Control Manager interfaces.
#define NewUserItemUPP(userRoutine)
Definition: Dialogs.h:326
typedef CALLBACK_API_C(void, QTModelessCallbackProcPtr)(EventRecord *theEvent
DialogItemIndexZeroBased finddialogitem(DialogRef theDialog, Point *thePt)
void ParamText(ConstStr255Param param0, ConstStr255Param param1, ConstStr255Param param2, ConstStr255Param param3)
OSStatus CreateStandardSheet(AlertType alertType, CFStringRef error, CFStringRef explanation, const AlertStdCFStringAlertParamRec *param, EventTargetRef notifyTarget, DialogRef *outSheet)
SInt16 GetDialogCancelItem(DialogRef dialog)
Boolean InvokeModalFilterUPP(DialogRef theDialog, EventRecord *theEvent, DialogItemIndex *itemHit, ModalFilterUPP userUPP)
void InitDialogs(void *ignored)
Initialize before using Dialog Manager functions.
@ kAlertStopAlert
Definition: Dialogs.h:612
void DrawDialog(DialogRef theDialog)
void SetDialogFont(SInt16 fontNum)
OSErr MoveDialogItem(DialogRef inDialog, SInt16 inItemNo, SInt16 inHoriz, SInt16 inVert)
DialogRef NewDialog(void *dStorage, const Rect *boundsRect, ConstStr255Param title, Boolean visible, SInt16 procID, WindowRef behind, Boolean goAwayFlag, SInt32 refCon, Handle items)
Boolean StdFilterProc(DialogRef theDialog, EventRecord *event, DialogItemIndex *itemHit)
void FreeAlert(SInt16 alertID)
OSErr SetDialogCancelItem(DialogRef theDialog, DialogItemIndex newItem)
SetDialogCancelItem Tell Dialog Mgr which item should be default cancel item.
OSStatus InsertDialogItem(DialogRef theDialog, DialogItemIndex afterItem, DialogItemType itemType, Handle itemHandle, const Rect *box)
@ kAlertFlagsUseThemeBackground
Definition: Dialogs.h:647
void SetDialogItemText(Handle item, ConstStr255Param text)
void HideDialogItem(DialogRef theDialog, DialogItemIndex itemNo)
void DisposeSoundUPP(SoundUPP userUPP)
void CouldAlert(SInt16 alertID)
#define NewModalFilterUPP(userRoutine)
Definition: Dialogs.h:267
OSErr StandardAlert(AlertType inAlertType, ConstStr255Param inError, ConstStr255Param inExplanation, const AlertStdAlertParamRec *inAlertParam, SInt16 *outItemHit)
OSStatus GetModalDialogEventMask(DialogRef inDialog, EventMask *outMask)
void UpdateDialog(DialogRef theDialog, RgnHandle updateRgn)
#define NewModalFilterYDUPP(userRoutine)
Definition: Dialogs.h:297
void DialogPaste(DialogRef theDialog)
void ShortenDITL(DialogRef theDialog, DialogItemIndex numberItems)
OSStatus RunStandardAlert(DialogRef inAlert, ModalFilterUPP filterProc, DialogItemIndex *outItemHit)
void ShowDialogItem(DialogRef theDialog, DialogItemIndex itemNo)
void GetParamText(StringPtr param0, StringPtr param1, StringPtr param2, StringPtr param3)
typedef CALLBACK_API(void, SoundProcPtr)(SInt16 soundNumber)
@ kAlertDefaultCancelText
Definition: Dialogs.h:622
@ kAlertDefaultOtherText
Definition: Dialogs.h:623
void DisposeModalFilterUPP(ModalFilterUPP userUPP)
TEHandle GetDialogTextEditHandle(DialogRef dialog)
OSErr GetDialogControlNotificationProc(void *theProc)
void AppendDITL(DialogRef theDialog, Handle theHandle, DITLMethod method)
void DialogDelete(DialogRef theDialog)
DialogItemIndex Alert(SInt16 alertID, ModalFilterUPP modalFilter)
OSStatus CreateStandardAlert(AlertType alertType, CFStringRef error, CFStringRef explanation, const AlertStdCFStringAlertParamRec *param, DialogRef *outAlert)
Boolean IsDialogEvent(const EventRecord *theEvent)
Check if an event belongs to a dialog window.
void SetModelessDialogCallbackProc(DialogRef theDialog, QTModelessCallbackProcPtr callbackProc)
OSStatus SetModalDialogEventMask(DialogRef inDialog, EventMask inMask)
DialogPtr DialogRef
Definition: Dialogs.h:154
QTModelessCallbackProcPtr QTModelessCallbackUPP
Definition: Dialogs.h:565
OSStatus RemoveDialogItems(DialogRef theDialog, DialogItemIndex itemNo, DialogItemIndex amountToRemove, Boolean disposeItemData)
void getdialogitemtext(Handle item, char *text)
@ ok
Definition: Dialogs.h:113
@ kStdOkItemIndex
Definition: Dialogs.h:111
void paramtext(const char *param0, const char *param1, const char *param2, const char *param3)
DialogItemIndex CautionAlert(SInt16 alertID, ModalFilterUPP modalFilter)
SInt16 DialogItemIndexZeroBased
Definition: Dialogs.h:195
void SetDialogItem(DialogRef theDialog, DialogItemIndex itemNo, DialogItemType itemType, Handle item, const Rect *box)
@ kControlDialogItem
Definition: Dialogs.h:78
void InvokeUserItemUPP(DialogRef theDialog, DialogItemIndex itemNo, UserItemUPP userUPP)
OSStatus CloseStandardSheet(DialogRef inSheet, UInt32 inResultCommand)
OSStatus SetDialogTimeout(DialogRef inDialog, SInt16 inButtonToPress, UInt32 inSecondsToWait)
OSErr SizeDialogItem(DialogRef inDialog, SInt16 inItemNo, SInt16 inWidth, SInt16 inHeight)
DialogRef NewFeaturesDialog(void *inStorage, const Rect *inBoundsRect, ConstStr255Param inTitle, Boolean inIsVisible, SInt16 inProcID, WindowRef inBehind, Boolean inGoAwayFlag, SInt32 inRefCon, Handle inItemListHandle, UInt32 inFlags)
OSErr GetStdFilterProc(ModalFilterUPP *theProc)
GetStdFilterProc Get a pointer to the Dialog Manager's standard dialog filter.
@ ctrlItem
Definition: Dialogs.h:95
DialogRef newdialog(void *dStorage, const Rect *boundsRect, const char *title, Boolean visible, SInt16 procID, WindowRef behind, Boolean goAwayFlag, SInt32 refCon, Handle items)
void InvokeSoundUPP(SInt16 soundNumber, SoundUPP userUPP)
void ResetAlertStage(void)
@ stopIcon
Definition: Dialogs.h:123
@ kStopIcon
Definition: Dialogs.h:120
void DisposeUserItemUPP(UserItemUPP userUPP)
void FreeDialog(SInt16 dialogID)
void SetPortDialogPort(DialogRef dialog)
Boolean DialogSelect(const EventRecord *theEvent, DialogRef *theDialog, DialogItemIndex *itemHit)
OSErr GetDialogItemAsControl(DialogRef inDialog, SInt16 inItemNo, ControlRef *outControl)
DialogRef NewColorDialog(void *dStorage, const Rect *boundsRect, ConstStr255Param title, Boolean visible, SInt16 procID, WindowRef behind, Boolean goAwayFlag, SInt32 refCon, Handle items)
OSErr SetDialogDefaultItem(DialogRef theDialog, DialogItemIndex newItem)
SetDialogDefaultItem Tell Dialog Mgr which item in dialog should be default item.
SInt16 DITLMethod
Definition: Dialogs.h:144
void SetDialogMovableModal(DialogRef theDialog)
#define GetDialogFromWindow(window)
Definition: Dialogs.h:2000
void setdialogitemtext(Handle item, const char *text)
Handle mySound
Set up to use non-standard sounds for alerts.
Definition: Dialogs.h:832
DialogRef GetNewDialog(SInt16 dialogID, void *dStorage, WindowRef behind)
void GetDialogItemText(Handle item, Str255 text)
Boolean InvokeModalFilterYDUPP(DialogRef theDialog, EventRecord *theEvent, short *itemHit, void *yourDataPtr, ModalFilterYDUPP userUPP)
@ kStdAlertDoNotAnimateOnDefault
Definition: Dialogs.h:725
@ kStdAlertDoNotDisposeSheet
Definition: Dialogs.h:718
@ kStdAlertDoNotAnimateOnOther
Definition: Dialogs.h:739
@ kStdAlertDoNotAnimateOnCancel
Definition: Dialogs.h:732
CGrafPtr GetDialogPort(DialogRef dialog)
OSErr AutoSizeDialog(DialogRef inDialog)
void DialogCopy(DialogRef theDialog)
void DialogCut(DialogRef theDialog)
void SelectDialogItemText(DialogRef theDialog, DialogItemIndex itemNo, SInt16 strtSel, SInt16 endSel)
WindowRef GetDialogWindow(DialogRef dialog)
DialogItemIndex CountDITL(DialogRef theDialog)
@ kDialogFlagsUseThemeBackground
Definition: Dialogs.h:638
SInt16 GetDialogKeyboardFocusItem(DialogRef dialog)
OSErr AppendDialogItemList(DialogRef dialog, SInt16 ditlID, DITLMethod method)
void GetDialogItem(DialogRef theDialog, DialogItemIndex itemNo, DialogItemType *itemType, Handle *item, Rect *box)
OSStatus GetDialogTimeout(DialogRef inDialog, SInt16 *outButtonToPress, UInt32 *outSecondsToWait, UInt32 *outSecondsRemaining)
DialogItemIndex NoteAlert(SInt16 alertID, ModalFilterUPP modalFilter)
void CouldDialog(SInt16 dialogID)
DialogRef newcolordialog(void *dStorage, const Rect *boundsRect, const char *title, Boolean visible, SInt16 procID, WindowRef behind, Boolean goAwayFlag, SInt32 refCon, Handle items)
OSErr SetDialogTracksCursor(DialogRef theDialog, Boolean tracks)
void * GetDialogParent(DialogRef theDialog)
#define NewSoundUPP(userRoutine)
Definition: Dialogs.h:237
DialogItemIndexZeroBased FindDialogItem(DialogRef theDialog, Point thePt)
SInt16 GetDialogDefaultItem(DialogRef dialog)
void ModalDialog(ModalFilterUPP modalFilter, DialogItemIndex *itemHit)
void CloseDialog(DialogRef theDialog)
SInt16 GetAlertStage(void)
OSStatus GetStandardAlertDefaultParams(AlertStdCFStringAlertParamPtr param, UInt32 version)
void DisposeDialog(DialogRef theDialog)
void DisposeModalFilterYDUPP(ModalFilterYDUPP userUPP)
DialogItemIndex StopAlert(SInt16 alertID, ModalFilterUPP modalFilter)
Event Manager Interfaces.
err
Select a new default volume or working directory.
Definition: Files.h:2312
void HUnlock(Handle h)
Unlock a handle's data (allowing it to be moved)
Basic Macintosh data types.
unsigned char * StringPtr
Definition: MacTypes.h:477
unsigned char Boolean
Definition: MacTypes.h:318
Window Manager Interfaces.
Mixed Mode Manager Interfaces.
void DisposeRoutineDescriptor(UniversalProcPtr theUPP)
#define STACK_UPP_TYPE(name)
Definition: MixedMode.h:734
UniversalProcPtr NewRoutineDescriptor(ProcPtr theProc, ProcInfoType theProcInfo, ISAType theISA)
void MacSetPort(GrafPtr port)
TQAMethodSelector
Definition: RAVE.h:1009
Handle GetResource(ResType theType, short theID)
OSErr SndDisposeChannel(SndChannelPtr chan, Boolean quietNow)
OSErr SndNewChannel(SndChannelPtr *chan, short synth, long init, SndCallBackUPP userRoutine)
OSErr SndPlay(SndChannelPtr chan, SndListHandle sndHandle, Boolean async)
Definition: Dialogs.h:678
SInt16 cancelButton
Definition: Dialogs.h:686
SInt16 defaultButton
Definition: Dialogs.h:685
ConstStringPtr otherText
Definition: Dialogs.h:684
ConstStringPtr cancelText
Definition: Dialogs.h:683
ConstStringPtr defaultText
Definition: Dialogs.h:682
UInt16 position
Definition: Dialogs.h:687
Boolean helpButton
Definition: Dialogs.h:680
ModalFilterUPP filterProc
Definition: Dialogs.h:681
Definition: Dialogs.h:743
CFStringRef cancelText
Definition: Dialogs.h:748
CFStringRef defaultText
Definition: Dialogs.h:747
SInt16 defaultButton
Definition: Dialogs.h:750
CFStringRef otherText
Definition: Dialogs.h:749
Boolean helpButton
Definition: Dialogs.h:746
OptionBits flags
Definition: Dialogs.h:754
SInt16 cancelButton
Definition: Dialogs.h:751
Boolean movable
Definition: Dialogs.h:745
UInt16 position
Definition: Dialogs.h:752
Definition: Dialogs.h:186
Definition: Quickdraw.h:2261
Definition: Controls.h:165
Definition: Dialogs.h:157
SInt16 editOpen
Definition: Dialogs.h:163
SInt16 aDefItem
Definition: Dialogs.h:164
SInt16 editField
Definition: Dialogs.h:161
Handle items
Definition: Dialogs.h:159
TEHandle textH
Definition: Dialogs.h:160
Definition: Dialogs.h:171
Definition: Quickdraw.h:1648
Definition: Quickdraw.h:306
Definition: MacTypes.h:520
Definition: MacTypes.h:527
Definition: TextEdit.h:272
Definition: MacWindows.h:754