Important: The information in this document is obsolete and should not be used for new development.
DialogCopy
When a dialog box containing an editable text item is active, use theDialogCopyprocedure to handle the Copy editing command. TheDialogCopyprocedure is also available as theDlgCopyprocedure.
PROCEDURE DialogCopy (theDialog: DialogPtr);
theDialog- A pointer to a dialog record.
DESCRIPTION
TheDialogCopyprocedure checks whether the dialog box has any editable text items and, if so, applies the TextEdit procedureTECopyto the selected text. Your application should test whether a dialog box is the frontmost window when handling mouse-down events in the Edit menu and then call this routine when appropriate.SEE ALSO
For more information about allowing access to your menus when your application displays dialog boxes, see "Adjusting Menus for Modal Dialog Boxes" beginning on page 6-68 and "Adjusting Menus for Movable Modal and Modeless Dialog Boxes" on page 6-73. TheTECopyprocedure is described in the chapter "TextEdit" in Inside Macintosh: Text.